Home
last modified time | relevance | path

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

1234

/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DFileRotatorTest.java90 final FileRotator rotate = new FileRotator( in testCombine() local
97 rotate.combineActive(reader, writer("foo"), currentTime); in testCombine()
99 assertReadAll(rotate, "foo"); in testCombine()
105 rotate.combineActive(reader, writer("bar"), currentTime); in testCombine()
107 assertReadAll(rotate, "bar"); in testCombine()
111 final FileRotator rotate = new FileRotator( in testRotate() local
118 rotate.combineActive(reader, writer("foo"), currentTime); in testRotate()
120 assertReadAll(rotate, "foo"); in testRotate()
125 rotate.combineActive(reader, writer("bar"), currentTime); in testRotate()
127 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/core/java/android/webkit/
DOverScrollGlow.java178 canvas.rotate(180, width, 0); in drawEdgeGlows()
186 canvas.rotate(270); in drawEdgeGlows()
195 canvas.rotate(90); in drawEdgeGlows()
/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>
69 <p>If your triangle does not rotate after making these changes, make sure you have commented out the
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>
118 <h2 id="rotate">Apply Rotation</h2>
140 screen to rotate the triangle:</p>
/frameworks/base/graphics/java/android/graphics/
DCamera.java100 public native void rotate(float x, float y, float z); in rotate() method in Camera
/frameworks/base/graphics/java/android/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/support/renderscript/v8/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/support/renderscript/v8/rs_support/
DrsMatrix4x4.h65 void rotate(float rot, float x, float y, float z) { in rotate() function
/frameworks/rs/
DrsMatrix4x4.h65 void rotate(float rot, float x, float y, float z) { in rotate() function
/frameworks/base/core/java/android/widget/
DAnalogClock.java199 canvas.rotate(mHour / 12.0f * 360.0f, x, y); in onDraw()
210 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/libs/hwui/
DMatrix.h109 void rotate(float angle, float x, float y, float z) { in rotate() function
/frameworks/ex/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java531 rotate(90, true); in rotateClockwise()
538 rotate(-90, true); in rotateCounterClockwise()
901 private void rotate(float degrees, boolean animate) { in rotate() method in PhotoView
1274 mHeader.rotate(rotationAmount, false); in run()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DGcSnapshot.java431 public void rotate(double radians) { in rotate() method in GcSnapshot
434 layer.getGraphics().rotate(radians); in rotate()
440 mTransform.rotate(radians); in rotate()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java529 rotate(90, true); in rotateClockwise()
536 rotate(-90, true); in rotateCounterClockwise()
903 private void rotate(float degrees, boolean animate) { in rotate() method in PhotoView
1276 mHeader.rotate(rotationAmount, false); in run()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
DSettingsView.java68 mRotationLockContainer = findViewById(R.id.rotate); in onFinishInflate()
/frameworks/base/media/jni/
Dandroid_media_MediaMetadataRetriever.cpp200 static void rotate(T *dst, const T *src, size_t width, size_t height, int angle) in rotate() function
270 rotate((uint16_t*)bitmap->getPixels(), in android_media_MediaMetadataRetriever_getFrameAtTime()
/frameworks/base/docs/html/distribute/promote/
Ddevice-art.jd38 <a class="button" id="rotate-button">Rotate</a>
381 // Set up rotate button.
382 $('#rotate-button').click(function() {
395 ctx.rotate(-Math.PI / 2);

1234