Loading src/com/android/launcher3/Launcher.java +4 −0 Original line number Diff line number Diff line Loading @@ -2443,11 +2443,15 @@ public class Launcher extends Activity */ protected void onClickAllAppsButton(View v) { if (LOGD) Log.d(TAG, "onClickAllAppsButton"); mWorkspace.setWallpaperDimension(); /* if (isAllAppsVisible()) { showWorkspace(true); } else { showAllApps(true, AppsCustomizePagedView.ContentType.Applications, false); } */ } /** Loading src/com/android/launcher3/Workspace.java +3 −3 Original line number Diff line number Diff line Loading @@ -460,7 +460,7 @@ public class Workspace extends SmoothPagedView mFlingThresholdVelocity = (int) (FLING_THRESHOLD_VELOCITY * mDensity); // Set the wallpaper dimensions when Launcher starts up setWallpaperDimension(); //setWallpaperDimension(); } private void setupLayoutTransition() { Loading Loading @@ -1269,7 +1269,7 @@ public class Workspace extends SmoothPagedView return mCustomContentCallbacks; } protected void setWallpaperDimension() { public void setWallpaperDimension() { new AsyncTask<Void, Void, Void>() { public Void doInBackground(Void ... args) { String spKey = WallpaperCropActivity.getSharedPreferencesKey(); Loading Loading @@ -1764,7 +1764,7 @@ public class Workspace extends SmoothPagedView // Update wallpaper dimensions if they were changed since last onResume // (we also always set the wallpaper dimensions in the constructor) if (LauncherAppState.getInstance().hasWallpaperChangedSinceLastCheck()) { setWallpaperDimension(); //setWallpaperDimension(); } mWallpaperIsLiveWallpaper = mWallpaperManager.getWallpaperInfo() != null; // Force the wallpaper offset steps to be set again, because another app might have changed Loading Loading
src/com/android/launcher3/Launcher.java +4 −0 Original line number Diff line number Diff line Loading @@ -2443,11 +2443,15 @@ public class Launcher extends Activity */ protected void onClickAllAppsButton(View v) { if (LOGD) Log.d(TAG, "onClickAllAppsButton"); mWorkspace.setWallpaperDimension(); /* if (isAllAppsVisible()) { showWorkspace(true); } else { showAllApps(true, AppsCustomizePagedView.ContentType.Applications, false); } */ } /** Loading
src/com/android/launcher3/Workspace.java +3 −3 Original line number Diff line number Diff line Loading @@ -460,7 +460,7 @@ public class Workspace extends SmoothPagedView mFlingThresholdVelocity = (int) (FLING_THRESHOLD_VELOCITY * mDensity); // Set the wallpaper dimensions when Launcher starts up setWallpaperDimension(); //setWallpaperDimension(); } private void setupLayoutTransition() { Loading Loading @@ -1269,7 +1269,7 @@ public class Workspace extends SmoothPagedView return mCustomContentCallbacks; } protected void setWallpaperDimension() { public void setWallpaperDimension() { new AsyncTask<Void, Void, Void>() { public Void doInBackground(Void ... args) { String spKey = WallpaperCropActivity.getSharedPreferencesKey(); Loading Loading @@ -1764,7 +1764,7 @@ public class Workspace extends SmoothPagedView // Update wallpaper dimensions if they were changed since last onResume // (we also always set the wallpaper dimensions in the constructor) if (LauncherAppState.getInstance().hasWallpaperChangedSinceLastCheck()) { setWallpaperDimension(); //setWallpaperDimension(); } mWallpaperIsLiveWallpaper = mWallpaperManager.getWallpaperInfo() != null; // Force the wallpaper offset steps to be set again, because another app might have changed Loading