Searched refs:rotated (Results 1 - 8 of 8) sorted by relevance
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/ |
H A D | Point.java | 99 public Point rotated(float radians) { method in class:Point 106 return this.minus(center).rotated(radians).plus(center);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | RotateFilter.java | 75 Quad targetQuad = mSourceRect.rotated((float) (mRotateAngle / 180 * Math.PI));
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | LogicalDisplay.java | 327 // is rotated when the contents of the logical display are rendered. 337 // The frame specifies the rotated physical coordinates into which the viewport 341 boolean rotated = (orientation == Surface.ROTATION_90 343 int physWidth = rotated ? displayDeviceInfo.height : displayDeviceInfo.width; 344 int physHeight = rotated ? displayDeviceInfo.width : displayDeviceInfo.height;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/ |
H A D | Quad.java | 29 * scaled, rotated and sheared/skewed rectangles. As such, Quads are restricted to the set of 104 * Return a Quad that represents the specified rotated rectangle. 106 * The Quad is rotated counter-clockwise around its centroid. 110 * @return the Quad representing the source rectangle rotated by the given angle. 113 return Quad.fromRect(rect).rotated(angle); 178 * The Quad is rotated counter-clockwise around its centroid. 181 * @return the rotated Quad 183 public Quad rotated(float angle) { method in class:Quad
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | DockedStackDividerController.java | 163 final boolean rotated = (rotation == ROTATION_90 || rotation == ROTATION_270); 165 rotated ? baseDisplayHeight : baseDisplayWidth, 166 rotated ? baseDisplayWidth : baseDisplayHeight); 222 final boolean rotated = (rotation == ROTATION_90 || rotation == ROTATION_270); 223 final int dw = rotated 226 final int dh = rotated
|
H A D | DisplayContent.java | 1009 // to their rotated state independently and without a freeze required. 1103 * Update {@link #mDisplayInfo} and other internal variables when display is rotated or config 1109 final boolean rotated = (mRotation == ROTATION_90 || mRotation == ROTATION_270); 1110 final int realdw = rotated ? mBaseDisplayHeight : mBaseDisplayWidth; 1111 final int realdh = rotated ? mBaseDisplayWidth : mBaseDisplayHeight; 1189 final boolean rotated = (displayInfo.rotation == Surface.ROTATION_90 1192 computeSizeRangesAndScreenLayout(displayInfo, mDisplayId, rotated, config.uiMode, dw, dh, 1202 config.compatSmallestScreenWidthDp = computeCompatSmallestWidth(rotated, config.uiMode, dw, 1279 private int computeCompatSmallestWidth(boolean rotated, int uiMode, int dw, int dh, argument 1284 if (rotated) { 1316 computeSizeRangesAndScreenLayout(DisplayInfo displayInfo, int displayId, boolean rotated, int uiMode, int dw, int dh, float density, Configuration outConfig) argument [all...] |
/frameworks/av/cmds/screenrecord/ |
H A D | screenrecord.cpp | 139 * Returns "true" if the device is rotated 90 degrees. 220 // case is "all of it". If the app is rotated (so that the width of the 228 ALOGV("using rotated width/height"); 240 // post-rotation, so if the display is rotated 90 degrees we need to 559 bool rotated = isDeviceRotated(mainDpyInfo.orientation); local 561 gVideoWidth = rotated ? mainDpyInfo.h : mainDpyInfo.w; 564 gVideoHeight = rotated ? mainDpyInfo.w : mainDpyInfo.h;
|
/frameworks/base/libs/hwui/ |
H A D | PathTessellator.cpp | 251 Vector2 rotated = {-strokeOffset.y, strokeOffset.x}; local 252 referencePoint += rotated * (begin ? -1 : 1); 435 // stroke offset vector (rotated to be parallel to the stroke) 436 Vector2 rotated = {-strokeOffset.y, strokeOffset.x}; local 437 referencePoint += rotated;
|
Completed in 569 milliseconds