Home
last modified time | relevance | path

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

123

/packages/apps/Launcher3/src/com/android/launcher3/
DClickShadowView.java92 float leftShift = view.getLeft() + viewParent.getLeft() - getLeft(); in alignWithIconView()
94 int iconWidth = view.getRight() - view.getLeft(); in alignWithIconView()
DPagedView.java311 sTmpPoint[0] += v.getLeft(); in mapPointFromViewToParent()
316 sTmpPoint[0] = x - v.getLeft(); in mapPointFromParentToView()
326 (mDragViewBaselineLeft - mDragView.getLeft()); in updateDragViewTranslationDuringDrag()
1047 int offset = getPageAt(index).getLeft() - getViewportOffsetX(); in getChildOffset()
1063 final int visibleLeft = -getLeft(); in getVisiblePages()
1075 sTmpRectF.offset(currPage.getLeft() - getScrollX(), 0); in getVisiblePages()
1130 canvas.clipRect(getScrollX(), getScrollY(), getScrollX() + getRight() - getLeft(), in dispatchDraw()
1587 int dragX = (int) (mDragView.getLeft() + (mDragView.getMeasuredWidth() / 2) in getNearestHoverOverPageIndex()
1594 int pageX = (int) (page.getLeft() + page.getMeasuredWidth() / 2); in getNearestHoverOverPageIndex()
2232 mDragViewBaselineLeft = mDragView.getLeft(); in startReordering()
DDropTarget.java156 int getLeft(); in getLeft() method
/packages/apps/Camera2/src/com/android/camera/ui/
DModeSelectorItem.java201 if (mVisibleWidth < mMinVisibleWidth + mIcon.getLeft()) { in draw()
202 transX = mMinVisibleWidth + mIcon.getLeft() - mVisibleWidth; in draw()
231 return mIcon.getLeft() + mMinVisibleWidth; in getMaxVisibleWidth()
/packages/apps/TV/src/com/android/tv/menu/
DMenuLayoutManager.java181 + ", left=" + view.getLeft() + ", top=" + view.getTop() in dumpChildren()
186 + ", left=" + title.getLeft() + ", top=" + title.getTop() in dumpChildren()
191 + ", left=" + contents.getLeft() + ", top=" + contents.getTop() in dumpChildren()
405 List<Rect> layouts = getViewLayouts(mMenuView.getLeft(), mMenuView.getTop(), in setSelectedPositionSmooth()
580 layout(mMenuView.getLeft(), mMenuView.getTop(), mMenuView.getRight(), in setSelectedPositionSmooth()
628 dest.setLeft(src.getLeft() + parent.getLeft()); in setTempTitleView()
629 dest.setRight(src.getRight() + parent.getLeft()); in setTempTitleView()
700 List<Rect> layouts = getViewLayouts(mMenuView.getLeft(), mMenuView.getTop(), in onMenuRowUpdated()
745 layout(mMenuView.getLeft(), mMenuView.getTop(), mMenuView.getRight(), in onMenuRowUpdated()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmActivity.java355 final int alarmLeft = mAlarmButton.getLeft() + mAlarmButton.getPaddingLeft(); in onTouch()
360 snoozeFraction = getFraction(alarmRight, mSnoozeButton.getLeft(), x); in onTouch()
364 dismissFraction = getFraction(alarmRight, mDismissButton.getLeft(), x); in onTouch()
415 final int alarmLeft = mAlarmButton.getLeft() + mAlarmButton.getPaddingLeft(); in hintSnooze()
417 final float translationX = Math.max(mSnoozeButton.getLeft() - alarmRight, 0) in hintSnooze()
424 final int alarmLeft = mAlarmButton.getLeft() + mAlarmButton.getPaddingLeft(); in hintDismiss()
426 final float translationX = Math.max(mDismissButton.getLeft() - alarmRight, 0) in hintDismiss()
/packages/apps/TV/src/com/android/tv/guide/
DProgramRow.java97 if (getLeft() <= child.getRight() && child.getLeft() <= getRight()) { in onScrolled()
99 ? getLeft() - child.getLeft() : child.getRight() - getRight()); in onScrolled()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DSecondLevelIndicatorControlBar.java76 if (x > mCloseIcon.getLeft()) return indexOfChild(mCloseIcon); in getTouchViewIndex()
91 event.offsetLocation(-view.getLeft(), -view.getTop()); in dispatchRelativeTouchEvent()
93 event.offsetLocation(view.getLeft(), view.getTop()); in dispatchRelativeTouchEvent()
/packages/apps/Gallery2/src/com/android/photos/views/
DGalleryThumbnailView.java481 child.layout(child.getLeft() + offset, child.getTop(), in offsetChildren()
491 return getChildAt(0).getLeft() >= getPaddingLeft() && in contentFits()
508 int end = (getRight() - getLeft()) + overhang; in fillRight()
522 int nextRight = getChildAt(0).getLeft(); in fillLeft()
525 nextRight = getChildAt(0).getLeft(); in fillLeft()
529 return getPaddingLeft() - getChildAt(0).getLeft(); in fillLeft()
/packages/services/Telephony/src/com/android/phone/
DEmergencyActionGroup.java244 int centerX = v.getLeft() + v.getWidth() / 2; in revealTheButton()
270 (v.getLeft() + v.getWidth() / 2 - mSelectedContainer.getWidth() / 2) / 5); in animateHintText()
289 int centerX = v.getLeft() + v.getWidth() / 2; in hideTheButton()
320 ripple.getLeft() + ripple.getWidth() / 2, in startRipple()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DViewPagerTabStrip.java82 int selectedLeft = selectedTitle.getLeft(); in onDraw()
90 int nextLeft = nextTitle.getLeft(); in onDraw()
/packages/apps/Messaging/src/com/android/messaging/ui/
DViewPagerTabStrip.java76 int selectedLeft = selectedTitle.getLeft(); in onDraw()
84 int nextLeft = nextTitle.getLeft(); in onDraw()
DMultiAttachmentLayout.java353 viewWrapper.prevLeft = view.getLeft(); in onLayout()
375 final int xOffset = viewWrapper.prevLeft - view.getLeft(); in trySlideAttachmentView()
394 viewWrapper.prevLeft = view.getLeft(); in trySlideAttachmentView()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DRenderOverlay.java75 renderer.layout(getLeft(), getTop(), getRight(), getBottom()); in addRenderer()
81 renderer.layout(getLeft(), getTop(), getRight(), getBottom()); in addRenderer()
/packages/apps/Camera2/src/com/android/camera/
DAnimationManager.java50 float slideDistance = (float) (parentView.getWidth() - view.getLeft()); in startCaptureAnimation()
56 int centerX = view.getLeft() + view.getWidth() / 2; in startCaptureAnimation()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
DWindowLocationUtil.java52 int deltax = view.getLeft(); in getLocationsInWindow()
79 deltax = view.getLeft(); in getLocationsInWindow()
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/
DFadeAndShortSlide.java346 int left = child.getLeft(); in getRelativeLeft()
351 left += ((View) parent).getLeft(); in getRelativeLeft()
364 right += ((View) parent).getLeft(); in getRelativeRight()
/packages/services/Car/car-support-lib/src/android/support/car/ui/
DPagedListView.java474 final int left = getLeft(parent.getChildAt(0)); in onDrawOver()
505 private int getLeft(View root) { in getLeft() method in PagedListView.Decoration
515 left += view.getLeft(); in getLeft()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java975 if (child.getLeft() - getScrollX() < getWidth()) {
1074 if (v.getLeft() < left) {
1075 left = v.getLeft();
1872 info.viewLocation = mOrientation == HORIZONTAL ? view.getLeft() : view.getTop();
2084 return mOrientation == HORIZONTAL ? (v.getLeft() + v.getRight()) / 2 : (v.getTop()
2089 return mOrientation == VERTICAL ? (v.getLeft() + v.getRight()) / 2 : (v.getTop()
2318 h.mLocation = view.getLeft();
2328 int viewLow = mOrientation == HORIZONTAL ? view.getLeft() : view.getTop();
2362 view.offsetLeftAndRight(viewStart - view.getLeft());
2367 view.layout(view.getLeft(), viewStart, view.getLeft() +
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DBubbleTextView.java105 if (getLeft() != left || getRight() != right || getTop() != top || getBottom() != bottom) { in setFrame()
286 background.setBounds(0, 0, getRight() - getLeft(), getBottom() - getTop()); in draw()
DPagedViewWidgetImageView.java42 getScrollX() + getRight() - getLeft() - getPaddingRight(), in onDraw()
DAppWidgetResizeFrame.java160 mBaselineX = getLeft(); in beginResizeIfPointInRegion()
402 int xOffset = mCellLayout.getLeft() + mCellLayout.getPaddingLeft() in snapToWidget()
412 int newX = mWidgetView.getLeft() - mBackgroundPadding + xOffset + mWidgetPaddingLeft; in snapToWidget()
DDropTarget.java182 int getLeft(); in getLeft() method
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DViewOutlineProviderCompatUtilsLXX.java69 view.getLeft(), mLastVisibleTopInsets, view.getRight(), view.getBottom()); in getOutline()
/packages/apps/Settings/src/com/android/settings/widget/
DChartSweepView.java443 eventInParent.offsetLocation(getLeft(), getTop()); in onTouchEvent()
456 mTrackingStart = getLeft() - mMargins.left; in onTouchEvent()
498 final float currentTargetX = getLeft() - mMargins.left; in onTouchEvent()

123