Home
last modified time | relevance | path

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

12345

/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/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/base/libs/hwui/tests/unit/
DClipAreaTests.cpp142 Matrix4 rotate; in TEST() local
143 rotate.loadRotate(5.0f); in TEST()
144 area.clipRectWithTransform(Rect(50, 50, 150, 150), &rotate, SkRegion::kIntersect_Op); in TEST()
220 Matrix4 rotate; in TEST() local
221 rotate.loadRotate(2.0f); in TEST()
222 area.clipRectWithTransform(Rect(200, 200), &rotate, SkRegion::kIntersect_Op); in TEST()
/frameworks/support/v7/cardview/gingerbread/android/support/v7/widget/
DCardViewGingerbread.java54 canvas.rotate(90); in initStatic()
57 canvas.rotate(90); in initStatic()
60 canvas.rotate(90); in initStatic()
DRoundRectDrawableWithShadow.java270 canvas.rotate(180f); in drawShadow()
281 canvas.rotate(270f); in drawShadow()
291 canvas.rotate(90f); in drawShadow()
/frameworks/base/docs/html/guide/topics/graphics/
Dview-animation.jd15 android.widget.TextView} object, you can move, rotate, grow, or shrink the text. If it has a
28 - for example, you can have the contents of a TextView move from left to right, and then rotate
29 180 degrees, or you can have the text move and rotate simultaneously. Each transformation takes a
39 <code>&lt;rotate&gt;</code>, interpolator element, or <code>&lt;set&gt;</code> element that holds
45 rotate a View object.</p>
69 &lt;rotate
/frameworks/base/docs/html/training/graphics/opengl/
Dmotion.jd18 <li><a href="#rotate-gl1">Rotate a Shape</a></li>
46 <h2 id="rotate">Rotate a Shape</h2>
74 <p>If your triangle does not rotate after making these changes, make sure you have commented out the
91 // To allow the triangle to rotate automatically, this line is commented out:
Dtouch.jd18 <li><a href="#rotate">Apply Rotation</a></li>
41 <p>This lesson shows you how to listen for touch events to let users rotate an OpenGL ES object.</p>
134 <h2 id="rotate">Apply Rotation</h2>
160 screen to rotate the triangle:</p>
/frameworks/base/libs/hwui/
DVectorDrawable.h414 float rotate = 0; member
427 return mPrimitiveFields.rotate; in getRotation()
430 VD_SET_PRIMITIVE_FIELD_AND_NOTIFY(rotate, rotation); in setRotation()
468 void updateProperties(float rotate, float pivotX, float pivotY, in updateProperties() argument
470 mPrimitiveFields.rotate = rotate; in updateProperties()
485 rotate = 0, enumerator
DCanvasState.cpp173 void CanvasState::rotate(float degrees) { in rotate() function in android::uirenderer::CanvasState
174 mSnapshot->transform->rotate(degrees, 0.0f, 0.0f, 1.0f); in rotate()
/frameworks/support/design/base/android/support/design/widget/
DShadowDrawableWrapper.java209 canvas.rotate(mRotation, mContentBounds.centerX(), mContentBounds.centerY()); in drawShadow()
241 canvas.rotate(180f); in drawShadow()
255 canvas.rotate(270f); in drawShadow()
268 canvas.rotate(90f); in drawShadow()
/frameworks/native/services/surfaceflinger/RenderEngine/
DGLES20RenderEngine.cpp102 m = mat4::rotate(rot90InRadians, vec3(0,0,1)) * m; in setViewportAndProjection()
105 m = mat4::rotate(rot90InRadians * 2.0f, vec3(0,0,1)) * m; in setViewportAndProjection()
108 m = mat4::rotate(rot90InRadians * 3.0f, vec3(0,0,1)) * m; in setViewportAndProjection()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DFakeShadowDrawable.java202 canvas.rotate(180f); in drawShadow()
213 canvas.rotate(270f); in drawShadow()
223 canvas.rotate(90f); in drawShadow()
/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/graphics/java/android/graphics/
DCamera.java102 public native void rotate(float x, float y, float z); in rotate() method in Camera
/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/support/v8/renderscript/java/src/android/support/v8/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/java/tests/RsCameraDemo/src/com/android/example/rscamera/
DVerticalSeekBar.java53 c.rotate(-90); in onDraw()
/frameworks/base/libs/hwui/tests/common/scenes/
DClippingAnimation.cpp39 canvas.rotate(45); in createContent()
/frameworks/rs/
DrsMatrix4x4.h64 void rotate(float rot, float x, float y, float z) { in rotate() function
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/
DDrawerArrowDrawable.java389 canvas.rotate(canvasRotate * ((mVerticalMirror ^ flipToPointRight) ? -1 : 1)); in draw()
391 canvas.rotate(180); in draw()
/frameworks/base/core/java/android/widget/
DAnalogClock.java211 canvas.rotate(mHour / 12.0f * 360.0f, x, y); in onDraw()
222 canvas.rotate(mMinutes / 60.0f * 360.0f, x, y); in onDraw()

12345