/aosp14/frameworks/base/test-runner/src/android/test/ |
H A D | TouchUtils.java | 249 final int viewHeight = v.getHeight(); in dragViewToBottom() local 269 final int viewHeight = v.getHeight(); in tapView() local 272 float y = xy[1] + (viewHeight / 2.0f); in tapView() 309 final int viewHeight = v.getHeight(); in touchAndCancelView() local 312 float y = xy[1] + (viewHeight / 2.0f); in touchAndCancelView() 344 final int viewHeight = v.getHeight(); in clickView() local 405 final int viewHeight = v.getHeight(); in longClickView() local 492 final int viewHeight = v.getHeight(); in dragViewToTop() local 514 final int viewHeight = v.getHeight(); in getStartLocation() local 520 xy[1] += viewHeight / 2; in getStartLocation() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | SingleShadeLockScreenOverScroller.kt | 56 val viewHeight = nsslController.height regex 57 val overallProgress = MathUtils.saturate(expansionDragDownAmount / viewHeight) 62 totalDistanceForFullShadeTransition.toFloat() / viewHeight.toFloat())
|
H A D | LightRevealScrim.kt | 129 bottom = scrim.viewHeight.toFloat() 134 top = scrim.viewHeight / 2 - (scrim.viewHeight / 2) * gradientBoundsAmount, 136 bottom = scrim.viewHeight / 2 + (scrim.viewHeight / 2) * gradientBoundsAmount 304 internal var viewHeight: Int = initialHeight ?: 0 408 viewHeight = measuredHeight
|
/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | RenderEffectViewActivity.kt | 63 val viewHeight = dropsView.height.toFloat() regex 66 viewHeight / mScratchesImage.height) 72 mDropsShader.setFloatUniform("viewDimensions", viewWidth, viewHeight)
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/touch/ |
H A D | BouncerSwipeTouchHandler.java | 369 final float viewHeight = mTouchSession.getBounds().height(); in flingToExpansion() local 370 final float currentHeight = viewHeight * mCurrentExpansion; in flingToExpansion() 371 final float targetHeight = viewHeight * expansion; in flingToExpansion() 377 viewHeight); in flingToExpansion() 381 animator, currentHeight, targetHeight, velocity, viewHeight); in flingToExpansion()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
H A D | LightRevealScrimTest.kt | 71 assertThat(scrim.viewHeight).isEqualTo(DEFAULT_HEIGHT) 79 assertThat(scrim.viewHeight).isEqualTo(2)
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
H A D | MirrorWindowControl.java | 171 private void updateDraggableBound(int viewWidth, int viewHeight) { in updateDraggableBound() argument 174 mDraggableBound.set(0, 0, size.x - viewWidth, size.y - viewHeight); in updateDraggableBound()
|
/aosp14/frameworks/base/core/java/com/android/internal/widget/ |
H A D | SlidingTab.java | 666 int viewHeight = getHeight(); 669 dy = slider == mRightSlider ? (top + viewHeight - holdOffset) 670 : - ((viewHeight - bottom) + viewHeight - holdOffset);
|
H A D | LockPatternView.java | 720 int viewHeight = resolveMeasured(heightMeasureSpec, minimumHeight); in onMeasure() local 724 viewWidth = viewHeight = Math.min(viewWidth, viewHeight); in onMeasure() 727 viewHeight = Math.min(viewWidth, viewHeight); in onMeasure() 730 viewWidth = Math.min(viewWidth, viewHeight); in onMeasure() 734 setMeasuredDimension(viewWidth, viewHeight); in onMeasure()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
H A D | NotificationContentView.java | 1100 int viewHeight = mContentHeight; in calculateVisibleType() local 1103 viewHeight = Math.min(mContentHeight, intrinsicHeight); in calculateVisibleType() 1105 return getVisualTypeForHeight(viewHeight); in calculateVisibleType() 1108 private int getVisualTypeForHeight(float viewHeight) { in getVisualTypeForHeight() argument 1110 if (!noExpandedChild && viewHeight == getViewHeight(VISIBLE_TYPE_EXPANDED)) { in getVisualTypeForHeight() 1119 if (viewHeight <= getViewHeight(VISIBLE_TYPE_HEADSUP) || noExpandedChild) { in getVisualTypeForHeight() 1126 && viewHeight <= getViewHeight(VISIBLE_TYPE_CONTRACTED) in getVisualTypeForHeight()
|
/aosp14/frameworks/base/core/java/android/widget/ |
H A D | RemoteViewsAdapter.java | 401 int viewHeight = mCache.getMetaData().getLoadingTemplate(getContext()).defaultHeight; in getDefaultView() local 406 loadingTextView.setHeight(viewHeight); in getDefaultView()
|