Home
last modified time | relevance | path

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

12345

/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DFileRotatorTest.java97 final FileRotator rotate = new FileRotator( in testCombine() local
104 rotate.combineActive(reader, writer("foo"), currentTime); in testCombine()
106 assertReadAll(rotate, "foo"); in testCombine()
112 rotate.combineActive(reader, writer("bar"), currentTime); in testCombine()
114 assertReadAll(rotate, "bar"); in testCombine()
119 final FileRotator rotate = new FileRotator( in testRotate() local
126 rotate.combineActive(reader, writer("foo"), currentTime); in testRotate()
128 assertReadAll(rotate, "foo"); in testRotate()
133 rotate.combineActive(reader, writer("bar"), currentTime); in testRotate()
135 assertReadAll(rotate, "bar"); in testRotate()
[all …]
/frameworks/native/libs/input/tests/
DTouchVideoFrame_test.cpp76 frame.rotate(ui::ROTATION_90); in TEST()
83 frame.rotate(ui::ROTATION_90); in TEST()
90 frame.rotate(ui::ROTATION_90); in TEST()
97 frame.rotate(ui::ROTATION_90); in TEST()
104 frame.rotate(ui::ROTATION_90); in TEST()
105 frame.rotate(ui::ROTATION_90); in TEST()
106 frame.rotate(ui::ROTATION_90); in TEST()
107 frame.rotate(ui::ROTATION_90); in TEST()
116 frame.rotate(ui::ROTATION_180); in TEST()
123 frame.rotate(ui::ROTATION_180); in TEST()
[all …]
/frameworks/native/include/ftl/details/
Dhash.h35 constexpr std::uint64_t rotate(std::uint64_t v, std::uint8_t shift) { in rotate() function
67 return hash_length_16(a, rotate<true>(b + length, static_cast<std::uint8_t>(length))) ^ b; in hash_length_0_to_16()
91 return hash_length_16(rotate(a - b, 43) + rotate(c, 30) + d, in hash_length_17_to_32()
92 a + rotate(b ^ kPrime3, 20) - c + length); in hash_length_17_to_32()
99 auto b = rotate(a + z, 52); in hash_length_33_to_64()
100 auto c = rotate(a, 37); in hash_length_33_to_64()
103 c += rotate(a, 7); in hash_length_33_to_64()
107 const auto vs = b + rotate(a, 31) + c; in hash_length_33_to_64()
111 b = rotate(a + z, 52); in hash_length_33_to_64()
112 c = rotate(a, 37); in hash_length_33_to_64()
[all …]
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/
DMatrixRotate.java26 public Operation construct(float rotate,
30 return new MatrixRotate(rotate, pivotX, pivotY);
34 public MatrixRotate(float rotate, float pivotX, float pivotY) { in MatrixRotate() argument
35 super(rotate, pivotX, pivotY); in MatrixRotate()
/frameworks/base/tests/graphics/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/native/libs/ui/tests/
DSize_test.cpp73 s.rotate(Rotation::Rotation0); in TEST()
79 s.rotate(Rotation::Rotation90); in TEST()
85 s.rotate(Rotation::Rotation180); in TEST()
91 s.rotate(Rotation::Rotation270); in TEST()
/frameworks/base/libs/hwui/tests/unit/
DCanvasFrontendTests.cpp102 skiaCanvas.rotate(90.f); in TEST()
103 opCanvas.rotate(90.f); in TEST()
150 opCanvas.rotate(90.f); in TEST()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DMultiListLayout.java89 rotate(mRotation, newRotation); in onConfigurationChanged()
94 protected void rotate(int from, int to) { in rotate() method in MultiListLayout
/frameworks/base/libs/hwui/
DVectorDrawable.h388 float rotate = 0; member
400 float getRotation() const { return mPrimitiveFields.rotate; } in getRotation()
401 void setRotation(float rotation) { VD_SET_PRIMITIVE_FIELD_AND_NOTIFY(rotate, rotation); } in setRotation()
418 void updateProperties(float rotate, float pivotX, float pivotY, float scaleX, float scaleY, in updateProperties() argument
420 mPrimitiveFields.rotate = rotate; in updateProperties()
436 rotate = 0, enumerator
/frameworks/av/services/camera/libcameraservice/libcameraservice_fuzzer/
DREADME.md24 …t-uid-state` 1. `reset-uid-state` 2. `get-uid-state` 3. `set-rotate-and-crop` 4. `get-rotate-and-c…
/frameworks/native/include/input/
DTouchVideoFrame.h63 void rotate(ui::Rotation orientation);
/frameworks/base/packages/SystemUI/docs/device-entry/
Dbouncer.md9 …hone, portrait mode - The default and typically only way to view the bouncer. Screen cannot rotate.
10 1. Phone, landscape - Can only get into this state via lockscreen activities. Launch camera, rotate
/frameworks/base/graphics/java/android/graphics/
DCamera.java100 public native void rotate(float x, float y, float z); in rotate() method in Camera
/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/rs/java/android/renderscript/
DMatrix3f.java248 public void rotate(float rot, float x, float y, float z) { in rotate() method in Matrix3f
260 public void rotate(float rot) { in rotate() method in Matrix3f
/frameworks/rs/support/java/src/androidx/renderscript/
DMatrix3f.java251 public void rotate(float rot, float x, float y, float z) { in rotate() method in Matrix3f
263 public void rotate(float rot) { in rotate() method in Matrix3f
/frameworks/base/libs/hwui/tests/common/scenes/
DClippingAnimation.cpp39 canvas.rotate(45); in createContent()
/frameworks/base/core/java/com/android/internal/widget/remotecompose/player/platform/
DAndroidPaintContext.java572 public void matrixRotate(float rotate, float pivotX, float pivotY) { in matrixRotate() argument
574 mCanvas.rotate(rotate); in matrixRotate()
576 mCanvas.rotate(rotate, pivotX, pivotY); in matrixRotate()
/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

12345