Searched refs:scrollY (Results 1 - 10 of 10) sorted by relevance
/packages/apps/Contacts/src/com/android/contacts/widget/ |
H A D | TouchlessScrollView.java | 31 // Do not save the current scroll position. Always store scrollY=0 and delegate 33 final int scrollY = getScrollY(); 36 setScrollY(scrollY);
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
H A D | HeaderElevationController.java | 38 abstract void onScroll(int scrollY); argument 63 public void onScroll(int scrollY) { argument 64 float elevationPct = (float) Math.min(scrollY, mScrollToElevation) / 115 public void onScroll(int scrollY) { argument 116 float elevationPct = Math.min(scrollY, mScrollToElevation) / mScrollToElevation;
|
H A D | AllAppsFastScrollHelper.java | 99 public boolean smoothScrollToSection(int scrollY, int availableScrollHeight, argument 103 smoothSnapToPosition(scrollY, availableScrollHeight, info); 113 private void smoothSnapToPosition(int scrollY, int availableScrollHeight, argument 155 int deltaY = newScrollY - scrollY;
|
H A D | AllAppsRecyclerView.java | 270 int scrollY = getCurrentScrollY(); 272 mFastScrollHelper.smoothScrollToSection(scrollY, availableScrollHeight, lastInfo); 307 int scrollY = getCurrentScrollY(); 308 if (scrollY < 0) { 323 // Calculate the current scroll position, the scrollY of the recycler view accounts 328 (int) (((float) scrollY / availableScrollHeight) * availableScrollBarHeight); 359 synchronizeScrollBarThumbOffsetToViewScroll(scrollY, availableScrollHeight);
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
H A D | WidgetsRecyclerView.java | 122 int scrollY = getCurrentScrollY(); 123 if (scrollY < 0) { 128 synchronizeScrollBarThumbOffsetToViewScroll(scrollY, getAvailableScrollHeight());
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | BubbleTextView.java | 179 // The translate of scrollX and scrollY is necessary when drawing TextViews, because 180 // they set scrollX and scrollY to large values to achieve centered text 283 final int scrollY = getScrollY(); 290 if ((scrollX | scrollY) == 0) { 293 canvas.translate(scrollX, scrollY); 295 canvas.translate(-scrollX, -scrollY);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | BaseRecyclerView.java | 231 * @param scrollY the current scroll y 233 protected void synchronizeScrollBarThumbOffsetToViewScroll(int scrollY, argument 242 // Calculate the current scroll position, the scrollY of the recycler view accounts for the 246 (int) (((float) scrollY / availableScrollHeight) * availableScrollBarHeight);
|
H A D | BubbleTextView.java | 390 final int scrollY = getScrollY(); 397 if ((scrollX | scrollY) == 0) { 400 canvas.translate(scrollX, scrollY); 402 canvas.translate(-scrollX, -scrollY);
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | AlbumSetPage.java | 185 int scrollY = mSlotView.getScrollY(); 187 center[1] = offset.top + (r.top + r.bottom) / 2 - scrollY;
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | ConversationViewFragment.java | 511 final int scrollY = mWebView.getScrollY(); 517 } else if (scrollY + viewH >= webH) { 522 p = (float) scrollY / webH;
|
Completed in 235 milliseconds