Searched refs:rotated (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
H A DPoint.java99 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 DRotateFilter.java75 Quad targetQuad = mSourceRect.rotated((float) (mRotateAngle / 180 * Math.PI));
/frameworks/base/services/core/java/com/android/server/display/
H A DLogicalDisplay.java296 // is rotated when the contents of the logical display are rendered.
306 // The frame specifies the rotated physical coordinates into which the viewport
310 boolean rotated = (orientation == Surface.ROTATION_90
312 int physWidth = rotated ? displayDeviceInfo.height : displayDeviceInfo.width;
313 int physHeight = rotated ? displayDeviceInfo.width : displayDeviceInfo.height;
/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplayContent.java182 boolean rotated = (orientation == Surface.ROTATION_90
184 final int physWidth = rotated ? mBaseDisplayHeight : mBaseDisplayWidth;
185 final int physHeight = rotated ? mBaseDisplayWidth : mBaseDisplayHeight;
H A DWindowManagerService.java6486 * device is docked or rotated into a new posture.
7228 private void computeSizeRangesAndScreenLayout(DisplayInfo displayInfo, boolean rotated, argument
7237 if (rotated) {
7274 private int computeCompatSmallestWidth(boolean rotated, DisplayMetrics dm, int dw, int dh) { argument
7279 if (rotated) {
7299 final boolean rotated = (mRotation == Surface.ROTATION_90
7301 final int realdw = rotated ?
7303 final int realdh = rotated ?
7370 final boolean rotated = (mRotation == Surface.ROTATION_90
7372 computeSizeRangesAndScreenLayout(displayInfo, rotated, d
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/
H A DQuad.java29 * 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/av/cmds/screenrecord/
H A Dscreenrecord.cpp137 * Returns "true" if the device is rotated 90 degrees.
219 // case is "all of it". If the app is rotated (so that the width of the
227 ALOGV("using rotated width/height");
239 // post-rotation, so if the display is rotated 90 degrees we need to
558 bool rotated = isDeviceRotated(mainDpyInfo.orientation); local
560 gVideoWidth = rotated ? mainDpyInfo.h : mainDpyInfo.w;
563 gVideoHeight = rotated ? mainDpyInfo.w : mainDpyInfo.h;
/frameworks/base/libs/hwui/
H A DPathTessellator.cpp250 Vector2 rotated = {-strokeOffset.y, strokeOffset.x}; local
251 referencePoint += rotated * (begin ? -1 : 1);
433 // stroke offset vector (rotated to be parallel to the stroke)
434 Vector2 rotated = {-strokeOffset.y, strokeOffset.x}; local
435 referencePoint += rotated;

Completed in 3020 milliseconds