/frameworks/base/core/tests/coretests/src/android/view/ |
D | DisplayCutoutTest.java | 518 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/ |
D | RotationUtils.java | 49 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/ |
D | SystemBarUtils.java | 71 DisplayCutout rotated = in getStatusBarHeightForRotation() local 73 insets = Insets.of(rotated.getSafeInsets()); in getStatusBarHeightForRotation() 74 waterfallInsets = rotated.getWaterfallInsets(); in getStatusBarHeightForRotation()
|
/frameworks/native/libs/input/ |
D | TouchVideoFrame.cpp | 69 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/ |
D | RotationUtils.java | 143 Context rotated = context.createConfigurationContext(c); in getResourcesForRotation() local 144 return rotated.getResources(); in getResourcesForRotation()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | RotationPolicy.java | 81 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/ |
D | Point.java | 103 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/ |
D | input_coordinates.md | 9 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/ |
D | LogicalDisplay.java | 707 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/ |
D | ConfigurationContainer.java | 244 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()
|
D | DisplayContent.java | 2270 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 …]
|
D | TaskFragment.java | 2260 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()
|
D | ActivityRecord.java | 10851 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/ |
D | RotateFilter.java | 75 Quad targetQuad = mSourceRect.rotated((float) (mRotateAngle / 180 * Math.PI)); in onProcess()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/ |
D | Quad.java | 113 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/ |
D | WallpaperCropperTest.java | 116 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/ |
D | README | 44 - To sign with two signers in the lineage (after the signing key has been rotated once):
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ScreenDecorations.java | 967 final int rotated = getBoundPositionFromRotation(pos, mRotation); in getOverlayWindowGravity() local 968 switch (rotated) { in getOverlayWindowGravity()
|
/frameworks/base/media/java/android/media/ |
D | MediaCodecInfo.java | 2694 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/ |
D | qs-tiles.md | 506 with `activityIn` and `activityOut`), and `SlashState` (can be rotated or slashed through).
|
/frameworks/proto_logging/stats/enums/app/ |
D | settings_enums.proto | 109 // ACTION: Settings > Display > When device is rotated
|
/frameworks/base/proto/src/metrics_constants/ |
D | metrics_constants.proto | 1319 // ACTION: Settings > Display > When device is rotated
|
/frameworks/proto_logging/stats/ |
D | atoms.proto | 18278 // 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/ |
D | hiddenapi-max-target-o.txt | 15895 Landroid/filterfw/geometry/Point;->rotated(F)Landroid/filterfw/geometry/Point;
|