[Galaxy S II Themes and Apps] massinegro204:
Hi, I would like your help regarding a free application in the market. I would like to change the color blue and make the background transparent, but I do not know how to do ...... can you help me?

I am sure that in this smali are the colors and the background to my interests. I can help someone find these values :

.class public Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;

.super Landroid/view/View;

.source "SpectrumAnalyzerView.java"

# interfaces

.implements Landroid/media/audiofx/Visualizer$OnDataCaptureListener;

.implements Landroid/view/View$OnLongClickListener;

# static fields

.field private static final ALPHA:I = 0x18

.field private static final BACKGROUND:I = 0x0

.field private static final BLUE:I = 0x0

.field private static final COLORS:[[I = null

.field private static final FFT_CHANNELS:I = 0x28

.field private static final GREEN:I = 0x8

.field private static final LEDS_COUNT:I = 0x40

.field private static final LED_LEVEL:I = 0x2

.field private static final LED_PEAK:I = 0x4

.field private static final MAX_MDB:I = 0xc350

.field private static final RED:I = 0x10

.field private static animation:I

.field private static theme:I

# instance fields

.field private bands:[Lsk/bielyvlk/spectrumanalyzer/Band;

.field private captureSize:I

.field private logMax:F

.field private visualizer:Landroid/media/audiofx/Visualizer;

# direct methods

.method static constructor <clinit>()V

.locals 5

.prologue

const/4 v4, 0x6

const/4 v3, 0x0

.line 47

const/4 v0, 0x3

new-array v0, v0, [[I

.line 49

new-array v1, v4, [I

fill-array-data v1, :array_0

aput-object v1, v0, v3

const/4 v1, 0x1

.line 50

new-array v2, v4, [I

fill-array-data v2, :array_1

aput-object v2, v0, v1

const/4 v1, 0x2

.line 51

new-array v2, v4, [I

fill-array-data v2, :array_2

aput-object v2, v0, v1

.line 47

sput-object v0, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->COLORS:[[I

.line 54

sput v3, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->theme:I

.line 55

sput v3, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->animation:I

.line 11

return-void

.line 49

nop

:array_0

.array-data 0x4

0x0t 0x0t 0x0t 0xfft

0x0t 0x0t 0x0t 0xfft

0xcct 0x99t 0x0t 0xfft

0xcct 0x99t 0x0t 0xfft

0xe5t 0xb5t 0x33t 0xfft

0xe5t 0xb5t 0x33t 0xfft

.end array-data

.line 50

:array_1

.array-data 0x4

0x0t 0x0t 0x0t 0xfft

0x0t 0x0t 0x0t 0xfft

0x0t 0x99t 0x66t 0xfft

0x0t 0x99t 0x66t 0xfft

0x0t 0xcct 0x99t 0xfft

0x0t 0xcct 0x99t 0xfft

.end array-data

.line 51

:array_2

.array-data 0x4

0x0t 0x0t 0x0t 0xfft

0x0t 0x0t 0x0t 0xfft

0x0t 0x88t 0xfft 0xfft

0x0t 0x88t 0xfft 0xfft

0x33t 0xbbt 0xfft 0xfft

0x33t 0xbbt 0xfft 0xfft

.end array-data

.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

.locals 4

.parameter "context"

.parameter "attrs"

.prologue

const/16 v3, 0x28

.line 24

invoke-direct {p0, p1, p2}, Landroid/view/View;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

.line 18

new-array v1, v3, [Lsk/bielyvlk/spectrumanalyzer/Band;

iput-object v1, p0, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->bands:[Lsk/bielyvlk/spectrumanalyzer/Band;

.line 25

const/4 v0, 0x0

.local v0, i:I

:goto_0

if-lt v0, v3, :cond_0

.line 28

invoke-virtual {p0, p0}, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->setOnLongClickListener(Landroid/view/View$OnLongClickListener;)V

.line 29

return-void

.line 26

:cond_0

iget-object v1, p0, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->bands:[Lsk/bielyvlk/spectrumanalyzer/Band;

aget-object v1, v1, v0

if-nez v1, :cond_1

iget-object v1, p0, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->bands:[Lsk/bielyvlk/spectrumanalyzer/Band;

new-instance v2, Lsk/bielyvlk/spectrumanalyzer/Band;

invoke-direct {v2}, Lsk/bielyvlk/spectrumanalyzer/Band;-><init>()V

aput-object v2, v1, v0

.line 25

:cond_1

add-int/lit8 v0, v0, 0x1

goto :goto_0

.end method

.method private calcSubColor(IFI)I

.locals 4

.parameter "type"

.parameter "possition"

.parameter "component"

.prologue

.line 72

sget-object v2, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->COLORS:[[I

sget v3, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->theme:I

aget-object v2, v2, v3

aget v2, v2, p1

invoke-direct {p0, v2, p3}, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->getByte(II)I

move-result v0

.line 73

.local v0, color1:I

sget-object v2, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->COLORS:[[I

sget v3, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->theme:I

aget-object v2, v2, v3

add-int/lit8 v3, p1, 0x1

aget v2, v2, v3

invoke-direct {p0, v2, p3}, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->getByte(II)I

move-result v1

.line 74

.local v1, color2:I

sub-int v2, v1, v0

int-to-float v2, v2

mul-float/2addr v2, p2

float-to-int v2, v2

add-int/2addr v2, v0

return v2

.end method

.method private getByte(II)I

.locals 1

.parameter "value"

.parameter "component"

.prologue

.line 68

shr-int v0, p1, p2

and-int/lit16 v0, v0, 0xff

return v0

.end method

.method private getColor(I)I

.locals 2

.parameter "type"

.prologue

.line 78

sget-object v0, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->COLORS:[[I

sget v1, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->theme:I

aget-object v0, v0, v1

aget v0, v0, p1

return v0

.end method

.method private getColor(IF)I

.locals 6

.parameter "type"

.parameter "possition"

.prologue

.line 82

const/4 v4, 0x0

cmpg-float v4, p2, v4

if-gtz v4, :cond_0

.line 83

invoke-direct {p0, p1}, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->getColor(I)I

move-result v4

.line 91

:goto_0

return v4

.line 84

:cond_0

const/high16 v4, 0x3f80

cmpl-float v4, p2, v4

if-ltz v4, :cond_1

.line 85

add-int/lit8 v4, p1, 0x1

invoke-direct {p0, v4}, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->getColor(I)I

move-result v4

goto :goto_0

.line 87

:cond_1

const/16 v4, 0x18

invoke-direct {p0, p1, p2, v4}, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->calcSubColor(IFI)I

move-result v0

.line 88

.local v0, alpha:I

const/16 v4, 0x10

invoke-direct {p0, p1, p2, v4}, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->calcSubColor(IFI)I

move-result v3

.line 89

.local v3, red:I

const/16 v4, 0x8

invoke-direct {p0, p1, p2, v4}, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->calcSubColor(IFI)I

move-result v2

.line 90

.local v2, green:I

const/4 v4, 0x0

invoke-direct {p0, p1, p2, v4}, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->calcSubColor(IFI)I

move-result v1

.line 91

.local v1, blue:I

shl-int/lit8 v4, v0, 0x18

shl-int/lit8 v5, v3, 0x10

or-int/2addr v4, v5

shl-int/lit8 v5, v2, 0x8

or-int/2addr v4, v5

or-int/2addr v4, v1

goto :goto_0

.end method

# virtual methods

.method public draw(Landroid/graphics/Canvas;)V

.locals 22

.parameter "canvas"

.prologue

.line 105

const/4 v1, 0x0

move-object/from16 v0, p0

invoke-direct {v0, v1}, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->getColor(I)I

move-result v1

move-object/from16 v0, p1

invoke-virtual {v0, v1}, Landroid/graphics/Canvas;->drawColor(I)V

.line 106

new-instance v6, Landroid/graphics/Paint;

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

.line 107

.local v6, paintLevel:Landroid/graphics/Paint;

const/4 v1, 0x2

move-object/from16 v0, p0

invoke-direct {v0, v1}, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->getColor(I)I

move-result v1

invoke-virtual {v6, v1}, Landroid/graphics/Paint;->setColor(I)V

.line 108

new-instance v12, Landroid/graphics/Paint;

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

.line 109

.local v12, paintPeak:Landroid/graphics/Paint;

const/4 v1, 0x4

move-object/from16 v0, p0

invoke-direct {v0, v1}, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->getColor(I)I

move-result v1

invoke-virtual {v12, v1}, Landroid/graphics/Paint;->setColor(I)V

.line 111

invoke-virtual/range {p0 .. p0}, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->getWidth()I

move-result v21

.line 112

.local v21, width:I

invoke-virtual/range {p0 .. p0}, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->getHeight()I

move-result v13

.line 114

.local v13, height:I

div-int/lit8 v17, v21, 0x28

.line 115

.local v17, ledWidth:I

div-int/lit8 v16, v13, 0x40

.line 117

.local v16, ledHeight:I

div-int v18, v13, v16

.line 119

.local v18, ledsCount:I

const/4 v14, 0x0

.local v14, i:I

:goto_0

const/16 v1, 0x28

if-lt v14, v1, :cond_0

.line 139

return-void

.line 120

:cond_0

mul-int v1, v14, v17

int-to-float v2, v1

.line 121

.local v2, x1:F

move/from16 v0, v17

int-to-float v1, v0

add-float/2addr v1, v2

const/high16 v7, 0x3f80

sub-float v4, v1, v7

.line 122

.local v4, x2:F

move-object/from16 v0, p0

iget-object v1, v0, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->bands:[Lsk/bielyvlk/spectrumanalyzer/Band;

aget-object v1, v1, v14

invoke-virtual {v1}, Lsk/bielyvlk/spectrumanalyzer/Band;->getLevel()I

move-result v1

mul-int v1, v1, v18

const v7, 0xc350

div-int v19, v1, v7

.line 123

.local v19, level:I

move-object/from16 v0, p0

iget-object v1, v0, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->bands:[Lsk/bielyvlk/spectrumanalyzer/Band;

aget-object v1, v1, v14

invoke-virtual {v1}, Lsk/bielyvlk/spectrumanalyzer/Band;->getLevelPeak()I

move-result v1

mul-int v1, v1, v18

const v7, 0xc350

div-int v20, v1, v7

.line 124

.local v20, levelPeak:I

const/4 v15, 0x0

.local v15, j:I

:goto_1

move/from16 v0, v20

if-le v15, v0, :cond_1

.line 119

add-int/lit8 v14, v14, 0x1

goto :goto_0

.line 129

:cond_1

sub-int v1, v18, v15

mul-int v1, v1, v16

int-to-float v3, v1

.line 130

.local v3, y1:F

add-int/lit8 v1, v16, -0x1

int-to-float v1, v1

sub-float v5, v3, v1

.line 131

.local v5, y2:F

move/from16 v0, v19

if-gt v15, v0, :cond_2

move-object/from16 v1, p1

.line 132

invoke-virtual/range {v1 .. v6}, Landroid/graphics/Canvas;->drawRect(FFFFLandroid/graphics/Paint;)V

.line 134

:cond_2

move/from16 v0, v20

if-ne v15, v0, :cond_3

move-object/from16 v7, p1

move v8, v2

move v9, v3

move v10, v4

move v11, v5

.line 135

invoke-virtual/range {v7 .. v12}, Landroid/graphics/Canvas;->drawRect(FFFFLandroid/graphics/Paint;)V

.line 124

:cond_3

add-int/lit8 v15, v15, 0x1

goto :goto_1

.end method

.method public onFftDataCapture(Landroid/media/audiofx/Visualizer;[BI)V

.locals 10

.parameter "visualizer"

.parameter "fft"

.parameter "samplingRate"

.prologue

const/16 v9, 0x28

.line 154

sget v3, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->animation:I

if-ge v3, v9, :cond_0

.line 155

iget-object v3, p0, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->bands:[Lsk/bielyvlk/spectrumanalyzer/Band;

sget v4, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->animation:I

add-int/lit8 v5, v4, 0x1

sput v5, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->animation:I

aget-object v3, v3, v4

const/16 v4, 0x61a8

invoke-virtual {v3, v4}, Lsk/bielyvlk/spectrumanalyzer/Band;->setLevel(I)V

.line 157

:cond_0

const/4 v1, 0x2

.line 158

.local v1, j:I

const/4 v0, 0x0

.local v0, i:I

:goto_0

if-lt v0, v9, :cond_2

.line 164

const/4 v0, 0x0

:goto_1

if-lt v0, v9, :cond_3

.line 167

invoke-virtual {p0}, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->invalidate()V

.line 168

return-void

.line 160

:cond_1

iget-object v3, p0, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->bands:[Lsk/bielyvlk/spectrumanalyzer/Band;

aget-object v3, v3, v0

add-int/lit8 v2, v1, 0x1

.end local v1 #j:I

.local v2, j:I

aget-byte v4, p2, v1

add-int/lit8 v1, v2, 0x1

.end local v2 #j:I

.restart local v1 #j:I

aget-byte v5, p2, v2

invoke-virtual {v3, v4, v5}, Lsk/bielyvlk/spectrumanalyzer/Band;->add(BB)V

.line 161

add-int/lit8 v3, v1, -0x2

div-int/lit8 v3, v3, 0x2

int-to-double v3, v3

const-wide/high16 v5, 0x4024

int-to-float v7, v0

iget v8, p0, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->logMax:F

mul-float/2addr v7, v8

float-to-double v7, v7

invoke-static {v5, v6, v7, v8}, Ljava/lang/Math;->pow(DD)D

move-result-wide v5

cmpl-double v3, v3, v5

if-ltz v3, :cond_2

.line 158

:goto_2

add-int/lit8 v0, v0, 0x1

goto :goto_0

.line 159

:cond_2

iget v3, p0, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->captureSize:I

if-lt v1, v3, :cond_1

goto :goto_2

.line 165

:cond_3

iget-object v3, p0, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->bands:[Lsk/bielyvlk/spectrumanalyzer/Band;

aget-object v3, v3, v0

invoke-virtual {v3}, Lsk/bielyvlk/spectrumanalyzer/Band;->calculate()V

.line 164

add-int/lit8 v0, v0, 0x1

goto :goto_1

.end method

.method public onLongClick(Landroid/view/View;)Z

.locals 2

.parameter "v"

.prologue

.line 96

sget v0, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->theme:I

add-int/lit8 v0, v0, 0x1

sput v0, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->theme:I

.line 97

sget v0, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->theme:I

sget-object v1, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->COLORS:[[I

array-length v1, v1

if-lt v0, v1, :cond_0

.line 98

const/4 v0, 0x0

sput v0, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->theme:I

.line 100

:cond_0

const/4 v0, 0x1

return v0

.end method

.method public onPause()V

.locals 2

.prologue

.line 43

iget-object v0, p0, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->visualizer:Landroid/media/audiofx/Visualizer;

const/4 v1, 0x0

invoke-virtual {v0, v1}, Landroid/media/audiofx/Visualizer;->setEnabled(Z)I

.line 44

iget-object v0, p0, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->visualizer:Landroid/media/audiofx/Visualizer;

invoke-virtual {v0}, Landroid/media/audiofx/Visualizer;->release()V

.line 45

return-void

.end method

.method public onResume()V

.locals 4

.prologue

const/4 v3, 0x0

const/4 v2, 0x1

.line 32

invoke-virtual {p0, v2}, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->setKeepScreenOn(Z)V

.line 33

new-instance v0, Landroid/media/audiofx/Visualizer;

invoke-direct {v0, v3}, Landroid/media/audiofx/Visualizer;-><init>(I)V

iput-object v0, p0, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->visualizer:Landroid/media/audiofx/Visualizer;

.line 34

iget-object v0, p0, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->visualizer:Landroid/media/audiofx/Visualizer;

invoke-virtual {v0, v3}, Landroid/media/audiofx/Visualizer;->setEnabled(Z)I

.line 35

iget-object v0, p0, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->visualizer:Landroid/media/audiofx/Visualizer;

invoke-static {}, Landroid/media/audiofx/Visualizer;->getCaptureSizeRange()[I

move-result-object v1

aget v1, v1, v2

invoke-virtual {v0, v1}, Landroid/media/audiofx/Visualizer;->setCaptureSize(I)I

.line 36

iget-object v0, p0, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->visualizer:Landroid/media/audiofx/Visualizer;

invoke-static {}, Landroid/media/audiofx/Visualizer;->getMaxCaptureRate()I

move-result v1

invoke-virtual {v0, p0, v1, v3, v2}, Landroid/media/audiofx/Visualizer;->setDataCaptureListener(Landroid/media/audiofx/Visualizer$OnDataCaptureListener;IZZ)I

.line 37

iget-object v0, p0, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->visualizer:Landroid/media/audiofx/Visualizer;

invoke-virtual {v0}, Landroid/media/audiofx/Visualizer;->getCaptureSize()I

move-result v0

iput v0, p0, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->captureSize:I

.line 38

iget v0, p0, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->captureSize:I

int-to-float v0, v0

const/high16 v1, 0x4000

div-float/2addr v0, v1

float-to-double v0, v0

invoke-static {v0, v1}, Ljava/lang/Math;->log10(D)D

move-result-wide v0

double-to-float v0, v0

const/high16 v1, 0x4220

div-float/2addr v0, v1

iput v0, p0, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->logMax:F

.line 39

iget-object v0, p0, Lsk/bielyvlk/spectrumanalyzer/SpectrumAnalyzerView;->visualizer:Landroid/media/audiofx/Visualizer;

invoke-virtual {v0, v2}, Landroid/media/audiofx/Visualizer;->setEnabled(Z)I

.line 40

return-void

.end method

.method public onWaveFormDataCapture(Landroid/media/audiofx/Visualizer;[BI)V

.locals 0

.parameter "visualizer"

.parameter "waveform"

.parameter "samplingRate"

.prologue

.line 172

return-void

.end method