Home
last modified time | relevance | path

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

/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
DPoint.java99 public Point rotated(float radians) { in rotated() method in Point
106 return this.minus(center).rotated(radians).plus(center); in rotatedAround()
/frameworks/base/services/core/java/com/android/server/display/
DLogicalDisplay.java347 boolean rotated = (orientation == Surface.ROTATION_90 in configureDisplayLocked()
349 int physWidth = rotated ? displayDeviceInfo.height : displayDeviceInfo.width; in configureDisplayLocked()
350 int physHeight = rotated ? displayDeviceInfo.width : displayDeviceInfo.height; in configureDisplayLocked()
/frameworks/base/services/core/java/com/android/server/wm/
DDockedStackDividerController.java166 final boolean rotated = (rotation == ROTATION_90 || rotation == ROTATION_270); in getSmallestWidthDpForBounds()
168 rotated ? baseDisplayHeight : baseDisplayWidth, in getSmallestWidthDpForBounds()
169 rotated ? baseDisplayWidth : baseDisplayHeight); in getSmallestWidthDpForBounds()
271 final boolean rotated = (rotation == ROTATION_90 || rotation == ROTATION_270); in initSnapAlgorithmForRotations()
272 final int dw = rotated in initSnapAlgorithmForRotations()
275 final int dh = rotated in initSnapAlgorithmForRotations()
DDisplayContent.java1173 final boolean rotated = (mRotation == ROTATION_90 || mRotation == ROTATION_270); in updateDisplayAndOrientation()
1174 final int realdw = rotated ? mBaseDisplayHeight : mBaseDisplayWidth; in updateDisplayAndOrientation()
1175 final int realdh = rotated ? mBaseDisplayWidth : mBaseDisplayHeight; in updateDisplayAndOrientation()
1254 final boolean rotated = (rotation == ROTATION_90 || rotation == ROTATION_270); in calculateDisplayCutoutForRotationUncached()
1260 rotated ? mInitialDisplayHeight : mInitialDisplayWidth, in calculateDisplayCutoutForRotationUncached()
1261 rotated ? mInitialDisplayWidth : mInitialDisplayHeight); in calculateDisplayCutoutForRotationUncached()
1294 final boolean rotated = (displayInfo.rotation == Surface.ROTATION_90 in computeScreenConfiguration()
1297 computeSizeRangesAndScreenLayout(displayInfo, mDisplayId, rotated, config.uiMode, dw, dh, in computeScreenConfiguration()
1307 config.compatSmallestScreenWidthDp = computeCompatSmallestWidth(rotated, config.uiMode, dw, in computeScreenConfiguration()
1384 private int computeCompatSmallestWidth(boolean rotated, int uiMode, int dw, int dh, in computeCompatSmallestWidth() argument
[all …]
/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/av/cmds/screenrecord/
Dscreenrecord.cpp589 bool rotated = isDeviceRotated(mainDpyInfo.orientation); in recordScreen() local
591 gVideoWidth = rotated ? mainDpyInfo.h : mainDpyInfo.w; in recordScreen()
594 gVideoHeight = rotated ? mainDpyInfo.w : mainDpyInfo.h; in recordScreen()
/frameworks/base/libs/hwui/
DPathTessellator.cpp253 Vector2 rotated = {-strokeOffset.y, strokeOffset.x}; in storeBeginEnd() local
254 referencePoint += rotated * (begin ? -1 : 1); in storeBeginEnd()
431 Vector2 rotated = {-strokeOffset.y, strokeOffset.x}; in storeCapAA() local
432 referencePoint += rotated; in storeCapAA()
/frameworks/base/proto/src/
Dmetrics_constants.proto1240 // ACTION: Settings > Display > When device is rotated