/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/layout/tests/ |
D | ScaledLayoutTest.java | 70 assertEquals((int) (300 * 0.1), view1.getTop()); in testScaledLayout_layoutInXml() 74 assertEquals(0, view2.getTop()); in testScaledLayout_layoutInXml() 78 assertEquals((int) (300 * 0.4), view3.getTop()); in testScaledLayout_layoutInXml() 82 assertEquals((int) (300 * 0.15), view4.getTop()); in testScaledLayout_layoutInXml() 104 assertEquals(0, view1.getTop()); in testScaledLayout_layoutThroughCode() 108 assertEquals(0, view2.getTop()); in testScaledLayout_layoutThroughCode() 112 assertEquals(50, view3.getTop()); in testScaledLayout_layoutThroughCode() 116 assertEquals(50, view4.getTop()); in testScaledLayout_layoutThroughCode() 134 assertEquals(60, view1.getTop()); in testScaledLayout_bounceY() 138 assertEquals(80, view2.getTop()); in testScaledLayout_bounceY()
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | MenuLayoutManager.java | 192 + view.getTop() in dumpChildren() 206 + title.getTop() in dumpChildren() 220 + contents.getTop() in dumpChildren() 480 mMenuView.getTop(), in setSelectedPositionSmooth() 507 int offset = oldLayoutRect.top - mTempTitleViewForOld.getTop(); in setSelectedPositionSmooth() 530 oldLayoutRect.top - mTempTitleViewForOld.getTop())); in setSelectedPositionSmooth() 542 int distanceCurrentTitle = currentLayoutRect.top - currentView.getTop(); in setSelectedPositionSmooth() 545 oldLayoutRect.top - mRowScrollUpAnimationOffset - oldView.getTop(); in setSelectedPositionSmooth() 564 int offset = oldLayoutRect.top - mTempTitleViewForOld.getTop(); in setSelectedPositionSmooth() 580 int distanceOldTitle = oldView.getTop() - oldLayoutRect.top; in setSelectedPositionSmooth() [all …]
|
/packages/apps/PermissionController/src/android/support/wearable/view/ |
D | WearableListView.java | 304 mStartFirstTop = getChildCount() > 0 ? getChildAt(0).getTop() : 0; in onInterceptTouchEvent() 508 int scrollToMiddle = getCentralViewTop() - child.getTop(); in animateToMiddle() 631 int childCenterY = getTop() + getCenterYPos(child); in findCenterViewIndex() 645 return v.getTop() + v.getPaddingTop() + getAdjustedHeight(v) / 2; in getCenterYPos() 676 && getChildAt(0).getTop() >= getTopViewMaxTop() in isOverScrolling() 706 final int scrollToMiddle = getCentralViewTop() - child.getTop(); in animateToCenter() 725 final int scrollToMiddle = getCentralViewTop() + mInitialOffset - child.getTop(); in animateToInitialPosition() 851 int childCenterY = getTop() + getCenterYPos(child); in findCenterViewIndex() 903 oldTop = getChildAt(0).getTop(); in onLayoutChildren() 920 oldTop = getChildAt(index).getTop(); in onLayoutChildren() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AnimatorUtils.java | 198 return view.getTop(); 253 final int startTop = from.getTop() - fromInsets.top + targetInsets.top; in getBoundsAnimator() 259 final int endTop = to.getTop() - toInsets.top + targetInsets.top; in getBoundsAnimator()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | ScrollAdapterView.java | 981 if (child.getTop() - getScrollY() < getHeight()) { 1078 if (v.getTop() < top) { 1079 top = v.getTop(); 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() 2321 h.mLocation = view.getTop(); 2328 int viewLow = mOrientation == HORIZONTAL ? view.getLeft() : view.getTop(); 2359 view.layout(viewStart, view.getTop(), viewStart + view.getMeasuredWidth(), 2360 view.getTop() + view.getMeasuredHeight()); [all …]
|
/packages/services/Telephony/src/com/android/phone/ |
D | EmergencyActionGroup.java | 187 int centerY = v.getTop() + v.getHeight() / 2; in revealTheButton() 268 int centerY = v.getTop() + v.getHeight() / 2; in hideTheButton() 299 ripple.getTop() + ripple.getHeight() / 2, in startRipple()
|
D | EmergencyShortcutButton.java | 210 int centerY = mCallNumberInfoView.getTop() + mCallNumberInfoView.getHeight() / 2; in revealSelectedButton() 233 int centerY = mConfirmView.getTop() + mConfirmView.getHeight() / 2; in hideSelectedButton()
|
D | EmergencyInfoGroup.java | 233 int centerY = mEmergencyInfoButton.getTop() + mEmergencyInfoButton.getHeight() / 2; in revealSelectedButton() 258 mEmergencyInfoConfirmButton.getTop() + mEmergencyInfoConfirmButton.getHeight() / 2; in hideSelectedButton()
|
/packages/apps/Launcher3/src/com/android/launcher3/states/ |
D | SpringLoadedState.java | 69 float myCenter = ws.getTop() + halfHeight; in getWorkspaceScaleAndTranslation() 70 float cellTopFromCenter = halfHeight - ws.getChildAt(0).getTop(); in getWorkspaceScaleAndTranslation()
|
/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 | 363 p.y = getTop() - mCurrentRV.getTop() - mParent.getTop(); in calcOffset()
|
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/decorations/grid/ |
D | GridDividerItemDecoration.java | 106 firstRowChild.getTop() + (int) parent.getContext().getResources().getDimension( in drawHorizontalDividers() 151 int dividerBottom = leftmostChild.getTop(); 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() 218 mDeltaYRange.set(-getTop(), getHeight() - 2 * mTouchTargetWidth); in beginResizeIfPointInRegion() 224 mBaselineY.set(getTop(), getBottom()); in beginResizeIfPointInRegion() 496 if (beginResizeIfPointInRegion(x - getLeft(), y - getTop())) { in handleTouchDown()
|
D | WorkspaceStateTransitionAnimation.java | 102 hotseat.setPivotY(mWorkspace.getPivotY() + mWorkspace.getTop() - hotseat.getTop()); in setWorkspaceProperty()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | MultiAttachmentLayout.java | 359 viewWrapper.prevTop = view.getTop(); in onLayout() 381 final int yOffset = viewWrapper.prevTop - view.getTop(); in trySlideAttachmentView() 400 viewWrapper.prevTop = view.getTop(); in trySlideAttachmentView()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | SecondLevelIndicatorControlBar.java | 91 event.offsetLocation(-view.getLeft(), -view.getTop()); in dispatchRelativeTouchEvent() 93 event.offsetLocation(view.getLeft(), view.getTop()); in dispatchRelativeTouchEvent()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | ChartDataUsagePreference.java | 71 final int top = getTop(); in onBindViewHolder() 83 public int getTop() { in getTop() method in ChartDataUsagePreference
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/ |
D | ChartDataUsagePreference.java | 71 final int top = getTop(); in onBindViewHolder() 83 public int getTop() { in getTop() method in ChartDataUsagePreference
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/ |
D | CarScrollBar.java | 272 mScrollThumbTrackHeight = mDownButton.getTop() - (2 * mSeparatingMargin); in calculateScrollThumbTrackHeight() 295 int layoutTop = mScrollThumb.getTop(); in measureAndLayoutScrollThumb() 435 return mScrollThumb.getTop() + (isDownEnabled() in calculateScrollThumbOffset()
|
/packages/apps/Dialer/java/com/android/dialer/app/list/ |
D | PhoneFavoriteListView.java | 161 topScrollBound = (getTop() + boundGap); in onDragEvent() 193 if (y >= child.getTop() in getViewAtPosition()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | ChartSweepView.java | 446 eventInParent.offsetLocation(getLeft(), getTop()); in onTouchEvent() 457 mTrackingStart = getTop() - mMargins.top; in onTouchEvent() 492 final float currentTargetY = getTop() - mMargins.top; in onTouchEvent()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | ChartSweepView.java | 446 eventInParent.offsetLocation(getLeft(), getTop()); in onTouchEvent() 457 mTrackingStart = getTop() - mMargins.top; in onTouchEvent() 492 final float currentTargetY = getTop() - mMargins.top; in onTouchEvent()
|
/packages/apps/TV/src/com/android/tv/guide/ |
D | ProgramGuide.java | 502 if (oldFocus.getTop() < newFocus.getTop()) { in onRequestChildFocus() 508 } else if (oldFocus.getTop() > newFocus.getTop()) { in onRequestChildFocus()
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
D | ContactDisplayUtils.java | 352 return listView.getChildAt(0).getTop(); in getFirstListItemOffset() 374 if (listView.getChildAt(0).getTop() == offset) { in requestToMoveToOffset()
|