160 KB
/home/fdroid/fdroiddata/tmp/com.jwetherell.heart_rate_monitor_1.apk vs.
/home/fdroid/fdroiddata/tmp/sigcp_com.jwetherell.heart_rate_monitor_1.apk
1.88 KB
zipinfo /dev/stdin
Offset 1, 14 lines modifiedOffset 1, 14 lines modified
1 Zip·​file·​size:​·​25873·​bytes,​·​number·​of·​entries:​·​121 Zip·​file·​size:​·​26056·​bytes,​·​number·​of·​entries:​·​12
2 -​rw-​-​-​-​·····​2.​0·​fat······​751·​bl·​defN·​13-​May-​29·​06:​40·​META-​INF/​MANIFEST.​MF2 -​rw-​-​-​-​·····​2.​0·​fat······​751·​bl·​defN·​13-​May-​29·​06:​40·​META-​INF/​MANIFEST.​MF
3 -​rw-​-​-​-​·····​2.​0·​fat······​872·​bl·​defN·​13-​May-​29·​06:​40·​META-​INF/​FCA6B2F0.​SF3 -​rw-​-​-​-​·····​2.​0·​fat······​872·​bl·​defN·​13-​May-​29·​06:​40·​META-​INF/​FCA6B2F0.​SF
4 -​rw-​-​-​-​·····​2.​0·​fat·····​1332·​bl·​defN·​13-​May-​29·​06:​40·​META-​INF/​FCA6B2F0.​RSA4 -​rw-​-​-​-​·····​2.​0·​fat·····​1332·​bl·​defN·​13-​May-​29·​06:​40·​META-​INF/​FCA6B2F0.​RSA
5 -​rw-​-​-​-​·····​2.​0·​fat·····1652·​bX·​defN·​13-​May-​29·​04:​31·res/​layout/​main.​xml5 -​rw-​-​-​-​·····​2.​0·​fat·····2500·​bX·​defN·​17-​Oct-​14·​00:​19·AndroidManifest.​xml
6 -​rw-​-​-​-​·····2.​0·​fat·····2308·​bl·defN·13-​May-​29·​04:​31·AndroidManifest.​xml6 -​rw-​-​-​-​·····1.​0·​fat·····3941·​b-​·stor·80-​Jan-​01·​00:​00·res/​drawable-​hdpi-​v4/​icon.​png
7 -​rw-​-​-​-​·····​1.​0·​fat·····​1860·​b-​·​stor·13-​May-​29·​04:​31·​resources.​arsc7 -​rw-​-​-​-​·····​1.​0·​fat·····​1537·​b-​·​stor·80-​Jan-​01·​00:​00·​res/​drawable-​ldpi-​v4/​icon.​png
8 -​rw-​-​-​-​·····​1.​0·​fat·····3966·​b-​·​stor·13-​May-​29·​04:​31·​res/​drawable-​hdpi/​icon.​png8 -​rw-​-​-​-​·····​1.​0·​fat·····2200·​b-​·​stor·80-​Jan-​01·​00:​00·​res/​drawable-​mdpi-​v4/​green_icon.​png
9 -​rw-​-​-​-​·····​1.​0·​fat·····1537·​b-​·​stor·13-​May-​29·​04:​31·​res/​drawable-​ldpi/​icon.​png9 -​rw-​-​-​-​·····​1.​0·​fat·····2200·​b-​·​stor·80-​Jan-​01·​00:​00·​res/​drawable-​mdpi-​v4/​icon.​png
10 -​rw-​-​-​-​·····​1.​0·​fat·····​2200·​b-​·​stor·13-​May-​29·​04:​31·​res/​drawable-​mdpi/​green_icon.​png10 -​rw-​-​-​-​·····​1.​0·​fat·····​2009·​b-​·​stor·80-​Jan-​01·​00:​00·​res/​drawable-​mdpi-​v4/​red_icon.​png
11 -​rw-​-​-​-​·····1.​0·​fat·····2200·​b-​·stor·​13-​May-​29·​04:​31·​res/​drawable-​mdpi/​icon.​png11 -​rw-​-​-​-​·····2.​0·​fat·····1652·​bl·defN·​17-​Oct-​14·​00:​19·​res/​layout/​main.​xml
12 -​rw-​-​-​-​·····​1.​0·​fat·····​2009·​b-​·​stor·13-​May-​29·​04:​31·​res/​drawable-​mdpi/​red_icon.​png12 -​rw-​-​-​-​·····​1.​0·​fat·····​2012·​b-​·​stor·80-​Jan-​01·​00:​00·​resources.​arsc
13 -​rw-​-​-​-​·····​2.​0·​fat····​16984·​bl·​defN·​13-​May-​29·​04:​31·​classes.​dex13 -​rw-​-​-​-​·····​2.​0·​fat····​17136·​bl·​defN·​17-​Oct-​14·​00:​19·​classes.​dex
14 12·​files,​·​37671·​bytes·​uncompressed,​·​24301·​bytes·​compressed:​··​35.​5%14 12·​files,​·​38142·​bytes·​uncompressed,​·​24484·​bytes·​compressed:​··​35.​8%
1.12 KB
AndroidManifest.xml (decoded)
1.06 KB
AndroidManifest.xml
Offset 1, 9 lines modifiedOffset 1, 9 lines modified
1 <?xml·​version="1.​0"·​encoding="utf-​8"?>1 <?xml·​version="1.​0"·​encoding="utf-​8"?>
2 <manifest·​android:​versionCode="1"·​android:​versionName="1.​0"·​package="com.​jwetherell.​heart_rate_monitor"·​xmlns:​android="http:​/​/​schemas.​android.​com/​apk/​res/​android">2 <manifest·​android:​versionCode="1"·​android:​versionName="1.​0"·​package="com.​jwetherell.​heart_rate_monitor"·platformBuildVersionC​ode="7"·​platformBuildVersionN​ame="2.​1-​update1"·xmlns:​android="http:​/​/​schemas.​android.​com/​apk/​res/​android">
3 ··​<uses-​sdk·​android:​minSdkVersion="5"·​android:​targetSdkVersion="5"/​>3 ··​<uses-​sdk·​android:​minSdkVersion="5"·​android:​targetSdkVersion="5"/​>
4 ··​<uses-​feature·​android:​name="android.​hardware.​camera"/​>4 ··​<uses-​feature·​android:​name="android.​hardware.​camera"/​>
5 ··​<uses-​feature·​android:​name="android.​hardware.​camera.​flash"/​>5 ··​<uses-​feature·​android:​name="android.​hardware.​camera.​flash"/​>
6 ··​<uses-​permission·​android:​name="android.​permission.​CAMERA"/​>6 ··​<uses-​permission·​android:​name="android.​permission.​CAMERA"/​>
7 ··​<uses-​permission·​android:​name="android.​permission.​WAKE_LOCK"/​>7 ··​<uses-​permission·​android:​name="android.​permission.​WAKE_LOCK"/​>
8 ··​<application·​android:​icon="@drawable/​icon"·​android:​label="@string/​app_name"·​android:​theme="@android:​style/​Theme.​NoTitleBar.​Fullscreen">8 ··​<application·​android:​icon="@drawable/​icon"·​android:​label="@string/​app_name"·​android:​theme="@android:​style/​Theme.​NoTitleBar.​Fullscreen">
9 ····​<activity·​android:​configChanges="keyboa​rdHidden|orientation"​·​android:​name=".​HeartRateMonitor"·​android:​screenOrientation="po​rtrait">9 ····​<activity·​android:​configChanges="keyboa​rdHidden|orientation"​·​android:​name=".​HeartRateMonitor"·​android:​screenOrientation="po​rtrait">
7.46 KB
classes.dex
7.44 KB
classes.jar
1.92 KB
zipinfo /dev/stdin
Offset 1, 17 lines modifiedOffset 1, 17 lines modified
1 Zip·​file·​size:​·​17900·​bytes,​·​number·​of·​entries:​·​151 Zip·​file·​size:​·​17896·​bytes,​·​number·​of·​entries:​·​15
2 ?rwxrwxr-​x··​2.​0·​unx······​162·​b-​·​stor·​80-​Jan-​01·​00:​00·​android/​annotation/​SuppressLint.​class2 ?rwxrwxr-​x··​2.​0·​unx······​162·​b-​·​stor·​80-​Jan-​01·​00:​00·​android/​annotation/​SuppressLint.​class
3 ?rwxrwxr-​x··​2.​0·​unx······​141·​b-​·​stor·​80-​Jan-​01·​00:​00·​android/​annotation/​TargetApi.​class3 ?rwxrwxr-​x··​2.​0·​unx······​141·​b-​·​stor·​80-​Jan-​01·​00:​00·​android/​annotation/​TargetApi.​class
4 ?rwxrwxr-​x··​2.​0·​unx······​180·​b-​·​stor·​80-​Jan-​01·​00:​00·​com/​jwetherell/​heart_rate_monitor/​BuildConfig.​class4 ?rwxrwxr-​x··​2.​0·​unx······​180·​b-​·​stor·​80-​Jan-​01·​00:​00·​com/​jwetherell/​heart_rate_monitor/​BuildConfig.​class
5 ?rwxrwxr-​x··​2.​0·​unx·····​2834·​b-​·​stor·​80-​Jan-​01·​00:​00·​com/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$1.​class5 ?rwxrwxr-​x··​2.​0·​unx·····​2834·​b-​·​stor·​80-​Jan-​01·​00:​00·​com/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$1.​class
6 ?rwxrwxr-​x··​2.​0·​unx·····​1965·​b-​·​stor·​80-​Jan-​01·​00:​00·​com/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$2.​class6 ?rwxrwxr-​x··​2.​0·​unx·····​1965·​b-​·​stor·​80-​Jan-​01·​00:​00·​com/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$2.​class
7 ?rwxrwxr-​x··​2.​0·​unx······​854·​b-​·​stor·​80-​Jan-​01·​00:​00·​com/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​.​class7 ?rwxrwxr-​x··​2.​0·​unx······​854·​b-​·​stor·​80-​Jan-​01·​00:​00·​com/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​.​class
8 ?rwxrwxr-​x··​2.​0·​unx·····​4972·​b-​·​stor·​80-​Jan-​01·​00:​00·​com/​jwetherell/​heart_rate_monitor/​HeartRateMonitor.​class8 ?rwxrwxr-​x··​2.​0·​unx·····​4968·​b-​·​stor·​80-​Jan-​01·​00:​00·​com/​jwetherell/​heart_rate_monitor/​HeartRateMonitor.​class
9 ?rwxrwxr-​x··​2.​0·​unx·····​1955·​b-​·​stor·​80-​Jan-​01·​00:​00·​com/​jwetherell/​heart_rate_monitor/​HeartbeatView.​class9 ?rwxrwxr-​x··​2.​0·​unx·····​1955·​b-​·​stor·​80-​Jan-​01·​00:​00·​com/​jwetherell/​heart_rate_monitor/​HeartbeatView.​class
10 ?rwxrwxr-​x··​2.​0·​unx······​849·​b-​·​stor·​80-​Jan-​01·​00:​00·​com/​jwetherell/​heart_rate_monitor/​ImageProcessing.​class10 ?rwxrwxr-​x··​2.​0·​unx······​849·​b-​·​stor·​80-​Jan-​01·​00:​00·​com/​jwetherell/​heart_rate_monitor/​ImageProcessing.​class
11 ?rwxrwxr-​x··​2.​0·​unx······​155·​b-​·​stor·​80-​Jan-​01·​00:​00·​com/​jwetherell/​heart_rate_monitor/​R$attr.​class11 ?rwxrwxr-​x··​2.​0·​unx······​155·​b-​·​stor·​80-​Jan-​01·​00:​00·​com/​jwetherell/​heart_rate_monitor/​R$attr.​class
12 ?rwxrwxr-​x··​2.​0·​unx······​273·​b-​·​stor·​80-​Jan-​01·​00:​00·​com/​jwetherell/​heart_rate_monitor/​R$drawable.​class12 ?rwxrwxr-​x··​2.​0·​unx······​273·​b-​·​stor·​80-​Jan-​01·​00:​00·​com/​jwetherell/​heart_rate_monitor/​R$drawable.​class
13 ?rwxrwxr-​x··​2.​0·​unx······​318·​b-​·​stor·​80-​Jan-​01·​00:​00·​com/​jwetherell/​heart_rate_monitor/​R$id.​class13 ?rwxrwxr-​x··​2.​0·​unx······​318·​b-​·​stor·​80-​Jan-​01·​00:​00·​com/​jwetherell/​heart_rate_monitor/​R$id.​class
14 ?rwxrwxr-​x··​2.​0·​unx······​205·​b-​·​stor·​80-​Jan-​01·​00:​00·​com/​jwetherell/​heart_rate_monitor/​R$layout.​class14 ?rwxrwxr-​x··​2.​0·​unx······​205·​b-​·​stor·​80-​Jan-​01·​00:​00·​com/​jwetherell/​heart_rate_monitor/​R$layout.​class
15 ?rwxrwxr-​x··​2.​0·​unx······​245·​b-​·​stor·​80-​Jan-​01·​00:​00·​com/​jwetherell/​heart_rate_monitor/​R$string.​class15 ?rwxrwxr-​x··​2.​0·​unx······​245·​b-​·​stor·​80-​Jan-​01·​00:​00·​com/​jwetherell/​heart_rate_monitor/​R$string.​class
16 ?rwxrwxr-​x··​2.​0·​unx······​150·​b-​·​stor·​80-​Jan-​01·​00:​00·​com/​jwetherell/​heart_rate_monitor/​R.​class16 ?rwxrwxr-​x··​2.​0·​unx······​150·​b-​·​stor·​80-​Jan-​01·​00:​00·​com/​jwetherell/​heart_rate_monitor/​R.​class
17 15·​files,​·​15258·​bytes·​uncompressed,​·​15258·​bytes·​compressed:​··​0.​0%17 15·​files,​·​15254·​bytes·​uncompressed,​·​15254·​bytes·​compressed:​··​0.​0%
5.5 KB
com/jwetherell/heart_rate_monitor/HeartRateMonitor.class
5.39 KB
javap -verbose -constants -s -l -private {}
Max report size reached
7.87 KB
smali/com/jwetherell/heart_rate_monitor/HeartbeatView.smali
Offset 22, 216 lines modifiedOffset 22, 216 lines modified
22 ····​.​locals·​422 ····​.​locals·​4
  
23 ····​.​prologue23 ····​.​prologue
24 ····​const/​4·​v3,​·​0x024 ····​const/​4·​v3,​·​0x0
  
25 ····​const/​4·​v2,​·​0x025 ····​const/​4·​v2,​·​0x0
  
26 ····​.​line·1926 ····​.​line·20
27 ····​new-​instance·​v0,​·​Landroid/​graphics/​Matrix;​27 ····​new-​instance·​v0,​·​Landroid/​graphics/​Matrix;​
  
28 ····​invoke-​direct·​{v0},​·​Landroid/​graphics/​Matrix;​-​><init>()​V28 ····​invoke-​direct·​{v0},​·​Landroid/​graphics/​Matrix;​-​><init>()​V
  
29 ····​sput-​object·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartbeatView;​-​>matrix:​Landroid/​graphics/​Matrix;​29 ····​sput-​object·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartbeatView;​-​>matrix:​Landroid/​graphics/​Matrix;​
  
30 ····​.​line·​2030 ····​.​line·​21
31 ····​new-​instance·​v0,​·​Landroid/​graphics/​Paint;​31 ····​new-​instance·​v0,​·​Landroid/​graphics/​Paint;​
  
32 ····​const/​4·​v1,​·​0x132 ····​const/​4·​v1,​·​0x1
  
33 ····​invoke-​direct·​{v0,​·​v1},​·​Landroid/​graphics/​Paint;​-​><init>(I)​V33 ····​invoke-​direct·​{v0,​·​v1},​·​Landroid/​graphics/​Paint;​-​><init>(I)​V
  
34 ····​sput-​object·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartbeatView;​-​>paint:​Landroid/​graphics/​Paint;​34 ····​sput-​object·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartbeatView;​-​>paint:​Landroid/​graphics/​Paint;​
  
35 ····​.​line·​2235 ····​.​line·​23
36 ····​sput-​object·​v3,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartbeatView;​-​>greenBitmap:​Landroid/​graphics/​Bitmap;​36 ····​sput-​object·​v3,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartbeatView;​-​>greenBitmap:​Landroid/​graphics/​Bitmap;​
  
37 ····​.​line·​2337 ····​.​line·​24
38 ····​sput-​object·​v3,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartbeatView;​-​>redBitmap:​Landroid/​graphics/​Bitmap;​38 ····​sput-​object·​v3,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartbeatView;​-​>redBitmap:​Landroid/​graphics/​Bitmap;​
  
39 ····​.​line·​2539 ····​.​line·​26
40 ····​sput·​v2,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartbeatView;​-​>parentWidth:​I40 ····​sput·​v2,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartbeatView;​-​>parentWidth:​I
  
41 ····​.​line·​2641 ····​.​line·​27
42 ····​sput·​v2,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartbeatView;​-​>parentHeight:​I42 ····​sput·​v2,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartbeatView;​-​>parentHeight:​I
  
43 ····​return-​void43 ····​return-​void
44 .​end·​method44 .​end·​method
  
45 .​method·​public·​constructor·​<init>(Landroid/​content/​Context;​)​V45 .​method·​public·​constructor·​<init>(Landroid/​content/​Context;​)​V
46 ····​.​locals·​246 ····​.​locals·​2
47 ····​.​param·​p1,​·​"context"····​#·​Landroid/​content/​Context;​47 ····​.​param·​p1,​·​"context"····​#·​Landroid/​content/​Context;​
  
48 ····​.​prologue48 ····​.​prologue
49 ····​.​line·​3649 ····​.​line·​37
50 ····​invoke-​direct·​{p0,​·​p1},​·​Landroid/​view/​View;​-​><init>(Landroid/​content/​Context;​)​V50 ····​invoke-​direct·​{p0,​·​p1},​·​Landroid/​view/​View;​-​><init>(Landroid/​content/​Context;​)​V
  
51 ····​.​line·​3851 ····​.​line·​39
52 ····​invoke-​virtual·​{p0},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartbeatView;​-​>getResources()​Landroid/​content/​res/​Resources;​52 ····​invoke-​virtual·​{p0},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartbeatView;​-​>getResources()​Landroid/​content/​res/​Resources;​
  
53 ····​move-​result-​object·​v053 ····​move-​result-​object·​v0
  
54 ····​const/​high16·​v1,​·​0x7f02000054 ····​const/​high16·​v1,​·​0x7f020000
  
55 ····​invoke-​static·​{v0,​·​v1},​·​Landroid/​graphics/​BitmapFactory;​-​>decodeResource(Landr​oid/​content/​res/​Resources;​I)​Landroid/​graphics/​Bitmap;​55 ····​invoke-​static·​{v0,​·​v1},​·​Landroid/​graphics/​BitmapFactory;​-​>decodeResource(Landr​oid/​content/​res/​Resources;​I)​Landroid/​graphics/​Bitmap;​
  
56 ····​move-​result-​object·​v056 ····​move-​result-​object·​v0
  
57 ····​sput-​object·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartbeatView;​-​>greenBitmap:​Landroid/​graphics/​Bitmap;​57 ····​sput-​object·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartbeatView;​-​>greenBitmap:​Landroid/​graphics/​Bitmap;​
  
58 ····​.​line·3958 ····​.​line·40
59 ····​invoke-​virtual·​{p0},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartbeatView;​-​>getResources()​Landroid/​content/​res/​Resources;​59 ····​invoke-​virtual·​{p0},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartbeatView;​-​>getResources()​Landroid/​content/​res/​Resources;​
  
60 ····​move-​result-​object·​v060 ····​move-​result-​object·​v0
  
61 ····​const·​v1,​·​0x7f02000261 ····​const·​v1,​·​0x7f020002
  
62 ····​invoke-​static·​{v0,​·​v1},​·​Landroid/​graphics/​BitmapFactory;​-​>decodeResource(Landr​oid/​content/​res/​Resources;​I)​Landroid/​graphics/​Bitmap;​62 ····​invoke-​static·​{v0,​·​v1},​·​Landroid/​graphics/​BitmapFactory;​-​>decodeResource(Landr​oid/​content/​res/​Resources;​I)​Landroid/​graphics/​Bitmap;​
  
63 ····​move-​result-​object·​v063 ····​move-​result-​object·​v0
  
64 ····​sput-​object·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartbeatView;​-​>redBitmap:​Landroid/​graphics/​Bitmap;​64 ····​sput-​object·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartbeatView;​-​>redBitmap:​Landroid/​graphics/​Bitmap;​
  
65 ····​.​line·​4065 ····​.​line·​41
66 ····​return-​void66 ····​return-​void
67 .​end·​method67 .​end·​method
  
68 .​method·​public·​constructor·​<init>(Landroid/​content/​Context;​Landroid/​util/​AttributeSet;​)​V68 .​method·​public·​constructor·​<init>(Landroid/​content/​Context;​Landroid/​util/​AttributeSet;​)​V
69 ····​.​locals·​269 ····​.​locals·​2
70 ····​.​param·​p1,​·​"context"····​#·​Landroid/​content/​Context;​70 ····​.​param·​p1,​·​"context"····​#·​Landroid/​content/​Context;​
71 ····​.​param·​p2,​·​"attr"····​#·​Landroid/​util/​AttributeSet;​71 ····​.​param·​p2,​·​"attr"····​#·​Landroid/​util/​AttributeSet;​
  
72 ····​.​prologue72 ····​.​prologue
73 ····​.​line·2973 ····​.​line·30
74 ····​invoke-​direct·​{p0,​·​p1,​·​p2},​·​Landroid/​view/​View;​-​><init>(Landroid/​content/​Context;​Landroid/​util/​AttributeSet;​)​V74 ····​invoke-​direct·​{p0,​·​p1,​·​p2},​·​Landroid/​view/​View;​-​><init>(Landroid/​content/​Context;​Landroid/​util/​AttributeSet;​)​V
  
75 ····​.​line·​3175 ····​.​line·​32
76 ····​invoke-​virtual·​{p0},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartbeatView;​-​>getResources()​Landroid/​content/​res/​Resources;​76 ····​invoke-​virtual·​{p0},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartbeatView;​-​>getResources()​Landroid/​content/​res/​Resources;​
  
77 ····​move-​result-​object·​v077 ····​move-​result-​object·​v0
  
78 ····​const/​high16·​v1,​·​0x7f02000078 ····​const/​high16·​v1,​·​0x7f020000
  
79 ····​invoke-​static·​{v0,​·​v1},​·​Landroid/​graphics/​BitmapFactory;​-​>decodeResource(Landr​oid/​content/​res/​Resources;​I)​Landroid/​graphics/​Bitmap;​79 ····​invoke-​static·​{v0,​·​v1},​·​Landroid/​graphics/​BitmapFactory;​-​>decodeResource(Landr​oid/​content/​res/​Resources;​I)​Landroid/​graphics/​Bitmap;​
  
80 ····​move-​result-​object·​v080 ····​move-​result-​object·​v0
  
81 ····​sput-​object·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartbeatView;​-​>greenBitmap:​Landroid/​graphics/​Bitmap;​81 ····​sput-​object·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartbeatView;​-​>greenBitmap:​Landroid/​graphics/​Bitmap;​
  
82 ····​.​line·​3282 ····​.​line·​33
83 ····​invoke-​virtual·​{p0},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartbeatView;​-​>getResources()​Landroid/​content/​res/​Resources;​83 ····​invoke-​virtual·​{p0},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartbeatView;​-​>getResources()​Landroid/​content/​res/​Resources;​
  
84 ····​move-​result-​object·​v084 ····​move-​result-​object·​v0
  
85 ····​const·​v1,​·​0x7f02000285 ····​const·​v1,​·​0x7f020002
  
86 ····​invoke-​static·​{v0,​·​v1},​·​Landroid/​graphics/​BitmapFactory;​-​>decodeResource(Landr​oid/​content/​res/​Resources;​I)​Landroid/​graphics/​Bitmap;​86 ····​invoke-​static·​{v0,​·​v1},​·​Landroid/​graphics/​BitmapFactory;​-​>decodeResource(Landr​oid/​content/​res/​Resources;​I)​Landroid/​graphics/​Bitmap;​
  
87 ····​move-​result-​object·​v087 ····​move-​result-​object·​v0
  
88 ····​sput-​object·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartbeatView;​-​>redBitmap:​Landroid/​graphics/​Bitmap;​88 ····​sput-​object·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartbeatView;​-​>redBitmap:​Landroid/​graphics/​Bitmap;​
  
89 ····​.​line·​3389 ····​.​line·​34
90 ····​return-​void90 ····​return-​void
91 .​end·​method91 .​end·​method
  
  
92 #·​virtual·​methods92 #·​virtual·​methods
93 .​method·​protected·​onDraw(Landroid/​graphics/​Canvas;​)​V93 .​method·​protected·​onDraw(Landroid/​graphics/​Canvas;​)​V
94 ····​.​locals·​1094 ····​.​locals·​10
95 ····​.​param·​p1,​·​"canvas"····​#·​Landroid/​graphics/​Canvas;​95 ····​.​param·​p1,​·​"canvas"····​#·​Landroid/​graphics/​Canvas;​
  
96 ····​.​prologue96 ····​.​prologue
97 ····​.​line·5997 ····​.​line·60
98 ····​if-​nez·​p1,​·​:​cond_098 ····​if-​nez·​p1,​·​:​cond_0
  
99 ····​new-​instance·​v7,​·​Ljava/​lang/​NullPointerException;​99 ····​new-​instance·​v7,​·​Ljava/​lang/​NullPointerException;​
  
Max diff block lines reached; 3708/7941 bytes (46.69%) of diff not shown.
5.42 KB
smali/com/jwetherell/heart_rate_monitor/HeartRateMonitor$2.smali
Offset 18, 15 lines modifiedOffset 18, 15 lines modified
  
  
18 #·​direct·​methods18 #·​direct·​methods
19 .​method·​constructor·​<init>()​V19 .​method·​constructor·​<init>()​V
20 ····​.​locals·​020 ····​.​locals·​0
  
21 ····​.​prologue21 ····​.​prologue
22 ····​.​line·19922 ····​.​line·206
23 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V23 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V
  
24 ····​return-​void24 ····​return-​void
25 .​end·​method25 .​end·​method
  
  
26 #·​virtual·​methods26 #·​virtual·​methods
Offset 34, 48 lines modifiedOffset 34, 48 lines modified
34 ····​.​locals·​534 ····​.​locals·​5
35 ····​.​param·​p1,​·​"holder"····​#·​Landroid/​view/​SurfaceHolder;​35 ····​.​param·​p1,​·​"holder"····​#·​Landroid/​view/​SurfaceHolder;​
36 ····​.​param·​p2,​·​"format"····​#·​I36 ····​.​param·​p2,​·​"format"····​#·​I
37 ····​.​param·​p3,​·​"width"····​#·​I37 ····​.​param·​p3,​·​"width"····​#·​I
38 ····​.​param·​p4,​·​"height"····​#·​I38 ····​.​param·​p4,​·​"height"····​#·​I
  
39 ····​.​prologue39 ····​.​prologue
40 ····​.​line·​21840 ····​.​line·​226
41 ····​#·​getter·​for:​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>camera:​Landroid/​hardware/​Camera;​41 ····​#·​getter·​for:​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>camera:​Landroid/​hardware/​Camera;​
42 ····​invoke-​static·​{},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>access$1100()​Landroid/​hardware/​Camera;​42 ····​invoke-​static·​{},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>access$1100()​Landroid/​hardware/​Camera;​
  
43 ····​move-​result-​object·​v243 ····​move-​result-​object·​v2
  
44 ····​invoke-​virtual·​{v2},​·​Landroid/​hardware/​Camera;​-​>getParameters()​Landroid/​hardware/​Camera$Parameters;​44 ····​invoke-​virtual·​{v2},​·​Landroid/​hardware/​Camera;​-​>getParameters()​Landroid/​hardware/​Camera$Parameters;​
  
45 ····​move-​result-​object·​v045 ····​move-​result-​object·​v0
  
46 ····​.​line·​21946 ····​.​line·​227
47 ····​.​local·​v0,​·​"parameters":​Landroid/​hardware/​Camera$Parameters;​47 ····​.​local·​v0,​·​"parameters":​Landroid/​hardware/​Camera$Parameters;​
48 ····​const-​string·​v2,​·​"torch"48 ····​const-​string·​v2,​·​"torch"
  
49 ····​invoke-​virtual·​{v0,​·​v2},​·​Landroid/​hardware/​Camera$Parameters;​-​>setFlashMode(Ljava/​lang/​String;​)​V49 ····​invoke-​virtual·​{v0,​·​v2},​·​Landroid/​hardware/​Camera$Parameters;​-​>setFlashMode(Ljava/​lang/​String;​)​V
  
50 ····​.​line·​22050 ····​.​line·​228
51 ····​#·​invokes:​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>getSmallestPreviewSi​ze(IILandroid/​hardware/​Camera$Parameters;​)​Landroid/​hardware/​Camera$Size;​51 ····​#·​invokes:​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>getSmallestPreviewSi​ze(IILandroid/​hardware/​Camera$Parameters;​)​Landroid/​hardware/​Camera$Size;​
52 ····​invoke-​static·​{p3,​·​p4,​·​v0},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>access$1300(IILandro​id/​hardware/​Camera$Parameters;​)​Landroid/​hardware/​Camera$Size;​52 ····​invoke-​static·​{p3,​·​p4,​·​v0},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>access$1300(IILandro​id/​hardware/​Camera$Parameters;​)​Landroid/​hardware/​Camera$Size;​
  
53 ····​move-​result-​object·​v153 ····​move-​result-​object·​v1
  
54 ····​.​line·​22154 ····​.​line·​229
55 ····​.​local·​v1,​·​"size":​Landroid/​hardware/​Camera$Size;​55 ····​.​local·​v1,​·​"size":​Landroid/​hardware/​Camera$Size;​
56 ····​if-​eqz·​v1,​·​:​cond_056 ····​if-​eqz·​v1,​·​:​cond_0
  
57 ····​.​line·​22257 ····​.​line·​230
58 ····​iget·​v2,​·​v1,​·​Landroid/​hardware/​Camera$Size;​-​>width:​I58 ····​iget·​v2,​·​v1,​·​Landroid/​hardware/​Camera$Size;​-​>width:​I
  
59 ····​iget·​v3,​·​v1,​·​Landroid/​hardware/​Camera$Size;​-​>height:​I59 ····​iget·​v3,​·​v1,​·​Landroid/​hardware/​Camera$Size;​-​>height:​I
  
60 ····​invoke-​virtual·​{v0,​·​v2,​·​v3},​·​Landroid/​hardware/​Camera$Parameters;​-​>setPreviewSize(II)​V60 ····​invoke-​virtual·​{v0,​·​v2,​·​v3},​·​Landroid/​hardware/​Camera$Parameters;​-​>setPreviewSize(II)​V
  
61 ····​.​line·​22361 ····​.​line·​231
62 ····​const-​string·​v2,​·​"HeartRateMonitor"62 ····​const-​string·​v2,​·​"HeartRateMonitor"
  
63 ····​new-​instance·​v3,​·​Ljava/​lang/​StringBuilder;​63 ····​new-​instance·​v3,​·​Ljava/​lang/​StringBuilder;​
  
64 ····​invoke-​direct·​{v3},​·​Ljava/​lang/​StringBuilder;​-​><init>()​V64 ····​invoke-​direct·​{v3},​·​Ljava/​lang/​StringBuilder;​-​><init>()​V
  
65 ····​const-​string·​v4,​·​"Using·​width="65 ····​const-​string·​v4,​·​"Using·​width="
Offset 104, 78 lines modifiedOffset 104, 78 lines modified
  
104 ····​invoke-​virtual·​{v3},​·​Ljava/​lang/​StringBuilder;​-​>toString()​Ljava/​lang/​String;​104 ····​invoke-​virtual·​{v3},​·​Ljava/​lang/​StringBuilder;​-​>toString()​Ljava/​lang/​String;​
  
105 ····​move-​result-​object·​v3105 ····​move-​result-​object·​v3
  
106 ····​invoke-​static·​{v2,​·​v3},​·​Landroid/​util/​Log;​-​>d(Ljava/​lang/​String;​Ljava/​lang/​String;​)​I106 ····​invoke-​static·​{v2,​·​v3},​·​Landroid/​util/​Log;​-​>d(Ljava/​lang/​String;​Ljava/​lang/​String;​)​I
  
107 ····​.​line·​225107 ····​.​line·​233
108 ····​:​cond_0108 ····​:​cond_0
109 ····​#·​getter·​for:​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>camera:​Landroid/​hardware/​Camera;​109 ····​#·​getter·​for:​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>camera:​Landroid/​hardware/​Camera;​
110 ····​invoke-​static·​{},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>access$1100()​Landroid/​hardware/​Camera;​110 ····​invoke-​static·​{},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>access$1100()​Landroid/​hardware/​Camera;​
  
111 ····​move-​result-​object·​v2111 ····​move-​result-​object·​v2
  
112 ····​invoke-​virtual·​{v2,​·​v0},​·​Landroid/​hardware/​Camera;​-​>setParameters(Landro​id/​hardware/​Camera$Parameters;​)​V112 ····​invoke-​virtual·​{v2,​·​v0},​·​Landroid/​hardware/​Camera;​-​>setParameters(Landro​id/​hardware/​Camera$Parameters;​)​V
  
113 ····​.​line·​226113 ····​.​line·​234
114 ····​#·​getter·​for:​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>camera:​Landroid/​hardware/​Camera;​114 ····​#·​getter·​for:​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>camera:​Landroid/​hardware/​Camera;​
115 ····​invoke-​static·​{},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>access$1100()​Landroid/​hardware/​Camera;​115 ····​invoke-​static·​{},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>access$1100()​Landroid/​hardware/​Camera;​
  
116 ····​move-​result-​object·​v2116 ····​move-​result-​object·​v2
  
117 ····​invoke-​virtual·​{v2},​·​Landroid/​hardware/​Camera;​-​>startPreview()​V117 ····​invoke-​virtual·​{v2},​·​Landroid/​hardware/​Camera;​-​>startPreview()​V
  
118 ····​.​line·​227118 ····​.​line·​235
119 ····​return-​void119 ····​return-​void
120 .​end·​method120 .​end·​method
  
121 .​method·​public·​surfaceCreated(Landro​id/​view/​SurfaceHolder;​)​V121 .​method·​public·​surfaceCreated(Landro​id/​view/​SurfaceHolder;​)​V
122 ····​.​locals·​3122 ····​.​locals·​3
123 ····​.​param·​p1,​·​"holder"····​#·​Landroid/​view/​SurfaceHolder;​123 ····​.​param·​p1,​·​"holder"····​#·​Landroid/​view/​SurfaceHolder;​
  
124 ····​.​prologue124 ····​.​prologue
125 ····​.​line·​206125 ····​.​line·​214
126 ····​:​try_start_0126 ····​:​try_start_0
127 ····​#·​getter·​for:​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>camera:​Landroid/​hardware/​Camera;​127 ····​#·​getter·​for:​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>camera:​Landroid/​hardware/​Camera;​
128 ····​invoke-​static·​{},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>access$1100()​Landroid/​hardware/​Camera;​128 ····​invoke-​static·​{},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>access$1100()​Landroid/​hardware/​Camera;​
  
129 ····​move-​result-​object·​v1129 ····​move-​result-​object·​v1
  
130 ····​#·​getter·​for:​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>previewHolder:​Landroid/​view/​SurfaceHolder;​130 ····​#·​getter·​for:​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>previewHolder:​Landroid/​view/​SurfaceHolder;​
131 ····​invoke-​static·​{},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>access$1000()​Landroid/​view/​SurfaceHolder;​131 ····​invoke-​static·​{},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>access$1000()​Landroid/​view/​SurfaceHolder;​
  
132 ····​move-​result-​object·​v2132 ····​move-​result-​object·​v2
  
133 ····​invoke-​virtual·​{v1,​·​v2},​·​Landroid/​hardware/​Camera;​-​>setPreviewDisplay(La​ndroid/​view/​SurfaceHolder;​)​V133 ····​invoke-​virtual·​{v1,​·​v2},​·​Landroid/​hardware/​Camera;​-​>setPreviewDisplay(La​ndroid/​view/​SurfaceHolder;​)​V
  
134 ····​.​line·​207134 ····​.​line·​215
135 ····​#·​getter·​for:​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>camera:​Landroid/​hardware/​Camera;​135 ····​#·​getter·​for:​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>camera:​Landroid/​hardware/​Camera;​
136 ····​invoke-​static·​{},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>access$1100()​Landroid/​hardware/​Camera;​136 ····​invoke-​static·​{},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>access$1100()​Landroid/​hardware/​Camera;​
  
137 ····​move-​result-​object·​v1137 ····​move-​result-​object·​v1
  
138 ····​#·​getter·​for:​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>previewCallback:​Landroid/​hardware/​Camera$PreviewCallbac​k;​138 ····​#·​getter·​for:​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>previewCallback:​Landroid/​hardware/​Camera$PreviewCallbac​k;​
139 ····​invoke-​static·​{},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>access$1200()​Landroid/​hardware/​Camera$PreviewCallbac​k;​139 ····​invoke-​static·​{},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>access$1200()​Landroid/​hardware/​Camera$PreviewCallbac​k;​
  
140 ····​move-​result-​object·​v2140 ····​move-​result-​object·​v2
  
141 ····​invoke-​virtual·​{v1,​·​v2},​·​Landroid/​hardware/​Camera;​-​>setPreviewCallback(L​android/​hardware/​Camera$PreviewCallbac​k;​)​V141 ····​invoke-​virtual·​{v1,​·​v2},​·​Landroid/​hardware/​Camera;​-​>setPreviewCallback(L​android/​hardware/​Camera$PreviewCallbac​k;​)​V
142 ····​:​try_end_0142 ····​:​try_end_0
143 ····​.​catch·​Ljava/​lang/​Throwable;​·​{:​try_start_0·​.​.​·​:​try_end_0}·​:​catch_0143 ····​.​catch·​Ljava/​lang/​Throwable;​·​{:​try_start_0·​.​.​·​:​try_end_0}·​:​catch_0
  
Max diff block lines reached; 642/5427 bytes (11.83%) of diff not shown.
298 B
smali/com/jwetherell/heart_rate_monitor/R.smali
Offset 19, 10 lines modifiedOffset 19, 9 lines modified
19 .​method·​public·​constructor·​<init>()​V19 .​method·​public·​constructor·​<init>()​V
20 ····​.​locals·​020 ····​.​locals·​0
  
21 ····​.​prologue21 ····​.​prologue
22 ····​.​line·​1022 ····​.​line·​10
23 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V23 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V
  
24 ····​.​line·​28 
25 ····​return-​void24 ····​return-​void
26 .​end·​method25 .​end·​method
12.5 KB
smali/com/jwetherell/heart_rate_monitor/HeartRateMonitor.smali
Offset 56, 82 lines modifiedOffset 56, 82 lines modified
56 ····​.​locals·​356 ····​.​locals·​3
  
57 ····​.​prologue57 ····​.​prologue
58 ····​const/​4·​v2,​·​0x058 ····​const/​4·​v2,​·​0x0
  
59 ····​const/​4·​v1,​·​0x059 ····​const/​4·​v1,​·​0x0
  
60 ····​.​line·​2860 ····​.​line·​29
61 ····​new-​instance·​v0,​·​Ljava/​util/​concurrent/​atomic/​AtomicBoolean;​61 ····​new-​instance·​v0,​·​Ljava/​util/​concurrent/​atomic/​AtomicBoolean;​
  
62 ····​invoke-​direct·​{v0,​·​v2},​·​Ljava/​util/​concurrent/​atomic/​AtomicBoolean;​-​><init>(Z)​V62 ····​invoke-​direct·​{v0,​·​v2},​·​Ljava/​util/​concurrent/​atomic/​AtomicBoolean;​-​><init>(Z)​V
  
63 ····​sput-​object·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>processing:​Ljava/​util/​concurrent/​atomic/​AtomicBoolean;​63 ····​sput-​object·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>processing:​Ljava/​util/​concurrent/​atomic/​AtomicBoolean;​
  
64 ····​.​line·​3064 ····​.​line·​31
65 ····​sput-​object·​v1,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>preview:​Landroid/​view/​SurfaceView;​65 ····​sput-​object·​v1,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>preview:​Landroid/​view/​SurfaceView;​
  
66 ····​.​line·​3166 ····​.​line·​32
67 ····​sput-​object·​v1,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>previewHolder:​Landroid/​view/​SurfaceHolder;​67 ····​sput-​object·​v1,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>previewHolder:​Landroid/​view/​SurfaceHolder;​
  
68 ····​.​line·​3268 ····​.​line·​33
69 ····​sput-​object·​v1,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>camera:​Landroid/​hardware/​Camera;​69 ····​sput-​object·​v1,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>camera:​Landroid/​hardware/​Camera;​
  
70 ····​.​line·​3370 ····​.​line·​34
71 ····​sput-​object·​v1,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>image:​Landroid/​view/​View;​71 ····​sput-​object·​v1,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>image:​Landroid/​view/​View;​
  
72 ····​.​line·​3472 ····​.​line·​35
73 ····​sput-​object·​v1,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>text:​Landroid/​widget/​TextView;​73 ····​sput-​object·​v1,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>text:​Landroid/​widget/​TextView;​
  
74 ····​.​line·​3674 ····​.​line·​37
75 ····​sput-​object·​v1,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>wakeLock:​Landroid/​os/​PowerManager$WakeLock​;​75 ····​sput-​object·​v1,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>wakeLock:​Landroid/​os/​PowerManager$WakeLock​;​
  
76 ····​.​line·​3876 ····​.​line·​39
77 ····​sput·​v2,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>averageIndex:​I77 ····​sput·​v2,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>averageIndex:​I
  
78 ····​.​line·​4078 ····​.​line·​41
79 ····​const/​4·​v0,​·​0x479 ····​const/​4·​v0,​·​0x4
  
80 ····​new-​array·​v0,​·​v0,​·​[I80 ····​new-​array·​v0,​·​v0,​·​[I
  
81 ····​sput-​object·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>averageArray:​[I81 ····​sput-​object·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>averageArray:​[I
  
82 ····​.​line·​4382 ····​.​line·​47
83 ····​sget-​object·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​-​>GREEN:​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​83 ····​sget-​object·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​-​>GREEN:​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​
  
84 ····​sput-​object·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>currentType:​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​84 ····​sput-​object·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>currentType:​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​
  
85 ····​.​line·4885 ····​.​line·53
86 ····​sput·​v2,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>beatsIndex:​I86 ····​sput·​v2,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>beatsIndex:​I
  
87 ····​.​line·​5087 ····​.​line·​55
88 ····​const/​4·​v0,​·​0x388 ····​const/​4·​v0,​·​0x3
  
89 ····​new-​array·​v0,​·​v0,​·​[I89 ····​new-​array·​v0,​·​v0,​·​[I
  
90 ····​sput-​object·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>beatsArray:​[I90 ····​sput-​object·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>beatsArray:​[I
  
91 ····​.​line·​5191 ····​.​line·​56
92 ····​const-​wide/​16·​v0,​·​0x092 ····​const-​wide/​16·​v0,​·​0x0
  
93 ····​sput-​wide·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>beats:​D93 ····​sput-​wide·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>beats:​D
  
94 ····​.​line·​5294 ····​.​line·​57
95 ····​const-​wide/​16·​v0,​·​0x095 ····​const-​wide/​16·​v0,​·​0x0
  
96 ····​sput-​wide·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>startTime:​J96 ····​sput-​wide·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>startTime:​J
  
97 ····​.​line·​11197 ····​.​line·​116
98 ····​new-​instance·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$1;​98 ····​new-​instance·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$1;​
  
99 ····​invoke-​direct·​{v0},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$1;​-​><init>()​V99 ····​invoke-​direct·​{v0},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$1;​-​><init>()​V
  
100 ····​sput-​object·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>previewCallback:​Landroid/​hardware/​Camera$PreviewCallbac​k;​100 ····​sput-​object·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>previewCallback:​Landroid/​hardware/​Camera$PreviewCallbac​k;​
  
101 ····​.​line·199101 ····​.​line·206
102 ····​new-​instance·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$2;​102 ····​new-​instance·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$2;​
  
103 ····​invoke-​direct·​{v0},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$2;​-​><init>()​V103 ····​invoke-​direct·​{v0},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$2;​-​><init>()​V
  
104 ····​sput-​object·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>surfaceCallback:​Landroid/​view/​SurfaceHolder$Callbac​k;​104 ····​sput-​object·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>surfaceCallback:​Landroid/​view/​SurfaceHolder$Callbac​k;​
  
105 ····​return-​void105 ····​return-​void
Offset 391, 269 lines modifiedOffset 391, 268 lines modified
391 ····​return-​object·​v0391 ····​return-​object·​v0
392 .​end·​method392 .​end·​method
  
393 .​method·​public·​static·​getCurrent()​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​393 .​method·​public·​static·​getCurrent()​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​
394 ····​.​locals·​1394 ····​.​locals·​1
  
395 ····​.​prologue395 ····​.​prologue
396 ····​.​line·45396 ····​.​line·50
397 ····​sget-​object·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>currentType:​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​397 ····​sget-​object·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>currentType:​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​
  
398 ····​return-​object·​v0398 ····​return-​object·​v0
399 .​end·​method399 .​end·​method
  
400 .​method·​private·​static·​getSmallestPreviewSiz​e(IILandroid/​hardware/​Camera$Parameters;​)​Landroid/​hardware/​Camera$Size;​400 .​method·​private·​static·​getSmallestPreviewSiz​e(IILandroid/​hardware/​Camera$Parameters;​)​Landroid/​hardware/​Camera$Size;​
401 ····​.​locals·​7401 ····​.​locals·​7
402 ····​.​param·​p0,​·​"width"····​#·​I402 ····​.​param·​p0,​·​"width"····​#·​I
403 ····​.​param·​p1,​·​"height"····​#·​I403 ····​.​param·​p1,​·​"height"····​#·​I
404 ····​.​param·​p2,​·​"parameters"····​#·​Landroid/​hardware/​Camera$Parameters;​404 ····​.​param·​p2,​·​"parameters"····​#·​Landroid/​hardware/​Camera$Parameters;​
  
405 ····​.​prologue405 ····​.​prologue
406 ····​.​line·​239406 ····​.​line·​247
407 ····​const/​4·​v2,​·​0x0407 ····​const/​4·​v1,​·​0x0
  
408 ····​.​line·​241408 ····​.​line·​249
409 ····​.​local·​v2,​·​"result":​Landroid/​hardware/​Camera$Size;​409 ····​.​local·​v1,​·​"result":​Landroid/​hardware/​Camera$Size;​
410 ····​invoke-​virtual·​{p2},​·​Landroid/​hardware/​Camera$Parameters;​-​>getSupportedPreviewS​izes()​Ljava/​util/​List;​410 ····​invoke-​virtual·​{p2},​·​Landroid/​hardware/​Camera$Parameters;​-​>getSupportedPreviewS​izes()​Ljava/​util/​List;​
  
411 ····​move-​result-​object·​v5411 ····​move-​result-​object·​v4
  
412 ····​invoke-​interface·​{v5},​·​Ljava/​util/​List;​-​>iterator()​Ljava/​util/​Iterator;​412 ····​invoke-​interface·​{v4},​·​Ljava/​util/​List;​-​>iterator()​Ljava/​util/​Iterator;​
  
413 ····​move-​result-​object·​v0413 ····​move-​result-​object·​v4
  
414 ····​.​local·​v0,​·​"i$":​Ljava/​util/​Iterator;​ 
415 ····​:​cond_0414 ····​:​cond_0
416 ····​:​goto_0415 ····​:​goto_0
417 ····​invoke-​interface·​{v0},​·​Ljava/​util/​Iterator;​-​>hasNext()​Z416 ····​invoke-​interface·​{v4},​·​Ljava/​util/​Iterator;​-​>hasNext()​Z
  
418 ····​move-​result·​v5417 ····​move-​result·​v5
  
419 ····​if-​eqz·​v5,​·​:​cond_2418 ····​if-​eqz·​v5,​·​:​cond_2
  
420 ····​invoke-​interface·​{v0},​·​Ljava/​util/​Iterator;​-​>next()​Ljava/​lang/​Object;​419 ····​invoke-​interface·​{v4},​·​Ljava/​util/​Iterator;​-​>next()​Ljava/​lang/​Object;​
  
Max diff block lines reached; 7835/12670 bytes (61.84%) of diff not shown.
2.59 KB
smali/com/jwetherell/heart_rate_monitor/HeartRateMonitor$TYPE.smali
Offset 36, 15 lines modifiedOffset 36, 15 lines modified
36 ····​.​locals·​436 ····​.​locals·​4
  
37 ····​.​prologue37 ····​.​prologue
38 ····​const/​4·​v3,​·​0x138 ····​const/​4·​v3,​·​0x1
  
39 ····​const/​4·​v2,​·​0x039 ····​const/​4·​v2,​·​0x0
  
40 ····​.​line·​4240 ····​.​line·​44
41 ····​new-​instance·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​41 ····​new-​instance·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​
  
42 ····​const-​string·​v1,​·​"GREEN"42 ····​const-​string·​v1,​·​"GREEN"
  
43 ····​invoke-​direct·​{v0,​·​v1,​·​v2},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​-​><init>(Ljava/​lang/​String;​I)​V43 ····​invoke-​direct·​{v0,​·​v1,​·​v2},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​-​><init>(Ljava/​lang/​String;​I)​V
  
44 ····​sput-​object·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​-​>GREEN:​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​44 ····​sput-​object·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​-​>GREEN:​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​
Offset 53, 14 lines modifiedOffset 53, 15 lines modified
  
53 ····​const-​string·​v1,​·​"RED"53 ····​const-​string·​v1,​·​"RED"
  
54 ····​invoke-​direct·​{v0,​·​v1,​·​v3},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​-​><init>(Ljava/​lang/​String;​I)​V54 ····​invoke-​direct·​{v0,​·​v1,​·​v3},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​-​><init>(Ljava/​lang/​String;​I)​V
  
55 ····​sput-​object·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​-​>RED:​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​55 ····​sput-​object·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​-​>RED:​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​
  
 56 ····​.​line·​43
56 ····​const/​4·​v0,​·​0x257 ····​const/​4·​v0,​·​0x2
  
57 ····​new-​array·​v0,​·​v0,​·​[Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​58 ····​new-​array·​v0,​·​v0,​·​[Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​
  
58 ····​sget-​object·​v1,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​-​>GREEN:​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​59 ····​sget-​object·​v1,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​-​>GREEN:​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​
  
59 ····​aput-​object·​v1,​·​v0,​·​v260 ····​aput-​object·​v1,​·​v0,​·​v2
Offset 79, 26 lines modifiedOffset 80, 26 lines modified
79 ····​.​annotation·​system·​Ldalvik/​annotation/​Signature;​80 ····​.​annotation·​system·​Ldalvik/​annotation/​Signature;​
80 ········​value·​=·​{81 ········​value·​=·​{
81 ············​"()​V"82 ············​"()​V"
82 ········​}83 ········​}
83 ····​.​end·​annotation84 ····​.​end·​annotation
  
84 ····​.​prologue85 ····​.​prologue
85 ····​.​line·​4286 ····​.​line·​43
86 ····​invoke-​direct·​{p0,​·​p1,​·​p2},​·​Ljava/​lang/​Enum;​-​><init>(Ljava/​lang/​String;​I)​V87 ····​invoke-​direct·​{p0,​·​p1,​·​p2},​·​Ljava/​lang/​Enum;​-​><init>(Ljava/​lang/​String;​I)​V
  
87 ····​return-​void88 ····​return-​void
88 .​end·​method89 .​end·​method
  
89 .​method·​public·​static·​valueOf(Ljava/​lang/​String;​)​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​90 .​method·​public·​static·​valueOf(Ljava/​lang/​String;​)​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​
90 ····​.​locals·​191 ····​.​locals·​1
91 ····​.​param·​p0,​·​"name"····​#·​Ljava/​lang/​String;​92 ····​.​param·​p0,​·​"name"····​#·​Ljava/​lang/​String;​
  
92 ····​.​prologue93 ····​.​prologue
93 ····​.​line·​4294 ····​.​line·​43
94 ····​const-​class·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​95 ····​const-​class·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​
  
95 ····​invoke-​static·​{v0,​·​p0},​·​Ljava/​lang/​Enum;​-​>valueOf(Ljava/​lang/​Class;​Ljava/​lang/​String;​)​Ljava/​lang/​Enum;​96 ····​invoke-​static·​{v0,​·​p0},​·​Ljava/​lang/​Enum;​-​>valueOf(Ljava/​lang/​Class;​Ljava/​lang/​String;​)​Ljava/​lang/​Enum;​
  
96 ····​move-​result-​object·​v097 ····​move-​result-​object·​v0
  
97 ····​check-​cast·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​98 ····​check-​cast·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​
Offset 106, 15 lines modifiedOffset 107, 15 lines modified
106 ····​return-​object·​v0107 ····​return-​object·​v0
107 .​end·​method108 .​end·​method
  
108 .​method·​public·​static·​values()​[Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​109 .​method·​public·​static·​values()​[Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​
109 ····​.​locals·​1110 ····​.​locals·​1
  
110 ····​.​prologue111 ····​.​prologue
111 ····​.​line·​42112 ····​.​line·​43
112 ····​sget-​object·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​-​>$VALUES:​[Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​113 ····​sget-​object·​v0,​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​-​>$VALUES:​[Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​
  
113 ····​invoke-​virtual·​{v0},​·​[Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​-​>clone()​Ljava/​lang/​Object;​114 ····​invoke-​virtual·​{v0},​·​[Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​-​>clone()​Ljava/​lang/​Object;​
  
114 ····​move-​result-​object·​v0115 ····​move-​result-​object·​v0
  
115 ····​check-​cast·​v0,​·​[Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​116 ····​check-​cast·​v0,​·​[Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor$TYPE​;​
5.31 KB
smali/com/jwetherell/heart_rate_monitor/ImageProcessing.smali
Offset 4, 156 lines modifiedOffset 4, 156 lines modified
  
  
4 #·​direct·​methods4 #·​direct·​methods
5 .​method·​public·​constructor·​<init>()​V5 .​method·​public·​constructor·​<init>()​V
6 ····​.​locals·​06 ····​.​locals·​0
  
7 ····​.​prologue7 ····​.​prologue
8 ····​.​line·98 ····​.​line·8
9 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V9 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V
  
10 ····​return-​void10 ····​return-​void
11 .​end·​method11 .​end·​method
  
12 .​method·​public·​static·​decodeYUV420SPtoRedAv​g([BII)​I12 .​method·​public·​static·​decodeYUV420SPtoRedAv​g([BII)​I
13 ····​.​locals·​313 ····​.​locals·​3
14 ····​.​param·​p0,​·​"yuv420sp"····​#·​[B14 ····​.​param·​p0,​·​"yuv420sp"····​#·​[B
15 ····​.​param·​p1,​·​"width"····​#·​I15 ····​.​param·​p1,​·​"width"····​#·​I
16 ····​.​param·​p2,​·​"height"····​#·​I16 ····​.​param·​p2,​·​"height"····​#·​I
  
17 ····​.​prologue17 ····​.​prologue
18 ····​.​line·​5318 ····​.​line·​58
19 ····​if-​nez·​p0,​·​:​cond_019 ····​if-​nez·​p0,​·​:​cond_0
  
20 ····​const/​4·​v2,​·​0x020 ····​const/​4·​v2,​·​0x0
  
21 ····​.​line·5821 ····​.​line·63
22 ····​:​goto_022 ····​:​goto_0
23 ····​return·​v223 ····​return·​v2
  
24 ····​.​line·5524 ····​.​line·60
25 ····​:​cond_025 ····​:​cond_0
26 ····​mul-​int·​v0,​·​p1,​·​p226 ····​mul-​int·​v0,​·​p1,​·​p2
  
27 ····​.​line·5727 ····​.​line·62
28 ····​.​local·​v0,​·​"frameSize":​I28 ····​.​local·​v0,​·​"frameSize":​I
29 ····​invoke-​static·​{p0,​·​p1,​·​p2},​·​Lcom/​jwetherell/​heart_rate_monitor/​ImageProcessing;​-​>decodeYUV420SPtoRedS​um([BII)​I29 ····​invoke-​static·​{p0,​·​p1,​·​p2},​·​Lcom/​jwetherell/​heart_rate_monitor/​ImageProcessing;​-​>decodeYUV420SPtoRedS​um([BII)​I
  
30 ····​move-​result·​v130 ····​move-​result·​v1
  
31 ····​.​line·5831 ····​.​line·63
32 ····​.​local·​v1,​·​"sum":​I32 ····​.​local·​v1,​·​"sum":​I
33 ····​div-​int·​v2,​·​v1,​·​v033 ····​div-​int·​v2,​·​v1,​·​v0
  
34 ····​goto·​:​goto_034 ····​goto·​:​goto_0
35 .​end·​method35 .​end·​method
  
36 .​method·​private·​static·​decodeYUV420SPtoRedSu​m([BII)​I36 .​method·​private·​static·​decodeYUV420SPtoRedSu​m([BII)​I
37 ····​.​locals·​2037 ····​.​locals·​20
38 ····​.​param·​p0,​·​"yuv420sp"····​#·​[B38 ····​.​param·​p0,​·​"yuv420sp"····​#·​[B
39 ····​.​param·​p1,​·​"width"····​#·​I39 ····​.​param·​p1,​·​"width"····​#·​I
40 ····​.​param·​p2,​·​"height"····​#·​I40 ····​.​param·​p2,​·​"height"····​#·​I
  
41 ····​.​prologue41 ····​.​prologue
42 ····​.​line·​1242 ····​.​line·​11
43 ····​if-​nez·​p0,​·​:​cond_143 ····​if-​nez·​p0,​·​:​cond_1
  
44 ····​const/​4·​v9,​·​0x044 ····​const/​4·​v9,​·​0x0
  
45 ····​.​line·​4045 ····​.​line·​42
46 ····​:​cond_046 ····​:​cond_0
47 ····​return·​v947 ····​return·​v9
  
48 ····​.​line·​1448 ····​.​line·​13
49 ····​:​cond_149 ····​:​cond_1
50 ····​mul-​int·​v2,​·​p1,​·​p250 ····​mul-​int·​v2,​·​p1,​·​p2
  
51 ····​.​line·​1651 ····​.​line·​15
52 ····​.​local·​v2,​·​"frameSize":​I52 ····​.​local·​v2,​·​"frameSize":​I
53 ····​const/​4·​v9,​·​0x053 ····​const/​4·​v9,​·​0x0
  
54 ····​.​line·​1754 ····​.​line·​16
55 ····​.​local·​v9,​·​"sum":​I55 ····​.​local·​v9,​·​"sum":​I
56 ····​const/​4·​v5,​·​0x056 ····​const/​4·​v5,​·​0x0
  
57 ····​.​local·​v5,​·​"j":​I57 ····​.​local·​v5,​·​"j":​I
58 ····​const/​16·​v16,​·​0x058 ····​const/​16·​v16,​·​0x0
  
59 ····​.​local·​v16,​·​"yp":​I59 ····​.​local·​v16,​·​"yp":​I
60 ····​:​goto_060 ····​:​goto_0
61 ····​move/​from16·​v0,​·​p261 ····​move/​from16·​v0,​·​p2
  
62 ····​if-​ge·​v5,​·​v0,​·​:​cond_062 ····​if-​ge·​v5,​·​v0,​·​:​cond_0
  
63 ····​.​line·​1863 ····​.​line·​17
64 ····​shr-​int/​lit8·​v17,​·​v5,​·​0x164 ····​shr-​int/​lit8·​v17,​·​v5,​·​0x1
  
65 ····​mul-​int·​v17,​·​v17,​·​p165 ····​mul-​int·​v17,​·​v17,​·​p1
  
66 ····​add-​int·​v11,​·​v2,​·​v1766 ····​add-​int·​v11,​·​v2,​·​v17
  
67 ····​.​local·​v11,​·​"uvp":​I67 ····​.​local·​v11,​·​"uvp":​I
68 ····​const/​4·​v10,​·​0x068 ····​const/​4·​v10,​·​0x0
  
69 ····​.​local·​v10,​·​"u":​I69 ····​.​local·​v10,​·​"u":​I
70 ····​const/​4·​v13,​·​0x070 ····​const/​4·​v13,​·​0x0
  
71 ····​.​line·​1971 ····​.​line·​18
72 ····​.​local·​v13,​·​"v":​I72 ····​.​local·​v13,​·​"v":​I
73 ····​const/​4·​v4,​·​0x073 ····​const/​4·​v4,​·​0x0
  
74 ····​.​local·​v4,​·​"i":​I74 ····​.​local·​v4,​·​"i":​I
75 ····​move·​v12,​·​v1175 ····​move·​v12,​·​v11
  
76 ····​.​end·​local·​v11····​#·​"uvp":​I76 ····​.​end·​local·​v11····​#·​"uvp":​I
77 ····​.​local·​v12,​·​"uvp":​I77 ····​.​local·​v12,​·​"uvp":​I
78 ····​:​goto_178 ····​:​goto_1
79 ····​move/​from16·​v0,​·​p179 ····​move/​from16·​v0,​·​p1
  
80 ····​if-​ge·​v4,​·​v0,​·​:​cond_980 ····​if-​ge·​v4,​·​v0,​·​:​cond_9
  
81 ····​.​line·2081 ····​.​line·19
82 ····​aget-​byte·​v17,​·​p0,​·​v1682 ····​aget-​byte·​v17,​·​p0,​·​v16
  
83 ····​move/​from16·​v0,​·​v1783 ····​move/​from16·​v0,​·​v17
  
84 ····​and-​int/​lit16·​v0,​·​v0,​·​0xff84 ····​and-​int/​lit16·​v0,​·​v0,​·​0xff
  
85 ····​move/​from16·​v17,​·​v085 ····​move/​from16·​v17,​·​v0
  
86 ····​add-​int/​lit8·​v14,​·​v17,​·​-​0x1086 ····​add-​int/​lit8·​v14,​·​v17,​·​-​0x10
  
87 ····​.​line·​2187 ····​.​line·​20
88 ····​.​local·​v14,​·​"y":​I88 ····​.​local·​v14,​·​"y":​I
89 ····​if-​gez·​v14,​·​:​cond_289 ····​if-​gez·​v14,​·​:​cond_2
  
90 ····​const/​4·​v14,​·​0x090 ····​const/​4·​v14,​·​0x0
  
Max diff block lines reached; 2932/5316 bytes (55.15%) of diff not shown.
17.2 KB
smali/com/jwetherell/heart_rate_monitor/HeartRateMonitor$1.smali
Offset 18, 58 lines modifiedOffset 18, 58 lines modified
  
  
18 #·​direct·​methods18 #·​direct·​methods
19 .​method·​constructor·​<init>()​V19 .​method·​constructor·​<init>()​V
20 ····​.​locals·​020 ····​.​locals·​0
  
21 ····​.​prologue21 ····​.​prologue
22 ····​.​line·​11122 ····​.​line·​116
23 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V23 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V
  
24 ····​return-​void24 ····​return-​void
25 .​end·​method25 .​end·​method
  
  
26 #·​virtual·​methods26 #·​virtual·​methods
27 .​method·​public·​onPreviewFrame([BLand​roid/​hardware/​Camera;​)​V27 .​method·​public·​onPreviewFrame([BLand​roid/​hardware/​Camera;​)​V
28 ····​.​locals·​2528 ····​.​locals·​26
29 ····​.​param·​p1,​·​"data"····​#·​[B29 ····​.​param·​p1,​·​"data"····​#·​[B
30 ····​.​param·​p2,​·​"cam"····​#·​Landroid/​hardware/​Camera;​30 ····​.​param·​p2,​·​"cam"····​#·​Landroid/​hardware/​Camera;​
  
31 ····​.​prologue31 ····​.​prologue
32 ····​.​line·​11732 ····​.​line·​123
33 ····​if-​nez·​p1,​·​:​cond_033 ····​if-​nez·​p1,​·​:​cond_0
  
34 ····​new-​instance·​v21,​·​Ljava/​lang/​NullPointerException;​34 ····​new-​instance·​v21,​·​Ljava/​lang/​NullPointerException;​
  
35 ····​invoke-​direct/​range·​{v21·​.​.​·​v21},​·​Ljava/​lang/​NullPointerException;​-​><init>()​V35 ····​invoke-​direct/​range·​{v21·​.​.​·​v21},​·​Ljava/​lang/​NullPointerException;​-​><init>()​V
  
36 ····​throw·​v2136 ····​throw·​v21
  
37 ····​.​line·​11837 ····​.​line·​124
38 ····​:​cond_038 ····​:​cond_0
39 ····​invoke-​virtual/​range·​{p2·​.​.​·​p2},​·​Landroid/​hardware/​Camera;​-​>getParameters()​Landroid/​hardware/​Camera$Parameters;​39 ····​invoke-​virtual/​range·​{p2·​.​.​·​p2},​·​Landroid/​hardware/​Camera;​-​>getParameters()​Landroid/​hardware/​Camera$Parameters;​
  
40 ····​move-​result-​object·​v2140 ····​move-​result-​object·​v21
  
41 ····​invoke-​virtual/​range·​{v21·​.​.​·​v21},​·​Landroid/​hardware/​Camera$Parameters;​-​>getPreviewSize()​Landroid/​hardware/​Camera$Size;​41 ····​invoke-​virtual/​range·​{v21·​.​.​·​v21},​·​Landroid/​hardware/​Camera$Parameters;​-​>getPreviewSize()​Landroid/​hardware/​Camera$Size;​
  
42 ····​move-​result-​object·​v1742 ····​move-​result-​object·​v17
  
43 ····​.​line·​11943 ····​.​line·​125
44 ····​.​local·​v17,​·​"size":​Landroid/​hardware/​Camera$Size;​44 ····​.​local·​v17,​·​"size":​Landroid/​hardware/​Camera$Size;​
45 ····​if-​nez·​v17,​·​:​cond_145 ····​if-​nez·​v17,​·​:​cond_1
  
46 ····​new-​instance·​v21,​·​Ljava/​lang/​NullPointerException;​46 ····​new-​instance·​v21,​·​Ljava/​lang/​NullPointerException;​
  
47 ····​invoke-​direct/​range·​{v21·​.​.​·​v21},​·​Ljava/​lang/​NullPointerException;​-​><init>()​V47 ····​invoke-​direct/​range·​{v21·​.​.​·​v21},​·​Ljava/​lang/​NullPointerException;​-​><init>()​V
  
48 ····​throw·​v2148 ····​throw·​v21
  
49 ····​.​line·​12149 ····​.​line·​127
50 ····​:​cond_150 ····​:​cond_1
51 ····​#·​getter·​for:​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>processing:​Ljava/​util/​concurrent/​atomic/​AtomicBoolean;​51 ····​#·​getter·​for:​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>processing:​Ljava/​util/​concurrent/​atomic/​AtomicBoolean;​
52 ····​invoke-​static·​{},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>access$000()​Ljava/​util/​concurrent/​atomic/​AtomicBoolean;​52 ····​invoke-​static·​{},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>access$000()​Ljava/​util/​concurrent/​atomic/​AtomicBoolean;​
  
53 ····​move-​result-​object·​v2153 ····​move-​result-​object·​v21
  
54 ····​const/​16·​v22,​·​0x054 ····​const/​16·​v22,​·​0x0
Offset 78, 33 lines modifiedOffset 78, 33 lines modified
  
78 ····​invoke-​virtual/​range·​{v21·​.​.​·​v23},​·​Ljava/​util/​concurrent/​atomic/​AtomicBoolean;​-​>compareAndSet(ZZ)​Z78 ····​invoke-​virtual/​range·​{v21·​.​.​·​v23},​·​Ljava/​util/​concurrent/​atomic/​AtomicBoolean;​-​>compareAndSet(ZZ)​Z
  
79 ····​move-​result·​v2179 ····​move-​result·​v21
  
80 ····​if-​nez·​v21,​·​:​cond_280 ····​if-​nez·​v21,​·​:​cond_2
  
81 ····​.​line·19681 ····​.​line·203
82 ····​:​goto_082 ····​:​goto_0
83 ····​return-​void83 ····​return-​void
  
84 ····​.​line·​12384 ····​.​line·​129
85 ····​:​cond_285 ····​:​cond_2
86 ····​move-​object/​from16·​v0,​·​v1786 ····​move-​object/​from16·​v0,​·​v17
  
87 ····​iget·​v0,​·​v0,​·​Landroid/​hardware/​Camera$Size;​-​>width:​I87 ····​iget·​v0,​·​v0,​·​Landroid/​hardware/​Camera$Size;​-​>width:​I
  
88 ····​move/​from16·​v20,​·​v088 ····​move/​from16·​v20,​·​v0
  
89 ····​.​line·​12489 ····​.​line·​130
90 ····​.​local·​v20,​·​"width":​I90 ····​.​local·​v20,​·​"width":​I
91 ····​move-​object/​from16·​v0,​·​v1791 ····​move-​object/​from16·​v0,​·​v17
  
92 ····​iget·​v12,​·​v0,​·​Landroid/​hardware/​Camera$Size;​-​>height:​I92 ····​iget·​v12,​·​v0,​·​Landroid/​hardware/​Camera$Size;​-​>height:​I
  
93 ····​.​line·​12693 ····​.​line·​132
94 ····​.​local·​v12,​·​"height":​I94 ····​.​local·​v12,​·​"height":​I
95 ····​invoke-​virtual/​range·​{p1·​.​.​·​p1},​·​[B-​>clone()​Ljava/​lang/​Object;​95 ····​invoke-​virtual/​range·​{p1·​.​.​·​p1},​·​[B-​>clone()​Ljava/​lang/​Object;​
  
96 ····​move-​result-​object·​v2196 ····​move-​result-​object·​v21
  
97 ····​check-​cast·​v21,​·​[B97 ····​check-​cast·​v21,​·​[B
  
Offset 112, 46 lines modifiedOffset 112, 46 lines modified
  
112 ····​move/​from16·​v1,​·​v20112 ····​move/​from16·​v1,​·​v20
  
113 ····​invoke-​static·​{v0,​·​v12,​·​v1},​·​Lcom/​jwetherell/​heart_rate_monitor/​ImageProcessing;​-​>decodeYUV420SPtoRedA​vg([BII)​I113 ····​invoke-​static·​{v0,​·​v12,​·​v1},​·​Lcom/​jwetherell/​heart_rate_monitor/​ImageProcessing;​-​>decodeYUV420SPtoRedA​vg([BII)​I
  
114 ····​move-​result·​v14114 ····​move-​result·​v14
  
115 ····​.​line·​128115 ····​.​line·​134
116 ····​.​local·​v14,​·​"imgAvg":​I116 ····​.​local·​v14,​·​"imgAvg":​I
117 ····​if-​eqz·​v14,​·​:​cond_3117 ····​if-​eqz·​v14,​·​:​cond_3
  
118 ····​const/​16·​v21,​·​0xff118 ····​const/​16·​v21,​·​0xff
  
119 ····​move/​from16·​v0,​·​v21119 ····​move/​from16·​v0,​·​v21
  
120 ····​if-​ne·​v14,​·​v0,​·​:​cond_4120 ····​if-​ne·​v14,​·​v0,​·​:​cond_4
  
121 ····​.​line·​129121 ····​.​line·​135
122 ····​:​cond_3122 ····​:​cond_3
123 ····​#·​getter·​for:​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>processing:​Ljava/​util/​concurrent/​atomic/​AtomicBoolean;​123 ····​#·​getter·​for:​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>processing:​Ljava/​util/​concurrent/​atomic/​AtomicBoolean;​
124 ····​invoke-​static·​{},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>access$000()​Ljava/​util/​concurrent/​atomic/​AtomicBoolean;​124 ····​invoke-​static·​{},​·​Lcom/​jwetherell/​heart_rate_monitor/​HeartRateMonitor;​-​>access$000()​Ljava/​util/​concurrent/​atomic/​AtomicBoolean;​
  
125 ····​move-​result-​object·​v21125 ····​move-​result-​object·​v21
  
126 ····​const/​16·​v22,​·​0x0126 ····​const/​16·​v22,​·​0x0
  
127 ····​invoke-​virtual/​range·​{v21·​.​.​·​v22},​·​Ljava/​util/​concurrent/​atomic/​AtomicBoolean;​-​>set(Z)​V127 ····​invoke-​virtual/​range·​{v21·​.​.​·​v22},​·​Ljava/​util/​concurrent/​atomic/​AtomicBoolean;​-​>set(Z)​V
  
128 ····​goto·​:​goto_0128 ····​goto·​:​goto_0
  
129 ····​.​line·​133129 ····​.​line·​139
130 ····​:​cond_4130 ····​:​cond_4
131 ····​const/​4·​v2,​·​0x0131 ····​const/​4·​v2,​·​0x0
  
Max diff block lines reached; 14100/17445 bytes (80.83%) of diff not shown.
98.5 KB
res/drawable-hdpi-v4/icon.png
91.5 KB
sng
Max report size reached
6.85 KB
Image content
Pixel difference
compared images
Flicker difference
compared images