Home
last modified time | relevance | path

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

1234

/frameworks/base/core/tests/coretests/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/support/v7/cardview/eclair-mr1/android/support/v7/widget/
DCardViewEclairMr1.java50 canvas.rotate(90); in initStatic()
53 canvas.rotate(90); in initStatic()
56 canvas.rotate(90); in initStatic()
DRoundRectDrawableWithShadow.java236 canvas.rotate(180f); in drawShadow()
247 canvas.rotate(270f); in drawShadow()
257 canvas.rotate(90f); in drawShadow()
/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/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/packages/SystemUI/src/com/android/systemui/recents/views/
DFakeShadowDrawable.java201 canvas.rotate(180f); in drawShadow()
212 canvas.rotate(270f); in drawShadow()
222 canvas.rotate(90f); in drawShadow()
/frameworks/native/services/surfaceflinger/RenderEngine/
DGLES20RenderEngine.cpp108 m = mat4::rotate(rot90InRadians, vec3(0,0,1)) * m; in setViewportAndProjection()
111 m = mat4::rotate(rot90InRadians * 2.0f, vec3(0,0,1)) * m; in setViewportAndProjection()
114 m = mat4::rotate(rot90InRadians * 3.0f, vec3(0,0,1)) * m; in setViewportAndProjection()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DDrawerArrowDrawable.java152 canvas.rotate(canvasRotate * ((mVerticalMirror ^ isRtl) ? -1 : 1)); in draw()
154 canvas.rotate(180); in draw()
/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
DMatrix2f.java163 public void rotate(float rot) { in rotate() method in Matrix2f
/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
DMatrix2f.java166 public void rotate(float rot) { in rotate() method in Matrix2f
/frameworks/base/libs/hwui/
DStatefulBaseRenderer.cpp120 void StatefulBaseRenderer::rotate(float degrees) { in rotate() function in android::uirenderer::StatefulBaseRenderer
121 mSnapshot->transform->rotate(degrees, 0.0f, 0.0f, 1.0f); in rotate()
DStatefulBaseRenderer.h74 virtual void rotate(float degrees);
/frameworks/rs/
DrsMatrix4x4.h64 void rotate(float rot, float x, float y, float z) { in rotate() function
/frameworks/base/core/java/android/widget/
DAnalogClock.java210 canvas.rotate(mHour / 12.0f * 360.0f, x, y); in onDraw()
221 canvas.rotate(mMinutes / 60.0f * 360.0f, x, y); in onDraw()
/frameworks/base/core/java/android/gesture/
DInstance.java108 GestureUtils.rotate(pts, adjustment); in temporalSampler()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DGLCanvas.java60 public abstract void rotate(float angle, float x, float y, float z); in rotate() method

1234