Loading quickstep/src/com/android/quickstep/FallbackSwipeHandler.java +1 −1 Original line number Diff line number Diff line Loading @@ -371,8 +371,8 @@ public class FallbackSwipeHandler extends if (mSpringAnim != null) { mSpringAnim.onTargetPositionChanged(); } mOnFinishCallback = data.getParcelable(EXTRA_ON_FINISH_CALLBACK); } mOnFinishCallback = data.getParcelable(EXTRA_ON_FINISH_CALLBACK); maybeSendEndMessage(); } catch (Exception e) { // Ignore Loading src/com/android/launcher3/views/FloatingSurfaceView.java +4 −2 Original line number Diff line number Diff line Loading @@ -175,7 +175,6 @@ public class FloatingSurfaceView extends AbstractFloatingView implements if (!mTmpPosition.equals(mIconPosition)) { mIconPosition.set(mTmpPosition); sendIconInfo(); LayoutParams lp = (LayoutParams) mSurfaceView.getLayoutParams(); lp.width = Math.round(mIconPosition.width()); Loading @@ -184,6 +183,9 @@ public class FloatingSurfaceView extends AbstractFloatingView implements lp.topMargin = Math.round(mIconPosition.top); } } sendIconInfo(); if (mIcon != null && iconChanged && !mIconBounds.isEmpty()) { // Record the icon display setCurrentIconVisible(true); Loading @@ -197,7 +199,7 @@ public class FloatingSurfaceView extends AbstractFloatingView implements } private void sendIconInfo() { if (mContract != null && !mIconPosition.isEmpty()) { if (mContract != null) { mContract.sendEndPosition(mIconPosition, mLauncher, mSurfaceView.getSurfaceControl()); } } Loading tests/src/com/android/launcher3/allapps/TaplAllAppsIconsWorkingTest.java +1 −0 Original line number Diff line number Diff line Loading @@ -62,5 +62,6 @@ public class TaplAllAppsIconsWorkingTest extends AbstractLauncherUiTest { } finally { allApps.unfreeze(); } mLauncher.goHome(); } } Loading
quickstep/src/com/android/quickstep/FallbackSwipeHandler.java +1 −1 Original line number Diff line number Diff line Loading @@ -371,8 +371,8 @@ public class FallbackSwipeHandler extends if (mSpringAnim != null) { mSpringAnim.onTargetPositionChanged(); } mOnFinishCallback = data.getParcelable(EXTRA_ON_FINISH_CALLBACK); } mOnFinishCallback = data.getParcelable(EXTRA_ON_FINISH_CALLBACK); maybeSendEndMessage(); } catch (Exception e) { // Ignore Loading
src/com/android/launcher3/views/FloatingSurfaceView.java +4 −2 Original line number Diff line number Diff line Loading @@ -175,7 +175,6 @@ public class FloatingSurfaceView extends AbstractFloatingView implements if (!mTmpPosition.equals(mIconPosition)) { mIconPosition.set(mTmpPosition); sendIconInfo(); LayoutParams lp = (LayoutParams) mSurfaceView.getLayoutParams(); lp.width = Math.round(mIconPosition.width()); Loading @@ -184,6 +183,9 @@ public class FloatingSurfaceView extends AbstractFloatingView implements lp.topMargin = Math.round(mIconPosition.top); } } sendIconInfo(); if (mIcon != null && iconChanged && !mIconBounds.isEmpty()) { // Record the icon display setCurrentIconVisible(true); Loading @@ -197,7 +199,7 @@ public class FloatingSurfaceView extends AbstractFloatingView implements } private void sendIconInfo() { if (mContract != null && !mIconPosition.isEmpty()) { if (mContract != null) { mContract.sendEndPosition(mIconPosition, mLauncher, mSurfaceView.getSurfaceControl()); } } Loading
tests/src/com/android/launcher3/allapps/TaplAllAppsIconsWorkingTest.java +1 −0 Original line number Diff line number Diff line Loading @@ -62,5 +62,6 @@ public class TaplAllAppsIconsWorkingTest extends AbstractLauncherUiTest { } finally { allApps.unfreeze(); } mLauncher.goHome(); } }