Home
last modified time | relevance | path

Searched refs:rotated (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DDisplayCutoutTest.java518 DisplayCutout rotated = cutout.getRotated(displayW, displayH, ROTATION_0, ROTATION_0); in testGetRotatedBounds_top_rot0() local
519 assertEquals(expected, rotated); in testGetRotatedBounds_top_rot0()
531 DisplayCutout rotated = cutout.getRotated(displayW, displayH, ROTATION_0, ROTATION_90); in testGetRotatedBounds_top_rot90() local
532 assertEquals(expected, rotated); in testGetRotatedBounds_top_rot90()
545 DisplayCutout rotated = cutout.getRotated(displayW, displayH, ROTATION_0, ROTATION_180); in testGetRotatedBounds_top_rot180() local
546 assertEquals(expected, rotated); in testGetRotatedBounds_top_rot180()
558 DisplayCutout rotated = cutout.getRotated(displayW, displayH, ROTATION_0, ROTATION_270); in testGetRotatedBounds_top_rot270() local
559 assertEquals(expected, rotated); in testGetRotatedBounds_top_rot270()
573 DisplayCutout rotated = cutout.getRotated(displayH, displayW, ROTATION_90, ROTATION_180); in testGetRotatedBounds_top_rot90to180() local
574 assertEquals(expected, rotated); in testGetRotatedBounds_top_rot90to180()
[all …]
/frameworks/base/core/java/android/util/
DRotationUtils.java49 Insets rotated; in rotateInsets() local
52 rotated = insets; in rotateInsets()
55 rotated = Insets.of( in rotateInsets()
62 rotated = Insets.of( in rotateInsets()
69 rotated = Insets.of( in rotateInsets()
78 return rotated; in rotateInsets()
/frameworks/base/core/java/com/android/internal/policy/
DSystemBarUtils.java71 DisplayCutout rotated = in getStatusBarHeightForRotation() local
73 insets = Insets.of(rotated.getSafeInsets()); in getStatusBarHeightForRotation()
74 waterfallInsets = rotated.getWaterfallInsets(); in getStatusBarHeightForRotation()
/frameworks/native/libs/input/
DTouchVideoFrame.cpp69 std::vector<int16_t> rotated(mData.size()); in rotateQuarterTurn() local
81 rotated[indexRotated] = mData[i * mWidth + j]; in rotateQuarterTurn()
84 mData = std::move(rotated); in rotateQuarterTurn()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DRotationUtils.java143 Context rotated = context.createConfigurationContext(c); in getResourcesForRotation() local
144 return rotated.getResources(); in getResourcesForRotation()
/frameworks/base/core/java/com/android/internal/view/
DRotationPolicy.java81 final boolean rotated = rotation % 2 != 0; in getRotationLockOrientation()
82 final int w = rotated ? metrics.heightPixels : metrics.widthPixels; in getRotationLockOrientation()
83 final int h = rotated ? metrics.widthPixels : metrics.heightPixels; in getRotationLockOrientation()
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
DPoint.java103 public Point rotated(float radians) { in rotated() method in Point
110 return this.minus(center).rotated(radians).plus(center); in rotatedAround()
/frameworks/native/services/inputflinger/docs/
Dinput_coordinates.md9 window bounds in pixels in the rotated logical display.
56 When the device is rotated and the same place on the touchscreen is touched, the
59 In the rotated display, that now corresponds to the pixel (2, 2).
/frameworks/base/services/core/java/com/android/server/display/
DLogicalDisplay.java707 boolean rotated = (orientation == Surface.ROTATION_90 in configureDisplayLocked()
709 int physWidth = rotated ? displayDeviceInfo.height : displayDeviceInfo.width; in configureDisplayLocked()
710 int physHeight = rotated ? displayDeviceInfo.width : displayDeviceInfo.height; in configureDisplayLocked()
725 if (rotated) { in configureDisplayLocked()
734 if (rotated) { in configureDisplayLocked()
/frameworks/base/services/core/java/com/android/server/wm/
DConfigurationContainer.java244 final boolean rotated = (rotation == ROTATION_90 || rotation == ROTATION_270); in applySizeOverrideIfNeeded()
245 final int dw = rotated in applySizeOverrideIfNeeded()
248 final int dh = rotated in applySizeOverrideIfNeeded()
278 displayContent.computeSizeRanges(info, rotated, dw, dh, in applySizeOverrideIfNeeded()
DDisplayContent.java2270 final boolean rotated = (rotation == ROTATION_90 || rotation == ROTATION_270); in updateDisplayAndOrientation()
2271 final int dw = rotated ? mBaseDisplayHeight : mBaseDisplayWidth; in updateDisplayAndOrientation()
2272 final int dh = rotated ? mBaseDisplayWidth : mBaseDisplayHeight; in updateDisplayAndOrientation()
2302 computeSizeRanges(mDisplayInfo, rotated, dw, dh, mDisplayMetrics.density, outConfig, in updateDisplayAndOrientation()
2354 final boolean rotated = (rotation == ROTATION_90 || rotation == ROTATION_270); in calculateDisplayCutoutForRotationAndDisplaySizeUncached()
2356 rotated ? displayHeight : displayWidth, in calculateDisplayCutoutForRotationAndDisplaySizeUncached()
2357 rotated ? displayWidth : displayHeight)); in calculateDisplayCutoutForRotationAndDisplaySizeUncached()
2423 final boolean rotated = (rotation == ROTATION_90 || rotation == ROTATION_270); in computeScreenConfiguration()
2424 final int dw = rotated ? mBaseDisplayHeight : mBaseDisplayWidth; in computeScreenConfiguration()
2425 final int dh = rotated ? mBaseDisplayWidth : mBaseDisplayHeight; in computeScreenConfiguration()
[all …]
DTaskFragment.java2260 final boolean rotated = (rotation == ROTATION_90 || rotation == ROTATION_270); in resolveTmpOverrides()
2261 final int dw = rotated ? dc.mBaseDisplayHeight : dc.mBaseDisplayWidth; in resolveTmpOverrides()
2262 final int dh = rotated ? dc.mBaseDisplayWidth : dc.mBaseDisplayHeight; in resolveTmpOverrides()
DActivityRecord.java10851 final boolean rotated = (rotation == ROTATION_90 || rotation == ROTATION_270);
10852 final int dw = rotated ? display.mBaseDisplayHeight : display.mBaseDisplayWidth;
10853 final int dh = rotated ? display.mBaseDisplayWidth : display.mBaseDisplayHeight;
10886 final boolean rotated = (rotation == ROTATION_90 || rotation == ROTATION_270);
10889 return rotated ? new Point(height, width) : new Point(width, height);
10905 final boolean rotated = (rotation == ROTATION_90 || rotation == ROTATION_270);
10906 final int dw = rotated ? mHeight : mWidth;
10907 final int dh = rotated ? mWidth : mHeight;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DRotateFilter.java75 Quad targetQuad = mSourceRect.rotated((float) (mRotateAngle / 180 * Math.PI)); in onProcess()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/
DQuad.java113 return Quad.fromRect(rect).rotated(angle); in fromRotatedRect()
183 public Quad rotated(float angle) { in rotated() method in Quad
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/wallpaper/
DWallpaperCropperTest.java116 Point rotated = new Point(size.y, size.x); in setUpWithDisplays()
117 mDisplaySizes.put(getOrientation(rotated), rotated); in setUpWithDisplays()
/frameworks/base/services/tests/PackageManagerServiceTests/server/assets/PackageSignaturesTest/xml/
DREADME44 - To sign with two signers in the lineage (after the signing key has been rotated once):
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DScreenDecorations.java967 final int rotated = getBoundPositionFromRotation(pos, mRotation); in getOverlayWindowGravity() local
968 switch (rotated) { in getOverlayWindowGravity()
/frameworks/base/media/java/android/media/
DMediaCodecInfo.java2694 PerformancePoint rotated = new PerformancePoint( in getPerformancePoints() local
2698 if (!given.covers(rotated)) { in getPerformancePoints()
2699 ret.add(rotated); in getPerformancePoints()
/frameworks/base/packages/SystemUI/docs/
Dqs-tiles.md506 with `activityIn` and `activityOut`), and `SlashState` (can be rotated or slashed through).
/frameworks/proto_logging/stats/enums/app/
Dsettings_enums.proto109 // ACTION: Settings > Display > When device is rotated
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto1319 // ACTION: Settings > Display > When device is rotated
/frameworks/proto_logging/stats/
Datoms.proto18278 // An early indication of device might be rotated.
18282 // Device rotated and the data associated with it is ready to be pulled.
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt15895 Landroid/filterfw/geometry/Point;->rotated(F)Landroid/filterfw/geometry/Point;