Home
last modified time | relevance | path

Searched refs:rotate (Results 1 – 25 of 82) sorted by relevance

1234

/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DFileRotatorTest.java92 final FileRotator rotate = new FileRotator( in testCombine() local
99 rotate.combineActive(reader, writer("foo"), currentTime); in testCombine()
101 assertReadAll(rotate, "foo"); in testCombine()
107 rotate.combineActive(reader, writer("bar"), currentTime); in testCombine()
109 assertReadAll(rotate, "bar"); in testCombine()
113 final FileRotator rotate = new FileRotator( in testRotate() local
120 rotate.combineActive(reader, writer("foo"), currentTime); in testRotate()
122 assertReadAll(rotate, "foo"); in testRotate()
127 rotate.combineActive(reader, writer("bar"), currentTime); in testRotate()
129 assertReadAll(rotate, "bar"); in testRotate()
[all …]
/frameworks/native/libs/input/tests/
DTouchVideoFrame_test.cpp75 frame.rotate(DISPLAY_ORIENTATION_90); in TEST()
82 frame.rotate(DISPLAY_ORIENTATION_90); in TEST()
89 frame.rotate(DISPLAY_ORIENTATION_90); in TEST()
96 frame.rotate(DISPLAY_ORIENTATION_90); in TEST()
103 frame.rotate(DISPLAY_ORIENTATION_90); in TEST()
104 frame.rotate(DISPLAY_ORIENTATION_90); in TEST()
105 frame.rotate(DISPLAY_ORIENTATION_90); in TEST()
106 frame.rotate(DISPLAY_ORIENTATION_90); in TEST()
115 frame.rotate(DISPLAY_ORIENTATION_180); in TEST()
122 frame.rotate(DISPLAY_ORIENTATION_180); in TEST()
[all …]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DTransform3dActivity.java63 rotate(centerX, centerY, camera, matrix, 32.0f); in onDraw()
66 rotate(centerX, centerY, camera, matrix, 12.0f); in onDraw()
69 rotate(centerX, centerY, camera, matrix, 52.0f); in onDraw()
72 rotate(centerX, centerY, camera, matrix, 122.0f); in onDraw()
86 private void rotate(float centerX, float centerY, Camera camera, in rotate() method in Transform3dActivity.Transform3dView
DColoredRectsActivity.java96 canvas.rotate(45); in onDraw()
101 canvas.rotate(5); in onDraw()
107 canvas.rotate(5); in onDraw()
113 canvas.rotate(45); in onDraw()
119 canvas.rotate(0.5f); in onDraw()
DViewLayersActivity.java65 final ObjectAnimator rotate = ObjectAnimator.ofFloat(middleList, in onCreate()
67 rotate.setDuration(3000); in onCreate()
68 rotate.setRepeatCount(ObjectAnimator.INFINITE); in onCreate()
69 rotate.setRepeatMode(ObjectAnimator.REVERSE); in onCreate()
89 rotate.start(); in onCreate()
DRotationActivity.java55 canvas.rotate(45.0f); in onDraw()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DSysUiOverlay.java105 canvas.rotate(90); in paintRoundedBorders()
111 canvas.rotate(180); in paintRoundedBorders()
117 canvas.rotate(270); in paintRoundedBorders()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DMultiListLayout.java86 rotate(mRotation, newRotation); in onConfigurationChanged()
91 protected void rotate(int from, int to) { in rotate() method in MultiListLayout
DHardwareUiLayout.java183 rotate(mRotation, rotation); in updateRotation()
192 protected void rotate(int from, int to) { in rotate() method in HardwareUiLayout
193 super.rotate(from, to); in rotate()
196 rotate(from, ROTATION_NONE); in rotate()
197 rotate(ROTATION_NONE, to); in rotate()
/frameworks/base/libs/hwui/
DVectorDrawable.h387 float rotate = 0; member
399 float getRotation() const { return mPrimitiveFields.rotate; } in getRotation()
400 void setRotation(float rotation) { VD_SET_PRIMITIVE_FIELD_AND_NOTIFY(rotate, rotation); } in setRotation()
417 void updateProperties(float rotate, float pivotX, float pivotY, float scaleX, float scaleY, in updateProperties() argument
419 mPrimitiveFields.rotate = rotate; in updateProperties()
435 rotate = 0, enumerator
DRenderNode.cpp441 true3dMat.rotate(properties().getRotationX(), 1, 0, 0); in applyViewPropertyTransforms()
442 true3dMat.rotate(properties().getRotationY(), 0, 1, 0); in applyViewPropertyTransforms()
443 true3dMat.rotate(properties().getRotation(), 0, 0, 1); in applyViewPropertyTransforms()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DFakeShadowDrawable.java205 canvas.rotate(180f); in drawShadow()
216 canvas.rotate(270f); in drawShadow()
226 canvas.rotate(90f); in drawShadow()
/frameworks/native/include/input/
DTouchVideoFrame.h63 void rotate(int32_t orientation);
/frameworks/base/graphics/java/android/graphics/
DCamera.java102 public native void rotate(float x, float y, float z); in rotate() method in Camera
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DDisplayModifier.java221 canvas.rotate(5);
227 canvas.rotate(45);
233 canvas.rotate(90);
248 canvas.rotate(20);
/frameworks/base/rs/java/android/renderscript/
DMatrix3f.java244 public void rotate(float rot, float x, float y, float z) { in rotate() method in Matrix3f
256 public void rotate(float rot) { in rotate() method in Matrix3f
/frameworks/rs/support/java/src/androidx/renderscript/
DMatrix3f.java247 public void rotate(float rot, float x, float y, float z) { in rotate() method in Matrix3f
259 public void rotate(float rot) { in rotate() method in Matrix3f
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DVerticalSeekBar.java53 c.rotate(-90); in onDraw()
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DVerticalSeekBar.java53 c.rotate(-90); in onDraw()
/frameworks/base/libs/hwui/tests/common/scenes/
DClippingAnimation.cpp37 canvas.rotate(45); in createContent()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DInsetUtilsTest.java50 public void rotate() { in rotate() method in InsetUtilsTest
/frameworks/rs/
DrsMatrix4x4.h64 void rotate(float rot, float x, float y, float z) { in rotate() function
/frameworks/base/libs/hwui/tests/unit/
DSkiaDisplayListTests.cpp317 SkMatrix rotate; in RENDERTHREAD_SKIA_PIPELINE_TEST() local
318 rotate.setRotate(180); in RENDERTHREAD_SKIA_PIPELINE_TEST()
319 skiaDL.appendVD(&dirtyVD, rotate); in RENDERTHREAD_SKIA_PIPELINE_TEST()
/frameworks/native/libs/input/
DTouchVideoFrame.cpp42 void TouchVideoFrame::rotate(int32_t orientation) { in rotate() function in android::TouchVideoFrame
/frameworks/base/core/java/android/widget/
DAnalogClock.java218 canvas.rotate(mHour / 12.0f * 360.0f, x, y); in onDraw()
229 canvas.rotate(mMinutes / 60.0f * 360.0f, x, y); in onDraw()

1234