Home
last modified time | relevance | path

Searched refs:rot (Results 1 – 20 of 20) sorted by relevance

/frameworks/rs/support/java/src/android/support/v8/renderscript/
DMatrix3f.java116 public void loadRotate(float rot, float x, float y, float z) { in loadRotate() argument
118 rot *= (float)(java.lang.Math.PI / 180.0f); in loadRotate()
119 c = (float)java.lang.Math.cos(rot); in loadRotate()
120 s = (float)java.lang.Math.sin(rot); in loadRotate()
152 public void loadRotate(float rot) { in loadRotate() argument
155 rot *= (float)(java.lang.Math.PI / 180.0f); in loadRotate()
156 c = (float)java.lang.Math.cos(rot); in loadRotate()
157 s = (float)java.lang.Math.sin(rot); in loadRotate()
247 public void rotate(float rot, float x, float y, float z) { in rotate() argument
249 tmp.loadRotate(rot, x, y, z); in rotate()
[all …]
DMatrix2f.java106 public void loadRotate(float rot) { in loadRotate() argument
108 rot *= (float)(java.lang.Math.PI / 180.0f); in loadRotate()
109 c = (float)java.lang.Math.cos(rot); in loadRotate()
110 s = (float)java.lang.Math.sin(rot); in loadRotate()
166 public void rotate(float rot) { in rotate() argument
168 tmp.loadRotate(rot); in rotate()
DMatrix4f.java152 public void loadRotate(float rot, float x, float y, float z) { in loadRotate() argument
161 rot *= (float)(java.lang.Math.PI / 180.0f); in loadRotate()
162 c = (float)java.lang.Math.cos(rot); in loadRotate()
163 s = (float)java.lang.Math.sin(rot); in loadRotate()
371 public void rotate(float rot, float x, float y, float z) { in rotate() argument
373 tmp.loadRotate(rot, x, y, z); in rotate()
/frameworks/base/rs/java/android/renderscript/
DMatrix3f.java113 public void loadRotate(float rot, float x, float y, float z) { in loadRotate() argument
115 rot *= (float)(java.lang.Math.PI / 180.0f); in loadRotate()
116 c = (float)java.lang.Math.cos(rot); in loadRotate()
117 s = (float)java.lang.Math.sin(rot); in loadRotate()
149 public void loadRotate(float rot) { in loadRotate() argument
152 rot *= (float)(java.lang.Math.PI / 180.0f); in loadRotate()
153 c = (float)java.lang.Math.cos(rot); in loadRotate()
154 s = (float)java.lang.Math.sin(rot); in loadRotate()
244 public void rotate(float rot, float x, float y, float z) { in rotate() argument
246 tmp.loadRotate(rot, x, y, z); in rotate()
[all …]
DMatrix2f.java103 public void loadRotate(float rot) { in loadRotate() argument
105 rot *= (float)(java.lang.Math.PI / 180.0f); in loadRotate()
106 c = (float)java.lang.Math.cos(rot); in loadRotate()
107 s = (float)java.lang.Math.sin(rot); in loadRotate()
163 public void rotate(float rot) { in rotate() argument
165 tmp.loadRotate(rot); in rotate()
DMatrix4f.java151 public void loadRotate(float rot, float x, float y, float z) { in loadRotate() argument
160 rot *= (float)(java.lang.Math.PI / 180.0f); in loadRotate()
161 c = (float)java.lang.Math.cos(rot); in loadRotate()
162 s = (float)java.lang.Math.sin(rot); in loadRotate()
370 public void rotate(float rot, float x, float y, float z) { in rotate() argument
372 tmp.loadRotate(rot, x, y, z); in rotate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DRotationUtils.java29 int rot = context.getDisplay().getRotation(); in getRotation() local
31 if (rot == Surface.ROTATION_90) { in getRotation()
33 } else if (rot == Surface.ROTATION_270) { in getRotation()
/frameworks/rs/cpu_ref/
DrsCpuRuntimeMath.cpp55 static void SC_MatrixLoadRotate(Matrix4x4 *m, float rot, float x, float y, float z) { in SC_MatrixLoadRotate() argument
56 m->loadRotate(rot, x, y, z); in SC_MatrixLoadRotate()
64 static void SC_MatrixRotate(Matrix4x4 *m, float rot, float x, float y, float z) { in SC_MatrixRotate() argument
65 m->rotate(rot, x, y, z); in SC_MatrixRotate()
154 float rot, float x, float y, float z) { in EXPORT_F32_FN_F32()
155 SC_MatrixLoadRotate((Matrix4x4 *) m, rot, x, y, z); in EXPORT_F32_FN_F32()
165 void __attribute__((overloadable)) rsMatrixRotate(rs_matrix4x4 *m, float rot, in rsMatrixRotate() argument
167 SC_MatrixRotate((Matrix4x4 *) m, rot, x, y, z); in rsMatrixRotate()
/frameworks/rs/script_api/
Drs_quaternion.spec103 arg: float rot, "Angle to rotate by, in radians."
111 rot *= (float)(M_PI / 180.0f) * 0.5f;
112 float c = cos(rot);
113 float s = sin(rot);
161 arg: float rot, "Angle to rotate by."
322 arg: float rot
355 arg: float rot
Drs_matrix.spec344 arg: float rot, "How much rotation to do, in degrees."
514 arg: float rot, "How much rotation to do, in degrees."
/frameworks/rs/
DrsMatrix4x4.h42 void loadRotate(float rot, float x, float y, float z);
64 void rotate(float rot, float x, float y, float z) { in rotate()
66 tmp.loadRotate(rot, x, y, z); in rotate()
DrsMatrix4x4.cpp200 void Matrix4x4::loadRotate(float rot, float x, float y, float z) { in loadRotate() argument
209 rot *= float(M_PI / 180.0f); in loadRotate()
210 c = cosf(rot); in loadRotate()
211 s = sinf(rot); in loadRotate()
DrsRuntime.h195 void rsrMatrixLoadRotate(rs_matrix4x4 *m, float rot, float x, float y, float z);
207 void rsrMatrixRotate(rs_matrix4x4 *m, float rot, float x, float y, float z);
/frameworks/rs/driver/runtime/
Drs_quaternion.c57 rsQuaternionLoadRotateUnit(rs_quaternion* q, float rot, float x, float y, float z) { in rsQuaternionLoadRotateUnit() argument
58 rot *= (float)(M_PI / 180.0f) * 0.5f; in rsQuaternionLoadRotateUnit()
59 float c = cos(rot); in rsQuaternionLoadRotateUnit()
60 float s = sin(rot); in rsQuaternionLoadRotateUnit()
85 rsQuaternionLoadRotate(rs_quaternion* q, float rot, float x, float y, float z) { in rsQuaternionLoadRotate() argument
93 rsQuaternionLoadRotateUnit(q, rot, x, y, z); in rsQuaternionLoadRotate()
/frameworks/rs/script_api/include/
Drs_quaternion.rsh123 * rot: Angle to rotate by, in radians.
130 rsQuaternionLoadRotateUnit(rs_quaternion* q, float rot, float x, float y, float z) {
131 rot *= (float)(M_PI / 180.0f) * 0.5f;
132 float c = cos(rot);
133 float s = sin(rot);
183 * rot: Angle to rotate by.
190 rsQuaternionLoadRotate(rs_quaternion* q, float rot, float x, float y, float z) {
198 rsQuaternionLoadRotateUnit(q, rot, x, y, z);
336 rsQuaternionLoadRotateUnit(rs_quaternion* q, float rot, float x, float y, float z);
351 rsQuaternionLoadRotate(rs_quaternion* q, float rot, float x, float y, float z);
Drs_matrix.rsh376 * rot: How much rotation to do, in degrees.
382 rsMatrixLoadRotate(rs_matrix4x4* m, float rot, float x, float y, float z);
525 * rot: How much rotation to do, in degrees.
531 rsMatrixRotate(rs_matrix4x4* m, float rot, float x, float y, float z);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarView.java585 final int rot = mDisplay.getRotation(); in updateCurrentView() local
589 mCurrentView = mRotatedViews[rot]; in updateCurrentView()
591 mNavigationInflaterView.setAlternativeOrder(rot == Surface.ROTATION_90); in updateCurrentView()
596 mCurrentRotation = rot; in updateCurrentView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDessertCaseView.java422 final float rot = (float)irand(0, 4) * 90f;
437 ObjectAnimator.ofFloat(v, View.ROTATION, rot),
453 v.setRotation(rot);
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java3108 int rot = mDisplay.getRotation(); in screenshotApplications() local
3110 if (rot == ROTATION_90 || rot == ROTATION_270) { in screenshotApplications()
3111 rot = (rot == ROTATION_90) ? ROTATION_270 : ROTATION_90; in screenshotApplications()
3116 convertCropForSurfaceFlinger(crop, rot, dw, dh); in screenshotApplications()
3143 inRotation, rot); in screenshotApplications()
3154 private static void convertCropForSurfaceFlinger(Rect crop, int rot, int dw, int dh) { in convertCropForSurfaceFlinger() argument
3155 if (rot == Surface.ROTATION_90) { in convertCropForSurfaceFlinger()
3161 } else if (rot == Surface.ROTATION_180) { in convertCropForSurfaceFlinger()
3168 } else if (rot == Surface.ROTATION_270) { in convertCropForSurfaceFlinger()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java7294 public void setUserRotationMode(int mode, int rot) { in setUserRotationMode() argument
7301 rot, in setUserRotationMode()