/aosp14/frameworks/base/core/java/android/view/ |
H A D | PrivacyIndicatorBounds.java | 43 private final int mRotation; field in PrivacyIndicatorBounds 47 mRotation = ROTATION_0; in PrivacyIndicatorBounds() 52 mRotation = rotation; in PrivacyIndicatorBounds() 59 return new PrivacyIndicatorBounds(staticPositions, mRotation); in updateStaticBounds() 126 return new PrivacyIndicatorBounds(scaledStaticPos, mRotation); in scale() 140 return mStaticBounds[mRotation]; in getStaticPrivacyIndicatorBounds() 146 + " rotation=" + mRotation + "}"; in toString() 178 && mRotation == that.mRotation; in equals() 189 _hash = 31 * _hash + mRotation; in hashCode() 200 dest.writeInt(mRotation); in writeToParcel() [all …]
|
H A D | DisplayShape.java | 60 private final int mRotation; field in DisplayShape 78 mRotation = rotation; in DisplayShape() 185 mPhysicalPixelDisplaySizeRatio, mRotation, offsetX, offsetY, mScale); in setOffset() 193 mPhysicalPixelDisplaySizeRatio, mRotation, mOffsetX, mOffsetY, scale); in setScale() 199 mPhysicalPixelDisplaySizeRatio, mRotation, mOffsetX, mOffsetY, mScale); in hashCode() 212 && mRotation == ds.mRotation && mOffsetX == ds.mOffsetX in equals() 225 + " rotation=" + mRotation in toString() 252 dest.writeInt(mRotation); in writeToParcel() 333 if (shape.mRotation != ROTATION_0) { in getPath() 335 shape.mRotation, shape.mDisplayWidth, shape.mDisplayHeight, matrix); in getPath()
|
H A D | DisplayCutout.java | 266 private final @Rotation int mRotation; field in DisplayCutout.CutoutPathParserInfo 279 mRotation = rotation; in CutoutPathParserInfo() 291 mRotation = cutoutPathParserInfo.mRotation; in CutoutPathParserInfo() 321 return mRotation; in getRotation() 343 result = result * 48271 + Integer.hashCode(mRotation); in hashCode() 362 && mRotation == c.mRotation && mScale == c.mScale in equals() 376 + " rotation={" + mRotation + "}" in toString()
|
/aosp14/frameworks/base/core/java/android/window/ |
H A D | PictureInPictureSurfaceTransaction.java | 46 public final float mRotation; field in PictureInPictureSurfaceTransaction 61 mRotation = in.readFloat(); in PictureInPictureSurfaceTransaction() 76 mRotation = 0; in PictureInPictureSurfaceTransaction() 79 mRotation = rotation; in PictureInPictureSurfaceTransaction() 128 && Objects.equals(mRotation, that.mRotation) in equals() 139 mRotation, mCornerRadius, mShadowRadius, mWindowCrop, in hashCode() 153 out.writeFloat(mRotation); in writeToParcel() 167 + " rotation=" + mRotation in toString() 214 private float mRotation; field in PictureInPictureSurfaceTransaction.Builder 231 mRotation = rotation; in setTransform() [all …]
|
H A D | TaskSnapshot.java | 53 private final int mRotation; field in TaskSnapshot 86 mRotation = rotation; in TaskSnapshot() 108 mRotation = source.readInt(); 179 return mRotation; 267 dest.writeInt(mRotation); 290 + " mRotation=" + mRotation 319 private int mRotation; 362 mRotation = rotation; 429 mRotation,
|
/aosp14/frameworks/base/core/java/android/app/ |
H A D | WindowConfiguration.java | 232 dest.writeInt(mRotation); in writeToParcel() 245 mRotation = source.readInt(); in readFromParcel() 383 return mRotation; in getRotation() 387 mRotation = rotation; in setRotation() 440 setRotation(other.mRotation); in setTo() 527 if (delta.mRotation != ROTATION_UNDEFINED && delta.mRotation != mRotation) { in updateFrom() 529 setRotation(delta.mRotation); in updateFrom() 568 setRotation(delta.mRotation); in setTo() 623 && mRotation != other.mRotation) { in diff() 682 n = mRotation - that.mRotation; in compareTo() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | MultiListLayout.java | 35 protected int mRotation; field in MultiListLayout 40 mRotation = RotationUtils.getRotation(context); in MultiListLayout() 88 if (newRotation != mRotation) { in onConfigurationChanged() 89 rotate(mRotation, newRotation); in onConfigurationChanged() 90 mRotation = newRotation; in onConfigurationChanged()
|
H A D | ScreenDecorations.java | 164 private int mRotation; field in ScreenDecorations 487 mRotation = mDisplayInfo.rotation; in startOnScreenDecorationsThread() 511 && (mRotation != newRotation in startOnScreenDecorationsThread() 524 if (mRotation != newRotation) { in startOnScreenDecorationsThread() 1064 int oldRotation = mRotation; in onConfigurationChanged() 1067 if (oldRotation != mRotation) { in onConfigurationChanged() 1166 if (mRotation != newRotation) { in updateConfiguration() 1174 mRotation = newRotation; in updateConfiguration() 1308 private int mRotation; field in ScreenDecorations.DisplayCutoutView 1338 if (rotation == mRotation) { in updateRotation() [all …]
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
H A D | DisplayLayout.java | 84 private int mRotation; field in DisplayLayout 104 && mRotation == other.mRotation in isSameGeometry() 118 && mRotation == other.mRotation in equals() 134 return Objects.hash(mUiMode, mWidth, mHeight, mCutout, mRotation, mDensityDpi, in hashCode() 178 mRotation = dl.mRotation; in set() 196 mRotation = info.rotation; in init() 233 final int rotationDelta = (targetRotation - mRotation + 4) % 4; in rotateTo() 239 mRotation = targetRotation; in rotateTo() 275 return mRotation; in rotation() 314 if ((mRotation % 2) != 0) { in getUpsideDownRotation() [all …]
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/hidedisplaycutout/ |
H A D | HideDisplayCutoutOrganizer.java | 76 int mRotation; field in HideDisplayCutoutOrganizer 99 final boolean rotationChanged = mRotation != displayLayout.rotation(); in onDisplayChanged() 100 mRotation = displayLayout.rotation(); in onDisplayChanged() 179 mRotation = displayLayout.rotation(); in enableHideDisplayCutout() 208 return mRotation != Surface.ROTATION_0 in getDisplayCutoutInsetsOfNaturalOrientation() 209 ? RotationUtils.rotateInsets(insets, 4 /* total number of rotation */ - mRotation) in getDisplayCutoutInsetsOfNaturalOrientation() 228 return mRotation == Surface.ROTATION_90 || mRotation == Surface.ROTATION_270; in isDisplaySizeFlipped() 262 mCurrentCutoutInsets = RotationUtils.rotateInsets(mDefaultCutoutInsets, mRotation); in updateBoundsAndOffsets() 351 pw.println(mRotation); in dump()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | SlashDrawable.java | 61 private float mRotation; field in SlashDrawable 99 if (mRotation == rotation) return; in setRotation() 100 mRotation = rotation; in setRotation() 160 m.setRotate(mRotation + DEFAULT_ROTATION, width / 2, height / 2); in draw() 165 m.setRotate(-mRotation - DEFAULT_ROTATION, width / 2, height / 2); in draw() 172 m.setRotate(mRotation + DEFAULT_ROTATION, width / 2, height / 2); in draw()
|
/aosp14/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | OutputConfiguration.java | 562 mRotation = rotation; in OutputConfiguration() 666 mRotation = ROTATION_0; in OutputConfiguration() 1160 this.mRotation = other.mRotation; in OutputConfiguration() 1208 mRotation = rotation; in OutputConfiguration() 1283 return mRotation; in getRotation() 1338 dest.writeInt(mRotation); in writeToParcel() 1375 if (mRotation != other.mRotation || in equals() 1428 mRotation, mConfiguredSize.hashCode(), mConfiguredFormat, mConfiguredDataspace, in hashCode() 1437 mRotation, mSurfaces.hashCode(), mConfiguredGenerationId, in hashCode() 1453 private final int mRotation; field in OutputConfiguration
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/ |
H A D | PerimeterPathGuide.java | 83 private int mRotation = ROTATION_0; field in PerimeterPathGuide 108 if (rotation != mRotation) { in setRotation() 114 mRotation = rotation; in setRotation() 210 switch (mRotation) { in computeRegions() 225 if (mRotation == ROTATION_90 || mRotation == Surface.ROTATION_270) { in computeRegions() 301 switch (mRotation) { in getRotatedCorner()
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | DisplayFrames.java | 61 public int mRotation; field in DisplayFrames 86 if (mRotation == rotation && mWidth == w && mHeight == h in update() 92 mRotation = rotation; in update() 136 pw.println(prefix + "DisplayFrames w=" + mWidth + " h=" + mHeight + " r=" + mRotation); in dump()
|
H A D | EmulatorDisplayOverlay.java | 51 private int mRotation; field in EmulatorDisplayOverlay 124 if (mLastDW == dw && mLastDH == dh && mRotation == rotation) { in positionSurface() 130 mRotation = rotation; in positionSurface()
|
H A D | DisplayRotation.java | 162 private int mRotation; field in DisplayRotation 284 mRotation = defaultRotation; in DisplayRotation() 454 mRotation = rotation; in setRotation() 459 return mRotation; in getRotation() 556 final int oldRotation = mRotation; in updateRotationUnchecked() 615 mRotation = rotation; in updateRotationUnchecked() 624 oldRotation, mRotation); in updateRotationUnchecked() 651 startRemoteRotation(oldRotation, mRotation); in updateRotationUnchecked() 664 if (targetRotation != mRotation) { in continueRotation() 1180 final int oldRotation = mRotation; in needsUpdate() [all …]
|
/aosp14/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | FixedRotationFilter.java | 38 private int mRotation = 0; field in FixedRotationFilter 61 if (mRotation == 0) { in process() 79 switch (((int)Math.round(mRotation / 90f)) % 4) { in process()
|
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | DisplayPolicyLayoutTests.java | 70 private int mRotation = ROTATION_0; field in DisplayPolicyLayoutTests 91 mRotation = rotation; in setRotation() 127 final DisplayInfo info = displayInfoAndCutoutForRotation(mRotation, in createDisplayFrames() 130 ? mDisplayContent.calculateRoundedCornersForRotation(mRotation) in createDisplayFrames()
|
H A D | TaskSnapshotPersisterTestBase.java | 161 private int mRotation = Surface.ROTATION_0; field in TaskSnapshotPersisterTestBase.TaskSnapshotBuilder 200 mRotation = rotation; in setRotation() 224 mRotation, taskSize, TEST_CONTENT_INSETS, TEST_LETTERBOX_INSETS, in build()
|
/aosp14/frameworks/base/packages/WallpaperCropper/src/com/android/photos/ |
H A D | BitmapRegionTileSource.java | 162 private int mRotation; field in BitmapRegionTileSource.BitmapSource 173 mRotation = ExifInterface.getRotationForOrientationValue(ori.shortValue()); in loadInBackground() 216 return mRotation; in getRotation() 371 private final int mRotation; field in BitmapRegionTileSource 381 mRotation = source.getRotation(); in BitmapRegionTileSource() 432 return mRotation; in getRotation()
|
/aosp14/frameworks/base/core/java/android/hardware/camera2/impl/ |
H A D | CameraExtensionJpegProcessor.java | 67 public int mRotation = JPEG_DEFAULT_ROTATION; // CW multiple of 90 degrees field in CameraExtensionJpegProcessor.JpegParameters 110 ret.mRotation = (360 - (orientation % 360)) / 90; in getJpegParameters() 335 jpegParams.mRotation = JPEG_DEFAULT_ROTATION; in onImageAvailable() 352 jpegParams.mRotation); in onImageAvailable()
|
/aosp14/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | TiledImageRenderer.java | 110 protected int mRotation; field in TiledImageRenderer 193 if (mRotation != rotation) { in setModel() 194 mRotation = rotation; in setModel() 274 getRange(range, mCenterX, mCenterY, mLevel, mScale, mRotation); in layoutTiles() 290 getRange(range[i - fromLevel], mCenterX, mCenterY, i, mRotation); in layoutTiles() 294 if (mRotation % 90 != 0) { in layoutTiles() 418 int rotation = mRotation; in draw()
|
/aosp14/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
H A D | WallpaperCropActivity.java | 456 int mRotation; 505 mRotation = rotation; 599 if (mRotation > 0) { 600 rotateMatrix.setRotate(mRotation); 601 inverseRotateMatrix.setRotate(-mRotation); 720 if (mOutWidth > 0 && mOutHeight > 0 || mRotation > 0) { 735 if (mRotation == 0) { 741 m2.setRotate(mRotation);
|
/aosp14/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/ |
H A D | AccessibilityMenuService.java | 91 int mRotation; 104 if (mRotation != display.getRotation()) { 105 mRotation = display.getRotation();
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/hidedisplaycutout/ |
H A D | HideDisplayCutoutOrganizerTest.java | 166 assertThat(mOrganizer.mRotation).isEqualTo(Surface.ROTATION_0); in testToggleHideDisplayCutout_enable_rot0() 184 assertThat(mOrganizer.mRotation).isEqualTo(Surface.ROTATION_90); in testToggleHideDisplayCutout_enable_rot90() 202 assertThat(mOrganizer.mRotation).isEqualTo(Surface.ROTATION_270); in testToggleHideDisplayCutout_enable_rot270()
|