Merge "Updating the UI for focused state of an icon/folder." into ub-now-porkchop
This commit is contained in:
commit
4a0eda76ba
22 files changed
+201
-17
No files matched your search
@@ -381,6 +381,8 @@ public class Launcher extends Activity
|
||||
|
||||
private Stats mStats;
|
||||
|
||||
FocusIndicatorView mFocusHandler;
|
||||
|
||||
static boolean isPropertyEnabled(String propertyName) {
|
||||
return Log.isLoggable(propertyName, Log.VERBOSE);
|
||||
}
|
||||
@@ -1278,6 +1280,7 @@ public class Launcher extends Activity
|
||||
final DragController dragController = mDragController;
|
||||
|
||||
mLauncherView = findViewById(R.id.launcher);
|
||||
mFocusHandler = (FocusIndicatorView) findViewById(R.id.focus_indicator);
|
||||
mDragLayer = (DragLayer) findViewById(R.id.drag_layer);
|
||||
mWorkspace = (Workspace) mDragLayer.findViewById(R.id.workspace);
|
||||
mWorkspace.setPageSwitchListener(this);
|
||||
@@ -1417,6 +1420,7 @@ public class Launcher extends Activity
|
||||
BubbleTextView favorite = (BubbleTextView) mInflater.inflate(layoutResId, parent, false);
|
||||
favorite.applyFromShortcutInfo(info, mIconCache, true);
|
||||
favorite.setOnClickListener(this);
|
||||
favorite.setOnFocusChangeListener(mFocusHandler);
|
||||
return favorite;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user