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

/frameworks/base/libs/hwui/
H A DAssetAtlas.h64 * If set, the bitmap is rotated 90 degrees (clockwise)
67 bool rotated; member in struct:android::uirenderer::AssetAtlas::Entry
96 Entry(SkBitmap* bitmap, int x, int y, bool rotated, argument
98 bitmap(bitmap), x(x), y(y), rotated(rotated),
H A DAssetAtlas.cpp130 bool rotated = map[i++] > 0; local
144 Entry* entry = new Entry(bitmap, x, y, rotated, texture, mapper, *this);
H A DPathTessellator.cpp251 Vector2 rotated = {-strokeOffset.y, strokeOffset.x}; local
252 referencePoint += rotated * (begin ? -1 : 1);
436 // stroke offset vector (rotated to be parallel to the stroke)
437 Vector2 rotated = {-strokeOffset.y, strokeOffset.x}; local
438 referencePoint += rotated;
/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/graphics/java/android/graphics/
H A DAtlas.java55 * pixels in the atlas and a rotation flag. If the entry was rotated, the
56 * bitmap must be rotated by 90 degrees (in either direction as long as
70 * If true, the bitmap must be rotated 90 degrees in the atlas.
72 public boolean rotated; field in class:Atlas.Entry
365 boolean rotated = false;
379 rotated = true;
436 entry.rotated = rotated;
/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.java274 // is rotated when the contents of the logical display are rendered.
284 // The frame specifies the rotated physical coordinates into which the viewport
288 boolean rotated = (orientation == Surface.ROTATION_90
290 int physWidth = rotated ? displayDeviceInfo.height : displayDeviceInfo.width;
291 int physHeight = rotated ? displayDeviceInfo.width : displayDeviceInfo.height;
/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplayContent.java181 boolean rotated = (orientation == Surface.ROTATION_90
183 final int physWidth = rotated ? mBaseDisplayHeight : mBaseDisplayWidth;
184 final int physHeight = rotated ? mBaseDisplayWidth : mBaseDisplayHeight;
H A DWindowManagerService.java6369 * device is docked or rotated into a new posture.
7118 private void computeSizeRangesAndScreenLayout(DisplayInfo displayInfo, boolean rotated, argument
7127 if (rotated) {
7164 private int computeCompatSmallestWidth(boolean rotated, DisplayMetrics dm, int dw, int dh) { argument
7169 if (rotated) {
7192 final boolean rotated = (mRotation == Surface.ROTATION_90
7194 final int realdw = rotated ?
7196 final int realdh = rotated ?
7252 computeSizeRangesAndScreenLayout(displayInfo, rotated, dw, dh, dm.density, config);
7256 config.compatSmallestScreenWidthDp = computeCompatSmallestWidth(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.cpp134 * Returns "true" if the device is rotated 90 degrees.
216 // case is "all of it". If the app is rotated (so that the width of the
224 ALOGV("using rotated width/height");
236 // post-rotation, so if the display is rotated 90 degrees we need to
555 bool rotated = isDeviceRotated(mainDpyInfo.orientation); local
557 gVideoWidth = rotated ? mainDpyInfo.h : mainDpyInfo.w;
560 gVideoHeight = rotated ? mainDpyInfo.w : mainDpyInfo.h;
/frameworks/base/services/core/java/com/android/server/
H A DAssetAtlasService.java123 // long3: rotated, 1 if the bitmap must be rotated, 0 otherwise
289 if (entry.rotated) {
298 atlasMap[mapIndex++] = entry.rotated ? 1 : 0;

Completed in 2210 milliseconds