Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickScrubController.java +8 −6 Original line number Diff line number Diff line Loading @@ -294,6 +294,7 @@ public class QuickScrubController extends GestureDetector.SimpleOnGestureListene // Get the touch rect of the home button location View homeView = mNavigationBarView.getHomeButton().getCurrentView(); if (homeView != null) { int[] globalHomePos = homeView.getLocationOnScreen(); int[] globalNavBarPos = mNavigationBarView.getLocationOnScreen(); int homeX = globalHomePos[0] - globalNavBarPos[0]; Loading @@ -301,6 +302,7 @@ public class QuickScrubController extends GestureDetector.SimpleOnGestureListene mHomeButtonRect.set(homeX, homeY, homeX + homeView.getMeasuredWidth(), homeY + homeView.getMeasuredHeight()); } } @Override public void onDarkIntensityChange(float intensity) { Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickScrubController.java +8 −6 Original line number Diff line number Diff line Loading @@ -294,6 +294,7 @@ public class QuickScrubController extends GestureDetector.SimpleOnGestureListene // Get the touch rect of the home button location View homeView = mNavigationBarView.getHomeButton().getCurrentView(); if (homeView != null) { int[] globalHomePos = homeView.getLocationOnScreen(); int[] globalNavBarPos = mNavigationBarView.getLocationOnScreen(); int homeX = globalHomePos[0] - globalNavBarPos[0]; Loading @@ -301,6 +302,7 @@ public class QuickScrubController extends GestureDetector.SimpleOnGestureListene mHomeButtonRect.set(homeX, homeY, homeX + homeView.getMeasuredWidth(), homeY + homeView.getMeasuredHeight()); } } @Override public void onDarkIntensityChange(float intensity) { Loading