Home
last modified time | relevance | path

Searched refs:getScrollX (Results 1 – 25 of 25) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DPagedViewWidgetImageView.java48 canvas.clipRect(getScrollX() + getPaddingLeft() + insets.left, in onDraw()
50 getScrollX() + getRight() - getLeft() - getPaddingRight() - insets.right, in onDraw()
DBubbleTextView.java173 destCanvas.translate(-getScrollX() + padding / 2, -getScrollY() + padding / 2); in drawWithPadding()
271 final int scrollX = getScrollX(); in draw()
299 canvas.clipRect(getScrollX(), getScrollY() + getExtendedPaddingTop(), in draw()
300 getScrollX() + getWidth(), in draw()
DPagedView.java406 if (getScrollX() != mScroller.getCurrX() in computeScrollHelper()
554 int delta = newX - getScrollX(); in scrollToNewPageWithoutMovingPages()
743 currPage.getPaddingRight() < getScrollX()) { in getVisiblePages()
750 currPage.getX() - currPage.getPaddingLeft() < getScrollX() + screenWidth) { in getVisiblePages()
791 canvas.clipRect(getScrollX(), getScrollY(), getScrollX() + getRight() - getLeft(), in dispatchDraw()
1064 mTouchX = getScrollX(); in determineScrollingStart()
1413 int screenCenter = getScrollX() + (getMeasuredWidth() / 2); in getPageNearestToCenterOfScreen()
1837 float offset = Math.max(0f, Math.min(1f, (float) getScrollX() / maxScrollX)); in updateScrollingIndicatorPosition()
DDragLayer.java305 pt[0] += view.getLeft() - view.getScrollX(); in getDescendantCoordRelativeToSelf()
586 int xPos = x - mDropView.getScrollX() + (mAnchorView != null in animateView()
587 ? (mAnchorViewInitialScrollX - mAnchorView.getScrollX()) : 0); in animateView()
615 mAnchorViewInitialScrollX = anchorView.getScrollX(); in animateView()
DAppsCustomizeTabHost.java248 mAnimationBuffer.scrollTo(mAppsCustomizePane.getScrollX(), 0); in onTabChanged()
DWorkspace.java883 float adjustedScrollX = Math.max(0, Math.min(getScrollX(), mMaxScrollX)); in wallpaperOffsetForCurrentScroll()
1326 mBackground.setBounds(getScrollX(), 0, getScrollX() + getMeasuredWidth(),
1770 destCanvas.translate(-v.getScrollX() + padding / 2, -v.getScrollY() + padding / 2);
2327 mSavedScrollX = getScrollX();
2551 int scrollX = getScrollX();
2582 int scrollX = getScrollX();
DAppWidgetResizeFrame.java370 … int xOffset = mCellLayout.getLeft() + mCellLayout.getPaddingLeft() - mWorkspace.getScrollX(); in snapToWidget()
DCellLayout.java659 final int x = touchX + getScrollX(); in setTagToCellInfoForPoint()
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
DTimelineHorizontalScrollView.java69 listener.onScrollEnd(TimelineHorizontalScrollView.this, getScrollX(),
186 if (getScrollX() == scrollX) { in appScrollTo()
219 final int scrollX = getScrollX(); in computeScroll()
252 startX = mHalfParentWidth + getScrollX(); in dispatchDraw()
DPlayheadView.java109 mScrollX = scrollView.getScrollX(); in onAttachedToWindow()
DTransitionView.java152 mScrollX = mScrollView.getScrollX(); in onAttachedToWindow()
DAudioTrackView.java147 mScrollX = scrollView.getScrollX(); in onAttachedToWindow()
DMediaItemView.java218 mScrollX = mScrollView.getScrollX(); in onAttachedToWindow()
DMediaLinearLayout.java1702 final int x = (int)eventX - mScrollView.getScrollX();
/packages/apps/Browser/src/com/android/browser/
DTabScrollView.java148 int viewl = getScrollX(); in ensureChildVisible()
183 ObjectAnimator animator = ObjectAnimator.ofInt(this, "scroll", getScrollX(), newscroll); in animateScroll()
199 return getScrollX(); in getScroll()
DNavTabScroller.java322 … scroll1 = ObjectAnimator.ofInt(this, "scrollX", getScrollX(), getScrollX() + scroll); in animateOut()
400 return getScrollX() + getWidth() / 2; in getScreenCenter()
DPhoneUi.java371 int fromLeft = tabview.getLeft() + target.getLeft() - mNavScreen.mScroller.getScrollX(); in hideNavScreen()
489 int tx = web.getScrollX(); in set()
DTab.java1903 final int left = mMainView.getScrollX(); in capture()
/packages/apps/Browser/src/com/android/browser/view/
DScrollerView.java1233 return (mTempRect.right + delta) >= getScrollX() in isWithinDeltaOfScreen()
1234 && (mTempRect.left - delta) <= (getScrollX() + height); in isWithinDeltaOfScreen()
1595 int screenLeft = getScrollX(); in computeScrollDeltaToGetChildRectOnScreenHorizontal()
1644 scrollXDelta = Math.max(scrollXDelta, -getScrollX()); in computeScrollDeltaToGetChildRectOnScreenHorizontal()
1709 rectangle.offset(child.getLeft() - child.getScrollX(), in requestChildRectangleOnScreen()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DTextCandidates1LineViewManager.java262 if (mViewBodyScroll.getScrollX() > 0) { in initView()
289 if ((mViewBodyScroll.getScrollX() + width) < scrollMax) { in initView()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAlbumPage.java122 rect.offset(bounds.left - mSlotView.getScrollX(),
282 r.offset(offset.left - mSlotView.getScrollX(), in getSlotRect()
DAlbumSetPage.java176 int scrollX = mSlotView.getScrollX(); in getSlotCenter()
/packages/apps/Mms/src/com/android/mms/ui/
DRecipientsEditor.java289 x += getScrollX(); in pointToPosition()
/packages/apps/Music/src/com/android/music/
DMediaPlaybackActivity.java193 int scrollx = tv.getScrollX(); in onTouch()
251 int x = tv.getScrollX();
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSlotView.java733 public int getScrollX() { in getScrollX() method in SlotView