Home
last modified time | relevance | path

Searched refs:verticalOffset (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DFloatingContentCoordinator.kt351 val verticalOffset = in <lambda>() constant
355 exclusionRect.top + verticalOffset) in <lambda>()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewActions.java505 final float verticalOffset = bounds.height() * 0.7f; in locateHandle() local
506 final float dragPointY = Math.max(Math.min(bounds.top + verticalOffset, in locateHandle()
586 final float verticalOffset = bounds.height() * 0.7f; in locateHandlePointsTextIndex() local
587 final float dragPointY = Math.max(Math.min(bounds.top + verticalOffset, in locateHandlePointsTextIndex()
/frameworks/base/core/java/android/widget/
DStackView.java543 if ((lp.horizontalOffset == 0 && lp.verticalOffset == 0) || in dispatchDraw()
1055 float d = (float) Math.hypot(viewLp.horizontalOffset, viewLp.verticalOffset);
1117 child.layout(mPaddingLeft + lp.horizontalOffset, mPaddingTop + lp.verticalOffset,
1118 childRight + lp.horizontalOffset, childBottom + lp.verticalOffset);
1316 int verticalOffset;
1328 verticalOffset = 0;
1335 verticalOffset = 0;
1381 setOffsets(newHorizontalOffset, verticalOffset);
1387 int verticalOffsetDelta = newVerticalOffset - verticalOffset;
1388 verticalOffset = newVerticalOffset;
DRelativeLayout.java627 final int verticalOffset = contentBounds.top - top; in onMeasure() local
628 if (horizontalOffset != 0 || verticalOffset != 0) { in onMeasure()
638 params.mTop += verticalOffset; in onMeasure()
639 params.mBottom += verticalOffset; in onMeasure()
DMagnifier.java1538 @Px int verticalOffset) { in setDefaultSourceToMagnifierOffset() argument
1540 mVerticalDefaultSourceToMagnifierOffset = verticalOffset; in setDefaultSourceToMagnifierOffset()
DEditor.java6203 final float verticalOffset = mTextView.viewportToContentVerticalOffset();
6204 if (trueLine > prevLine && y >= layout.getLineBottom(prevLine) + slop + verticalOffset) {
6207 if (trueLine < prevLine && y <= layout.getLineTop(prevLine) - slop + verticalOffset) {
DTextView.java10205 final int verticalOffset = viewportToContentVerticalOffset(); in convertFromViewportToContentCoordinates() local
10206 r.top += verticalOffset; in convertFromViewportToContentCoordinates()
10207 r.bottom += verticalOffset; in convertFromViewportToContentCoordinates()
/frameworks/base/core/java/com/android/internal/view/menu/
DStandardMenuPopup.java277 final int verticalOffset = mPopup.getVerticalOffset(); in onSubMenuSelected() local
287 if (subPopup.tryShow(horizontalOffset, verticalOffset)) { in onSubMenuSelected()
/frameworks/base/core/tests/coretests/src/android/widget/
DEditorCursorDragTest.java538 final float verticalOffset = tv.getExtendedPaddingTop(); in testLineChangeSlop() local
541 assertThat(editor.getCurrentLineAdjustedForSlop(layout, 1, 5 + verticalOffset)) in testLineChangeSlop()
544 assertThat(editor.getCurrentLineAdjustedForSlop(layout, 1, 40 + verticalOffset)) in testLineChangeSlop()
547 assertThat(editor.getCurrentLineAdjustedForSlop(layout, 1, 70 + verticalOffset)) in testLineChangeSlop()
550 assertThat(editor.getCurrentLineAdjustedForSlop(layout, 1, 85 + verticalOffset)) in testLineChangeSlop()
553 assertThat(editor.getCurrentLineAdjustedForSlop(layout, 1, 110 + verticalOffset)) in testLineChangeSlop()
556 assertThat(editor.getCurrentLineAdjustedForSlop(layout, 0, 110 + verticalOffset)) in testLineChangeSlop()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskLaunchParamsModifier.java1041 final int verticalOffset;
1044 verticalOffset = -Math.max(MINIMAL_STEP, availableRect.height() / STEP_DENOMINATOR);
1047 verticalOffset = Math.max(MINIMAL_STEP, availableRect.height() / STEP_DENOMINATOR);
1050 verticalOffset = 0;
1053 inOutBounds.offset(horizontalOffset, verticalOffset);
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java557 public void setVerticalCorrection(int verticalOffset) { in setVerticalCorrection() argument
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt73314 Landroid/widget/StackView$LayoutParams;->verticalOffset:I