/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/layout/tests/ |
D | ScaledLayoutTest.java | 69 assertEquals((int) (400 * 0.8), view1.getLeft()); in testScaledLayout_layoutInXml() 73 assertEquals((int) (400 * 0.2), view2.getLeft()); in testScaledLayout_layoutInXml() 77 assertEquals((int) (400 * 0.3), view3.getLeft()); in testScaledLayout_layoutInXml() 81 assertEquals((int) (400 * 0.05), view4.getLeft()); in testScaledLayout_layoutInXml() 103 assertEquals(0, view1.getLeft()); in testScaledLayout_layoutThroughCode() 107 assertEquals(50, view2.getLeft()); in testScaledLayout_layoutThroughCode() 111 assertEquals(0, view3.getLeft()); in testScaledLayout_layoutThroughCode() 115 assertEquals(50, view4.getLeft()); in testScaledLayout_layoutThroughCode() 133 assertEquals(0, view1.getLeft()); in testScaledLayout_bounceY() 137 assertEquals(0, view2.getLeft()); in testScaledLayout_bounceY()
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | MenuLayoutManager.java | 190 + view.getLeft() in dumpChildren() 204 + title.getLeft() in dumpChildren() 218 + contents.getLeft() in dumpChildren() 479 mMenuView.getLeft(), in setSelectedPositionSmooth() 712 mMenuView.getLeft(), in setSelectedPositionSmooth() 768 dest.setLeft(src.getLeft() + parent.getLeft()); in setTempTitleView() 769 dest.setRight(src.getRight() + parent.getLeft()); in setTempTitleView() 843 mMenuView.getLeft(), in onMenuRowUpdated() 896 mMenuView.getLeft(), in onMenuRowUpdated()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmActivity.kt | 352 val alarmLeft: Int = mAlarmButton.getLeft() + mAlarmButton.getPaddingLeft() in onTouch() 359 getFraction(alarmRight.toFloat(), mSnoozeButton.getLeft().toFloat(), x) in onTouch() 365 getFraction(alarmRight.toFloat(), mDismissButton.getLeft().toFloat(), x) in onTouch() 424 val alarmLeft: Int = mAlarmButton.getLeft() + mAlarmButton.getPaddingLeft() in hintSnooze() 426 val translationX = (Math.max(mSnoozeButton.getLeft() - alarmRight, 0) + in hintSnooze() 436 val alarmLeft: Int = mAlarmButton.getLeft() + mAlarmButton.getPaddingLeft() in hintDismiss() 438 val translationX = (Math.max(mDismissButton.getLeft() - alarmRight, 0) + in hintDismiss()
|
D | AlarmActivity.java | 385 final int alarmLeft = mAlarmButton.getLeft() + mAlarmButton.getPaddingLeft(); in onTouch() 390 snoozeFraction = getFraction(alarmRight, mSnoozeButton.getLeft(), x); in onTouch() 394 dismissFraction = getFraction(alarmRight, mDismissButton.getLeft(), x); in onTouch() 452 final int alarmLeft = mAlarmButton.getLeft() + mAlarmButton.getPaddingLeft(); in hintSnooze() 454 final float translationX = Math.max(mSnoozeButton.getLeft() - alarmRight, 0) in hintSnooze() 461 final int alarmLeft = mAlarmButton.getLeft() + mAlarmButton.getPaddingLeft(); in hintDismiss() 463 final float translationX = Math.max(mDismissButton.getLeft() - alarmRight, 0) in hintDismiss()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
D | ScheduleRowPresenter.java | 219 ? mInfoContainer.getLeft() in updateSelector() 221 - mSelectorView.getLeft() in updateSelector() 229 ? mSecondActionContainer.getLeft() - mSelectorView.getLeft() in updateSelector() 235 ? mSecondActionContainer.getLeft() in updateSelector() 238 - mSelectorView.getLeft() in updateSelector() 247 ? mFirstActionContainer.getLeft() in updateSelector() 249 - mSelectorView.getLeft() in updateSelector()
|
/packages/apps/TV/src/com/android/tv/guide/ |
D | ProgramRow.java | 89 if (getLeft() <= itemView.getRight() && itemView.getLeft() <= getRight()) { in onViewAdded() 340 if (getLeft() < child.getRight() && child.getLeft() < getRight()) { in updateChildVisibleArea()
|
D | ProgramItemView.java | 474 layoutVisibleArea(parentView.getLeft() - getLeft(), getRight() - parentView.getRight()); in updateVisibleArea() 476 layoutVisibleArea(getRight() - parentView.getRight(), parentView.getLeft() - getLeft()); in updateVisibleArea()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | ModeSelectorItem.java | 201 if (mVisibleWidth < mMinVisibleWidth + mIcon.getLeft()) { in draw() 202 transX = mMinVisibleWidth + mIcon.getLeft() - mVisibleWidth; in draw() 231 return mIcon.getLeft() + mMinVisibleWidth; in getMaxVisibleWidth()
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | GalleryThumbnailView.java | 481 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/ |
D | EmergencyActionGroup.java | 186 int centerX = v.getLeft() + v.getWidth() / 2; in revealTheButton() 248 (v.getLeft() + v.getWidth() / 2 - mSelectedContainer.getWidth() / 2) / 5); in animateHintText() 267 int centerX = v.getLeft() + v.getWidth() / 2; in hideTheButton() 298 ripple.getLeft() + ripple.getWidth() / 2, in startRipple()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | SecondLevelIndicatorControlBar.java | 76 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/DeskClock/src/com/android/deskclock/ |
D | AnimatorUtils.java | 185 return view.getLeft(); 252 final int startLeft = from.getLeft() - fromInsets.left + targetInsets.left; in getBoundsAnimator() 258 final int endLeft = to.getLeft() - toInsets.left + targetInsets.left; in getBoundsAnimator()
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
D | ViewPagerTabStrip.java | 80 int selectedLeft = selectedTitle.getLeft(); in onDraw() 88 int nextLeft = nextTitle.getLeft(); in onDraw()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | ViewPagerTabStrip.java | 76 int selectedLeft = selectedTitle.getLeft(); in onDraw() 84 int nextLeft = nextTitle.getLeft(); in onDraw()
|
D | MultiAttachmentLayout.java | 358 viewWrapper.prevLeft = view.getLeft(); in onLayout() 380 final int xOffset = viewWrapper.prevLeft - view.getLeft(); in trySlideAttachmentView() 399 viewWrapper.prevLeft = view.getLeft(); in trySlideAttachmentView()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | ScrollAdapterView.java | 975 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/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/ |
D | RenderOverlay.java | 78 renderer.layout(getLeft(), getTop(), getRight(), getBottom()); in addRenderer() 84 renderer.layout(getLeft(), getTop(), getRight(), getBottom()); in addRenderer()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | FloatingHeaderView.java | 362 p.x = getLeft() - mCurrentRV.getLeft() - mParent.getLeft(); in calcOffset()
|
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/ |
D | FadeAndShortSlide.java | 357 int left = child.getLeft(); in getRelativeLeft() 362 left += ((View) parent).getLeft(); in getRelativeLeft() 375 right += ((View) parent).getLeft(); in getRelativeRight()
|
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/decorations/grid/ |
D | GridDividerItemDecoration.java | 108 int dividerRight = firstRowChild.getLeft(); in drawHorizontalDividers() 149 leftmostChild.getLeft() + (int) parent.getContext().getResources().getDimension( in drawVerticalDividers()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
D | RenderOverlay.java | 75 renderer.layout(getLeft(), getTop(), getRight(), getBottom()); in addRenderer() 81 renderer.layout(getLeft(), getTop(), getRight(), getBottom()); in addRenderer()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | AppWidgetResizeFrame.java | 135 mSystemGestureExclusionRects.get(i).set(dragHandle.getLeft(), dragHandle.getTop(), in onLayout() 209 mDeltaXRange.set(-getLeft(), getWidth() - 2 * mTouchTargetWidth); in beginResizeIfPointInRegion() 215 mBaselineX.set(getLeft(), getRight()); in beginResizeIfPointInRegion() 496 if (beginResizeIfPointInRegion(x - getLeft(), y - getTop())) { in handleTouchDown()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | AnimationManager.java | 50 float slideDistance = (float) (parentView.getWidth() - view.getLeft()); in startCaptureAnimation() 56 int centerX = view.getLeft() + view.getWidth() / 2; in startCaptureAnimation()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | SlidingTabLayout.java | 144 int left = selectedTitle.getLeft(); in getIndicatorLeft() 147 left = (int) (mSelectionOffset * nextTitle.getLeft() in getIndicatorLeft()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | SlidingTabLayout.java | 144 int left = selectedTitle.getLeft(); in getIndicatorLeft() 147 left = (int) (mSelectionOffset * nextTitle.getLeft() in getIndicatorLeft()
|