Home
last modified time | relevance | path

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

/frameworks/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/utils/
DImageCrop.kt68 val verticalOffset = (imageHeight - surfaceHeight * uvScale) / 2f in centerCoverCrop() constant
70 return ImageCrop(horizontalOffset, verticalOffset, uvScale, uvScale) in centerCoverCrop()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/
DPatternBouncer.kt298 val verticalOffset = in <lambda>() constant
305 offset = Offset(horizontalOffset, verticalOffset) in <lambda>()
317 pixelOffset(previousDot, spacing, horizontalOffset, verticalOffset) in <lambda>()
318 val to = pixelOffset(dot, spacing, horizontalOffset, verticalOffset) in <lambda>()
339 val from = pixelOffset(dot, spacing, horizontalOffset, verticalOffset) in <lambda>()
365 verticalOffset + appearOffset, in <lambda>()
415 verticalOffset: Float, in pixelOffset()
419 y = dot.y * spacing + spacing / 2 + verticalOffset, in pixelOffset()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewPopulateCharacterBoundsTest.java352 final int verticalOffset = -50; in testPopulateCharacterBounds_charactersWithInvisibleRegion() local
354 textView.populateCharacterBounds(builder, 0, text.length(), 0, verticalOffset); in testPopulateCharacterBounds_charactersWithInvisibleRegion()
358 final float firstLineTop = layout.getLineTop(0) + verticalOffset; in testPopulateCharacterBounds_charactersWithInvisibleRegion()
359 final float firstLineBottom = layout.getLineBottom(0) + verticalOffset; in testPopulateCharacterBounds_charactersWithInvisibleRegion()
361 final float secondLineTop = layout.getLineTop(1) + verticalOffset; in testPopulateCharacterBounds_charactersWithInvisibleRegion()
362 final float secondLineBottom = layout.getLineBottom(1) + verticalOffset; in testPopulateCharacterBounds_charactersWithInvisibleRegion()
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/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DFloatingContentCoordinator.kt350 val verticalOffset = in <lambda>() constant
354 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.java6513 final float verticalOffset = mTextView.viewportToContentVerticalOffset();
6514 if (trueLine > prevLine && y >= layout.getLineBottom(prevLine) + slop + verticalOffset) {
6517 if (trueLine < prevLine && y <= layout.getLineTop(prevLine) - slop + verticalOffset) {
/frameworks/base/core/java/com/android/internal/view/menu/
DStandardMenuPopup.java289 final int verticalOffset = mPopup.getVerticalOffset(); in onSubMenuSelected() local
299 if (subPopup.tryShow(horizontalOffset, verticalOffset)) { in onSubMenuSelected()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskLaunchParamsModifier.java991 final int verticalOffset;
994 verticalOffset = -Math.max(MINIMAL_STEP, availableRect.height() / STEP_DENOMINATOR);
997 verticalOffset = Math.max(MINIMAL_STEP, availableRect.height() / STEP_DENOMINATOR);
1000 verticalOffset = 0;
1003 inOutBounds.offset(horizontalOffset, verticalOffset);
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlsPopupMenu.kt118 verticalOffset = -anchorView.height / 2 in positionPopup()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java559 public void setVerticalCorrection(int verticalOffset) { in setVerticalCorrection() argument
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt69348 Landroid/widget/StackView$LayoutParams;->verticalOffset:I