Loading packages/Keyguard/src/com/android/keyguard/PagedView.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -2278,11 +2278,11 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc mTempVisiblePagesRange[0] = 0; mTempVisiblePagesRange[0] = 0; mTempVisiblePagesRange[1] = getPageCount() - 1; mTempVisiblePagesRange[1] = getPageCount() - 1; boundByReorderablePages(true, mTempVisiblePagesRange); boundByReorderablePages(true, mTempVisiblePagesRange); mReorderingStarted = true; // Check if we are within the reordering range // Check if we are within the reordering range if (mTempVisiblePagesRange[0] <= dragViewIndex && if (mTempVisiblePagesRange[0] <= dragViewIndex && dragViewIndex <= mTempVisiblePagesRange[1]) { dragViewIndex <= mTempVisiblePagesRange[1]) { mReorderingStarted = true; if (zoomOut()) { if (zoomOut()) { // Find the drag view under the pointer // Find the drag view under the pointer mDragView = getChildAt(dragViewIndex); mDragView = getChildAt(dragViewIndex); Loading Loading
packages/Keyguard/src/com/android/keyguard/PagedView.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -2278,11 +2278,11 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc mTempVisiblePagesRange[0] = 0; mTempVisiblePagesRange[0] = 0; mTempVisiblePagesRange[1] = getPageCount() - 1; mTempVisiblePagesRange[1] = getPageCount() - 1; boundByReorderablePages(true, mTempVisiblePagesRange); boundByReorderablePages(true, mTempVisiblePagesRange); mReorderingStarted = true; // Check if we are within the reordering range // Check if we are within the reordering range if (mTempVisiblePagesRange[0] <= dragViewIndex && if (mTempVisiblePagesRange[0] <= dragViewIndex && dragViewIndex <= mTempVisiblePagesRange[1]) { dragViewIndex <= mTempVisiblePagesRange[1]) { mReorderingStarted = true; if (zoomOut()) { if (zoomOut()) { // Find the drag view under the pointer // Find the drag view under the pointer mDragView = getChildAt(dragViewIndex); mDragView = getChildAt(dragViewIndex); Loading