[Android General] Abdullaharis:
Continued.

find below method

.method updateRecentsTasks(Landroid/content/Intent;)V

replace whole method with this

.method updateRecentsTasks(Landroid/content/Intent;)V
.locals 19
.param p1, "launchIntent" # Landroid/content/Intent;

.prologue
.line 189
const-string v16, "recents.triggeredOverSearchHome"

const/16 v17, 0x0

move-object/from16 v0, p1

move-object/from16 v1, v16

move/from16 v2, v17

invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

move-result v3

.line 191
.local v3, "fromSearchHome":Z
move-object/from16 v0, p0

iget-object v0, v0, Lcom/android/systemui/recents/RecentsActivity;->mConfig:Lcom/android/systemui/recents/RecentsConfiguration;

move-object/from16 v17, v0

if-nez v3, :cond_0

const-string v16, "recents.triggeredOverHome"

const/16 v18, 0x0

move-object/from16 v0, p1

move-object/from16 v1, v16

move/from16 v2, v18

invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

move-result v16

if-eqz v16, :cond_3

:cond_0
const/16 v16, 0x1

:goto_0
move/from16 v0, v16

move-object/from16 v1, v17

iput-boolean v0, v1, Lcom/android/systemui/recents/RecentsConfiguration;->launchedFromHome:Z

.line 193
move-object/from16 v0, p0

iget-object v0, v0, Lcom/android/systemui/recents/RecentsActivity;->mConfig:Lcom/android/systemui/recents/RecentsConfiguration;

move-object/from16 v16, v0

const-string v17, "recents.animatingWithThumbnail"

const/16 v18, 0x0

move-object/from16 v0, p1

move-object/from16 v1, v17

move/from16 v2, v18

invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

move-result v17

move/from16 v0, v17

move-object/from16 v1, v16

iput-boolean v0, v1, Lcom/android/systemui/recents/RecentsConfiguration;->launchedFromAppWithThumbnail:Z

.line 195
move-object/from16 v0, p0

iget-object v0, v0, Lcom/android/systemui/recents/RecentsActivity;->mConfig:Lcom/android/systemui/recents/RecentsConfiguration;

move-object/from16 v16, v0

const-string v17, "recents.thumbnail"

const/16 v18, 0x0

move-object/from16 v0, p1

move-object/from16 v1, v17

move/from16 v2, v18

invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

move-result v17

move/from16 v0, v17

move-object/from16 v1, v16

iput-boolean v0, v1, Lcom/android/systemui/recents/RecentsConfiguration;->launchedFromAppWithScreenshot:Z

.line 197
move-object/from16 v0, p0

iget-object v0, v0, Lcom/android/systemui/recents/RecentsActivity;->mConfig:Lcom/android/systemui/recents/RecentsConfiguration;

move-object/from16 v16, v0

const-string v17, "recents.activeTaskId"

const/16 v18, -0x1

move-object/from16 v0, p1

move-object/from16 v1, v17

move/from16 v2, v18

invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

move-result v17

move/from16 v0, v17

move-object/from16 v1, v16

iput v0, v1, Lcom/android/systemui/recents/RecentsConfiguration;->launchedToTaskId:I

.line 199
move-object/from16 v0, p0

iget-object v0, v0, Lcom/android/systemui/recents/RecentsActivity;->mConfig:Lcom/android/systemui/recents/RecentsConfiguration;

move-object/from16 v16, v0

const-string v17, "recents.triggeredFromAltTab"

const/16 v18, 0x0

move-object/from16 v0, p1

move-object/from16 v1, v17

move/from16 v2, v18

invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

move-result v17

move/from16 v0, v17

move-object/from16 v1, v16

iput-boolean v0, v1, Lcom/android/systemui/recents/RecentsConfiguration;->launchedWithAltTab:Z

.line 203
invoke-static {}, Lcom/android/systemui/recents/model/RecentsTaskLoader;->getInstance()Lcom/android/systemui/recents/model/RecentsTaskLoader;

move-result-object v7

.line 204
.local v7, "loader":Lcom/android/systemui/recents/model/RecentsTaskLoader;
const/16 v16, 0x6

move-object/from16 v0, p0

iget-object v0, v0, Lcom/android/systemui/recents/RecentsActivity;->mConfig:Lcom/android/systemui/recents/RecentsConfiguration;

move-object/from16 v17, v0

move-object/from16 v0, v17

iget-boolean v0, v0, Lcom/android/systemui/recents/RecentsConfiguration;->launchedFromHome:Z

move/from16 v17, v0

move-object/from16 v0, p0

move/from16 v1, v16

move/from16 v2, v17

invoke-virtual {v7, v0, v1, v2}, Lcom/android/systemui/recents/model/RecentsTaskLoader;->reload(Landroid/content/Context;IZ)Lcom/android/systemui/recents/model/SpaceNode;

move-result-object v9

.line 207
.local v9, "root":Lcom/android/systemui/recents/model/SpaceNode;
invoke-virtual {v9}, Lcom/android/systemui/recents/model/SpaceNode;->getStacks()Ljava/util/ArrayList;

move-result-object v11

.line 208
.local v11, "stacks":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/android/systemui/recents/model/TaskStack;>;"
invoke-virtual {v11}, Ljava/util/ArrayList;->isEmpty()Z

move-result v16

if-nez v16, :cond_1

.line 209
move-object/from16 v0, p0

iget-object v0, v0, Lcom/android/systemui/recents/RecentsActivity;->mRecentsView:Lcom/android/systemui/recents/views/RecentsView;

move-object/from16 v16, v0

invoke-virtual {v9}, Lcom/android/systemui/recents/model/SpaceNode;->getStacks()Ljava/util/ArrayList;

move-result-object v17

invoke-virtual/range {v16 .. v17}, Lcom/android/systemui/recents/views/RecentsView;->setTaskStacks(Ljava/util/ArrayList;)V

.line 211
:cond_1
move-object/from16 v0, p0

iget-object v0, v0, Lcom/android/systemui/recents/RecentsActivity;->mConfig:Lcom/android/systemui/recents/RecentsConfiguration;

move-object/from16 v17, v0

invoke-virtual {v9}, Lcom/android/systemui/recents/model/SpaceNode;->hasTasks()Z

move-result v16

if-nez v16, :cond_4

const/16 v16, 0x1

:goto_1
move/from16 v0, v16

move-object/from16 v1, v17

iput-boolean v0, v1, Lcom/android/systemui/recents/RecentsConfiguration;->launchedWithNoRecentTasks:Z

.line 214
new-instance v4, Landroid/content/Intent;

const-string v16, "android.intent.action.MAIN"

const/16 v17, 0x0

move-object/from16 v0, v16

move-object/from16 v1, v17

invoke-direct {v4, v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V

.line 215
.local v4, "homeIntent":Landroid/content/Intent;
const-string v16, "android.intent.category.HOME"

move-object/from16 v0, v16

invoke-virtual {v4, v0}, Landroid/content/Intent;->addCategory(Ljava/lang/String;)Landroid/content/Intent;

.line 216
const/high16 v16, 0x10200000

move/from16 v0, v16

invoke-virtual {v4, v0}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

.line 218
new-instance v18, Lcom/android/systemui/recents/RecentsActivity$FinishRecentsRunnable;

if-eqz v3, :cond_5

const v16, 0x7f05002e

move/from16 v17, v16

:goto_2
if-eqz v3, :cond_6

const v16, 0x7f05002f

:goto_3
move-object/from16 v0, p0

move/from16 v1, v17

move/from16 v2, v16

invoke-static {v0, v1, v2}, Landroid/app/ActivityOptions;->makeCustomAnimation(Landroid/content/Context;II)Landroid/app/ActivityOptions;

move-result-object v16

move-object/from16 v0, v18

move-object/from16 v1, p0

move-object/from16 v2, v16

invoke-direct {v0, v1, v4, v2}, Lcom/android/systemui/recents/RecentsActivity$FinishRecentsRunnable;-><init>(Lcom/android/systemui/recents/RecentsActivity;Landroid/content/Intent;Landroid/app/ActivityOptions;)V

move-object/from16 v0, v18

move-object/from16 v1, p0

iput-object v0, v1, Lcom/android/systemui/recents/RecentsActivity;->mFinishLaunchHomeRunnable:Lcom/android/systemui/recents/RecentsActivity$FinishRecentsRunnable;

.line 226
invoke-virtual {v11}, Ljava/util/ArrayList;->size()I

move-result v14

.line 227
.local v14, "taskStackCount":I
move-object/from16 v0, p0

iget-object v0, v0, Lcom/android/systemui/recents/RecentsActivity;->mConfig:Lcom/android/systemui/recents/RecentsConfiguration;

move-object/from16 v16, v0

move-object/from16 v0, v16

iget v0, v0, Lcom/android/systemui/recents/RecentsConfiguration;->launchedToTaskId:I

move/from16 v16, v0

const/16 v17, -0x1

move/from16 v0, v16

move/from16 v1, v17

if-eq v0, v1, :cond_8

.line 228
const/4 v5, 0x0

.local v5, "i":I
:goto_4
if-ge v5, v14, :cond_8

.line 229
invoke-virtual {v11, v5}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

move-result-object v10

check-cast v10, Lcom/android/systemui/recents/model/TaskStack;

.line 230
.local v10, "stack":Lcom/android/systemui/recents/model/TaskStack;
invoke-virtual {v10}, Lcom/android/systemui/recents/model/TaskStack;->getTasks()Ljava/util/ArrayList;

move-result-object v15

.line 231
.local v15, "tasks":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/android/systemui/recents/model/Task;>;"
invoke-virtual {v15}, Ljava/util/ArrayList;->size()I

move-result v13

.line 232
.local v13, "taskCount":I
const/4 v6, 0x0

.local v6, "j":I
:goto_5
if-ge v6, v13, :cond_2

.line 233
invoke-virtual {v15, v6}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

move-result-object v12

check-cast v12, Lcom/android/systemui/recents/model/Task;

.line 234
.local v12, "t":Lcom/android/systemui/recents/model/Task;
iget-object v0, v12, Lcom/android/systemui/recents/model/Task;->key:Lcom/android/systemui/recents/model/Task$TaskKey;

move-object/from16 v16, v0

move-object/from16 v0, v16

iget v0, v0, Lcom/android/systemui/recents/model/Task$TaskKey;->id:I

move/from16 v16, v0

move-object/from16 v0, p0

iget-object v0, v0, Lcom/android/systemui/recents/RecentsActivity;->mConfig:Lcom/android/systemui/recents/RecentsConfiguration;

move-object/from16 v17, v0

move-object/from16 v0, v17

iget v0, v0, Lcom/android/systemui/recents/RecentsConfiguration;->launchedToTaskId:I

move/from16 v17, v0

move/from16 v0, v16

move/from16 v1, v17

if-ne v0, v1, :cond_7

.line 235
const/16 v16, 0x1

move/from16 v0, v16

iput-boolean v0, v12, Lcom/android/systemui/recents/model/Task;->isLaunchTarget:Z

.line 228
.end local v12 # "t":Lcom/android/systemui/recents/model/Task;
:cond_2
add-int/lit8 v5, v5, 0x1

goto :goto_4

.line 191
.end local v4 # "homeIntent":Landroid/content/Intent;
.end local v5 # "i":I
.end local v6 # "j":I
.end local v7 # "loader":Lcom/android/systemui/recents/model/RecentsTaskLoader;
.end local v9 # "root":Lcom/android/systemui/recents/model/SpaceNode;
.end local v10 # "stack":Lcom/android/systemui/recents/model/TaskStack;
.end local v11 # "stacks":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/android/systemui/recents/model/TaskStack;>;"
.end local v13 # "taskCount":I
.end local v14 # "taskStackCount":I
.end local v15 # "tasks":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/android/systemui/recents/model/Task;>;"
:cond_3
const/16 v16, 0x0

goto/16 :goto_0

.line 211
.restart local v7 # "loader":Lcom/android/systemui/recents/model/RecentsTaskLoader;
.restart local v9 # "root":Lcom/android/systemui/recents/model/SpaceNode;
.restart local v11 # "stacks":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/android/systemui/recents/model/TaskStack;>;"
:cond_4
const/16 v16, 0x0

goto/16 :goto_1

.line 218
.restart local v4 # "homeIntent":Landroid/content/Intent;
:cond_5
const v16, 0x7f05002c

move/from16 v17, v16

goto/16 :goto_2

:cond_6
const v16, 0x7f05002d

goto/16 :goto_3

.line 232
.restart local v5 # "i":I
.restart local v6 # "j":I
.restart local v10 # "stack":Lcom/android/systemui/recents/model/TaskStack;
.restart local v12 # "t":Lcom/android/systemui/recents/model/Task;
.restart local v13 # "taskCount":I
.restart local v14 # "taskStackCount":I
.restart local v15 # "tasks":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/android/systemui/recents/model/Task;>;"
:cond_7
add-int/lit8 v6, v6, 0x1

goto :goto_5

.line 243
.end local v5 # "i":I
.end local v6 # "j":I
.end local v10 # "stack":Lcom/android/systemui/recents/model/TaskStack;
.end local v12 # "t":Lcom/android/systemui/recents/model/Task;
.end local v13 # "taskCount":I
.end local v15 # "tasks":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/android/systemui/recents/model/Task;>;"
:cond_8
move-object/from16 v0, p0

iget-object v0, v0, Lcom/android/systemui/recents/RecentsActivity;->mConfig:Lcom/android/systemui/recents/RecentsConfiguration;

move-object/from16 v16, v0

move-object/from16 v0, v16

iget-boolean v0, v0, Lcom/android/systemui/recents/RecentsConfiguration;->launchedWithNoRecentTasks:Z

move/from16 v16, v0

if-eqz v16, :cond_d

.line 244
move-object/from16 v0, p0

iget-object v0, v0, Lcom/android/systemui/recents/RecentsActivity;->mEmptyView:Landroid/view/View;

move-object/from16 v16, v0

if-nez v16, :cond_9

.line 245
move-object/from16 v0, p0

iget-object v0, v0, Lcom/android/systemui/recents/RecentsActivity;->mEmptyViewStub:Landroid/view/ViewStub;

move-object/from16 v16, v0

invoke-virtual/range {v16 .. v16}, Landroid/view/ViewStub;->inflate()Landroid/view/View;

move-result-object v16

move-object/from16 v0, v16

move-object/from16 v1, p0

iput-object v0, v1, Lcom/android/systemui/recents/RecentsActivity;->mEmptyView:Landroid/view/View;

.line 247
:cond_9
move-object/from16 v0, p0

iget-object v0, v0, Lcom/android/systemui/recents/RecentsActivity;->mEmptyView:Landroid/view/View;

move-object/from16 v16, v0

const/16 v17, 0x0

invoke-virtual/range {v16 .. v17}, Landroid/view/View;->setVisibility(I)V

.line 248
move-object/from16 v0, p0

iget-object v0, v0, Lcom/android/systemui/recents/RecentsActivity;->mRecentsView:Lcom/android/systemui/recents/views/RecentsView;

move-object/from16 v16, v0

const/16 v17, 0x8

invoke-virtual/range {v16 .. v17}, Lcom/android/systemui/recents/views/RecentsView;->setSearchBarVisibility(I)V

.line 249
const v16, 0x7f0e0170

move-object/from16 v0, p0

move/from16 v1, v16

invoke-virtual {v0, v1}, Lcom/android/systemui/recents/RecentsActivity;->findViewById(I)Landroid/view/View;

move-result-object v16

const/16 v17, 0x8

invoke-virtual/range {v16 .. v17}, Landroid/view/View;->setVisibility(I)V

.line 273
:cond_a
:goto_6
invoke-virtual/range {p0 .. p0}, Lcom/android/systemui/recents/RecentsActivity;->getResources()Landroid/content/res/Resources;

move-result-object v8

.line 275
.local v8, "reso":Landroid/content/res/Resources;
invoke-virtual/range {p0 .. p0}, Lcom/android/systemui/recents/RecentsActivity;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v16

const-string v17, "recents_show_hide_search_bar"

const/16 v18, 0x0

invoke-static/range {v16 .. v18}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v16

const/16 v17, 0x1

move/from16 v0, v16

move/from16 v1, v17

if-eq v0, v1, :cond_b

.line 277
const/16 v16, 0x0

sput v16, Lcom/android/systemui/recents/RecentsConfiguration;->searchBarSpaceHeightPx:I

.line 281
:cond_b
invoke-virtual/range {p0 .. p0}, Lcom/android/systemui/recents/RecentsActivity;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v16

const-string v17, "recents_show_hide_search_bar"

const/16 v18, 0x1

invoke-static/range {v16 .. v18}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v16

if-eqz v16, :cond_c

.line 283
const v16, 0x7f08006d

move/from16 v0, v16

invoke-virtual {v8, v0}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

move-result v16

sput v16, Lcom/android/systemui/recents/RecentsConfiguration;->searchBarSpaceHeightPx:I

.line 287
:cond_c
move-object/from16 v0, p0

iget-object v0, v0, Lcom/android/systemui/recents/RecentsActivity;->mScrimViews:Lcom/android/systemui/recents/views/SystemBarScrimViews;

move-object/from16 v16, v0

invoke-virtual/range {v16 .. v16}, Lcom/android/systemui/recents/views/SystemBarScrimViews;->prepareEnterRecentsAnimation()V

.line 288
return-void

.line 251
.end local v8 # "reso":Landroid/content/res/Resources;
:cond_d
move-object/from16 v0, p0

iget-object v0, v0, Lcom/android/systemui/recents/RecentsActivity;->mEmptyView:Landroid/view/View;

move-object/from16 v16, v0

if-eqz v16, :cond_e

.line 252
move-object/from16 v0, p0

iget-object v0, v0, Lcom/android/systemui/recents/RecentsActivity;->mEmptyView:Landroid/view/View;

move-object/from16 v16, v0

const/16 v17, 0x8

invoke-virtual/range {v16 .. v17}, Landroid/view/View;->setVisibility(I)V

.line 254
:cond_e
const v16, 0x7f0e0170

move-object/from16 v0, p0

move/from16 v1, v16

invoke-virtual {v0, v1}, Lcom/android/systemui/recents/RecentsActivity;->findViewById(I)Landroid/view/View;

move-result-object v16

const/16 v17, 0x0

invoke-virtual/range {v16 .. v17}, Landroid/view/View;->setVisibility(I)V

.line 255
move-object/from16 v0, p0

iget-object v0, v0, Lcom/android/systemui/recents/RecentsActivity;->mRecentsView:Lcom/android/systemui/recents/views/RecentsView;

move-object/from16 v16, v0

invoke-virtual/range {v16 .. v16}, Lcom/android/systemui/recents/views/RecentsView;->hasSearchBar()Z

move-result v16

if-eqz v16, :cond_10

.line 257
invoke-virtual/range {p0 .. p0}, Lcom/android/systemui/recents/RecentsActivity;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v16

const-string v17, "recents_show_hide_search_bar"

const/16 v18, 0x0

invoke-static/range {v16 .. v18}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v16

const/16 v17, 0x1

move/from16 v0, v16

move/from16 v1, v17

if-ne v0, v1, :cond_f

.line 259
move-object/from16 v0, p0

iget-object v0, v0, Lcom/android/systemui/recents/RecentsActivity;->mRecentsView:Lcom/android/systemui/recents/views/RecentsView;

move-object/from16 v16, v0

const/16 v17, 0x0

invoke-virtual/range {v16 .. v17}, Lcom/android/systemui/recents/views/RecentsView;->setSearchBarVisibility(I)V

goto/16 :goto_6

.line 261
:cond_f
move-object/from16 v0, p0

iget-object v0, v0, Lcom/android/systemui/recents/RecentsActivity;->mRecentsView:Lcom/android/systemui/recents/views/RecentsView;

move-object/from16 v16, v0

const/16 v17, 0x8

invoke-virtual/range {v16 .. v17}, Lcom/android/systemui/recents/views/RecentsView;->setSearchBarVisibility(I)V

goto/16 :goto_6

.line 264
:cond_10
invoke-virtual/range {p0 .. p0}, Lcom/android/systemui/recents/RecentsActivity;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v16

const-string v17, "recents_show_hide_search_bar"

const/16 v18, 0x0

invoke-static/range {v16 .. v18}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v16

const/16 v17, 0x1

move/from16 v0, v16

move/from16 v1, v17

if-ne v0, v1, :cond_a

.line 266
invoke-virtual/range {p0 .. p0}, Lcom/android/systemui/recents/RecentsActivity;->addSearchBarAppWidgetView()V

goto/16 :goto_6
.end method

Find and replace id's

8.Open SystemUI\smali\com\android\systemui\recents\views\RecentsView.smali

find

.field mDebugOverlay:Lcom/android/systemui/recents/views/DebugOverlayView;

below add a new field

.field mFloatingButton:Landroid/view/View;

find below method

.method public dismissFocusedTask()V

below add a new method

.method public endFABanimation()V
.locals 4

.prologue
.line 360
invoke-virtual {p0}, Lcom/android/systemui/recents/views/RecentsView;->getParent()Landroid/view/ViewParent;

move-result-object v0

check-cast v0, Landroid/view/View;

const v1, 0x7f0e0170

invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

move-result-object v0

iput-object v0, p0, Lcom/android/systemui/recents/views/RecentsView;->mFloatingButton:Landroid/view/View;

.line 361
iget-object v0, p0, Lcom/android/systemui/recents/views/RecentsView;->mFloatingButton:Landroid/view/View;

invoke-virtual {v0}, Landroid/view/View;->animate()Landroid/view/ViewPropertyAnimator;

move-result-object v0

const/4 v1, 0x0

invoke-virtual {v0, v1}, Landroid/view/ViewPropertyAnimator;->alpha(F)Landroid/view/ViewPropertyAnimator;

move-result-object v0

const-wide/16 v2, 0x0

invoke-virtual {v0, v2, v3}, Landroid/view/ViewPropertyAnimator;->setStartDelay(J)Landroid/view/ViewPropertyAnimator;

move-result-object v0

iget-object v1, p0, Lcom/android/systemui/recents/views/RecentsView;->mConfig:Lcom/android/systemui/recents/RecentsConfiguration;

iget v1, v1, Lcom/android/systemui/recents/RecentsConfiguration;->taskBarExitAnimDuration:I

int-to-long v2, v1

invoke-virtual {v0, v2, v3}, Landroid/view/ViewPropertyAnimator;->setDuration(J)Landroid/view/ViewPropertyAnimator;

move-result-object v0

iget-object v1, p0, Lcom/android/systemui/recents/views/RecentsView;->mConfig:Lcom/android/systemui/recents/RecentsConfiguration;

iget-object v1, v1, Lcom/android/systemui/recents/RecentsConfiguration;->fastOutLinearInInterpolator:Landroid/view/animation/Interpolator;

invoke-virtual {v0, v1}, Landroid/view/ViewPropertyAnimator;->setInterpolator(Landroid/animation/TimeInterpolator;)Landroid/view/ViewPropertyAnimator;

move-result-object v0

invoke-virtual {v0}, Landroid/view/ViewPropertyAnimator;->withLayer()Landroid/view/ViewPropertyAnimator;

move-result-object v0

invoke-virtual {v0}, Landroid/view/ViewPropertyAnimator;->start()V

.line 367
return-void
.end method

find and replace id

find

.method protected onAttachedToWindow()V

replace whole method with this

.method protected onAttachedToWindow()V
.locals 2

.prologue
.line 371
invoke-super {p0}, Landroid/widget/FrameLayout;->onAttachedToWindow()V

.line 372
invoke-virtual {p0}, Lcom/android/systemui/recents/views/RecentsView;->getParent()Landroid/view/ViewParent;

move-result-object v0

check-cast v0, Landroid/view/View;

const v1, 0x7f0e0170

invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

move-result-object v0

iput-object v0, p0, Lcom/android/systemui/recents/views/RecentsView;->mFloatingButton:Landroid/view/View;

.line 373
invoke-virtual {p0}, Lcom/android/systemui/recents/views/RecentsView;->getParent()Landroid/view/ViewParent;

move-result-object v0

check-cast v0, Landroid/view/View;

const v1, 0x7f0e0115

invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

move-result-object v0

iput-object v0, p0, Lcom/android/systemui/recents/views/RecentsView;->mClearRecents:Landroid/view/View;

.line 374
iget-object v0, p0, Lcom/android/systemui/recents/views/RecentsView;->mClearRecents:Landroid/view/View;

new-instance v1, Lcom/android/systemui/recents/views/RecentsView$1;

invoke-direct {v1, p0}, Lcom/android/systemui/recents/views/RecentsView$1;-><init>(Lcom/android/systemui/recents/views/RecentsView;)V

invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

.line 379
return-void
.end method

find and replace id's

continued on next page