[Verizon Samsung Galaxy S 4] Gunthermic:
Okay, alot of dev's/themers been looking for this one...

If you use, please give credit, I spent many hours finding this Mod... Dont take credit for someone else's work...

This Mod will allow you to change the Samsung KeyBoard Swipe Color..(SamsungIME.apk)

Look for:

smali\com\diotek\ime\framework\view\AbstractKeyBoardView.smali

Search for -> .method private setTracePaintOptionsWithSettings()V

Click to see Org Code

.method private setTracePaintOptionsWithSettings()V
.locals 5

.prologue
const/16 v4, 0xff

const/4 v1, 0x1

const/4 v3, 0x0

.line 9829
iget-object v0, p0, Lcom/diotek/ime/framework/view/AbstractKeyboardView;->mTracePaint:Landroid/graphics/Paint;

if-nez v0, :cond_0

.line 9830
new-instance v0, Landroid/graphics/Paint;

invoke-direct {v0}, Landroid/graphics/Paint;-><init>()V

iput-object v0, p0, Lcom/diotek/ime/framework/view/AbstractKeyboardView;->mTracePaint:Landroid/graphics/Paint;

.line 9832
:cond_0
iget-object v0, p0, Lcom/diotek/ime/framework/view/AbstractKeyboardView;->mTracePoint:Ljava/util/ArrayList;

if-eqz v0, :cond_1

.line 9833
iget-object v0, p0, Lcom/diotek/ime/framework/view/AbstractKeyboardView;->mTracePoint:Ljava/util/ArrayList;

invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

.line 9835
:cond_1
iput-short v3, p0, Lcom/diotek/ime/framework/view/AbstractKeyboardView;->mTracePointCount:S

.line 9836
iget-object v0, p0, Lcom/diotek/ime/framework/view/AbstractKeyboardView;->mTracePaint:Landroid/graphics/Paint;

invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setAntiAlias(Z)V

.line 9837
iget-object v0, p0, Lcom/diotek/ime/framework/view/AbstractKeyboardView;->mTracePaint:Landroid/graphics/Paint;

invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setDither(Z)V

.line 9838
iget-object v0, p0, Lcom/diotek/ime/framework/view/AbstractKeyboardView;->mTracePaint:Landroid/graphics/Paint;

const/16 v1, 0xa5

const/16 v2, 0xf3

invoke-static {v4, v3, v1, v2}, Landroid/graphics/Color;->argb(IIII)I

Click to see what to change:

.method private setTracePaintOptionsWithSettings()V
.locals 5

.prologue
const/16 v4, [B][U][COLOR="Blue"]0xff[/COLOR][/U][/B] [B][COLOR="seagreen"]Change for Alpha Value - "0xff" [/COLOR][/B]

const/4 v1, 0x1

const/4 v3, [B][U][COLOR="Blue"]0x0[/COLOR][/U][/B] [B][COLOR="seaGreen"] - Change for Red Value - "0x0"[/COLOR][/B]

.line 9829
iget-object v0, p0, Lcom/diotek/ime/framework/view/AbstractKeyboardView;->mTracePaint:Landroid/graphics/Paint;

if-nez v0, :cond_0

.line 9830
new-instance v0, Landroid/graphics/Paint;

invoke-direct {v0}, Landroid/graphics/Paint;-><init>()V

iput-object v0, p0, Lcom/diotek/ime/framework/view/AbstractKeyboardView;->mTracePaint:Landroid/graphics/Paint;

.line 9832
:cond_0
iget-object v0, p0, Lcom/diotek/ime/framework/view/AbstractKeyboardView;->mTracePoint:Ljava/util/ArrayList;

if-eqz v0, :cond_1

.line 9833
iget-object v0, p0, Lcom/diotek/ime/framework/view/AbstractKeyboardView;->mTracePoint:Ljava/util/ArrayList;

invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

.line 9835
:cond_1
iput-short v3, p0, Lcom/diotek/ime/framework/view/AbstractKeyboardView;->mTracePointCount:S

.line 9836
iget-object v0, p0, Lcom/diotek/ime/framework/view/AbstractKeyboardView;->mTracePaint:Landroid/graphics/Paint;

invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setAntiAlias(Z)V

.line 9837
iget-object v0, p0, Lcom/diotek/ime/framework/view/AbstractKeyboardView;->mTracePaint:Landroid/graphics/Paint;

invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setDither(Z)V

.line 9838
iget-object v0, p0, Lcom/diotek/ime/framework/view/AbstractKeyboardView;->mTracePaint:Landroid/graphics/Paint;

const/16 v1, [B][U][COLOR="Blue"]0xa5[/COLOR][/U][/B] [COLOR="seagreen"]- Change for Green Value - "0xa5"[/COLOR]

const/16 v2, [B][U][COLOR="Blue"]0xf3[/COLOR][/U][/B] [COLOR="seagreen"] - Change for Blue Value - "0xf3"[/COLOR]

invoke-static {v4, v3, v1, v2}, Landroid/graphics/Color;->argb(IIII)I

So what it boils down to is that the Swipe Color is what we call RGB color coding. I suggest a site like this to see values you can use:

Hex to RGB Color converter

Thats it folks.. swipe color squashed!!!!

Verified to work on N3 KeyBoards

A Little clarification on Instructions.

I was swamped with questions on how to edit and such.. So with [MENTION=912863]strongsteve[/MENTION] help we dug more and here is an easier way to get your colors instead of trying to use RGB values..

change code:

const/16 v1, 0xa5

const/16 v2, 0xf3

to

const v3, 0x33

const v1, 0x66

const v2, 0xcc

Then just use any normal Hex Color code you would normally use!!!

In the above example I used 3366cc which is DarkHorse Blue..

I hope that helps