Home
last modified time | relevance | path

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

/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/support/v8/renderscript/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/rs/cpu_ref/
DrsCpuRuntimeMath.cpp58 static void SC_MatrixLoadRotate(Matrix4x4 *m, float rot, float x, float y, float z) { in SC_MatrixLoadRotate() argument
59 m->loadRotate(rot, x, y, z); in SC_MatrixLoadRotate()
67 static void SC_MatrixRotate(Matrix4x4 *m, float rot, float x, float y, float z) { in SC_MatrixRotate() argument
68 m->rotate(rot, x, y, z); in SC_MatrixRotate()
165 float rot, float x, float y, float z) { in rsMatrixLoadRotate() argument
166 SC_MatrixLoadRotate((Matrix4x4 *) m, rot, x, y, z); in rsMatrixLoadRotate()
176 void __attribute__((overloadable)) rsMatrixRotate(rs_matrix4x4 *m, float rot, in rsMatrixRotate() argument
178 SC_MatrixRotate((Matrix4x4 *) m, rot, x, y, z); in rsMatrixRotate()
/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.h187 void rsrMatrixLoadRotate(rs_matrix4x4 *m, float rot, float x, float y, float z);
199 void rsrMatrixRotate(rs_matrix4x4 *m, float rot, float x, float y, float z);
/frameworks/rs/api/
Drs_quaternion.spec98 arg: float rot, "Angle to rotate by, in radians."
106 rot *= (float)(M_PI / 180.0f) * 0.5f;
107 float c = cos(rot);
108 float s = sin(rot);
153 arg: float rot, "Angle to rotate by."
Drs_matrix.spec316 arg: float rot, "How much rotation to do, in degrees."
486 arg: float rot, "How much rotation to do, in degrees."
/frameworks/rs/scriptc/
Drs_quaternion.rsh115 * rot: Angle to rotate by, in radians.
121 rsQuaternionLoadRotateUnit(rs_quaternion* q, float rot, float x, float y, float z) {
122 rot *= (float)(M_PI / 180.0f) * 0.5f;
123 float c = cos(rot);
124 float s = sin(rot);
169 * rot: Angle to rotate by.
175 rsQuaternionLoadRotate(rs_quaternion* q, float rot, float x, float y, float z) {
183 rsQuaternionLoadRotateUnit(q, rot, x, y, z);
Drs_matrix.rsh360 * rot: How much rotation to do, in degrees.
366 rsMatrixLoadRotate(rs_matrix4x4* m, float rot, float x, float y, float z);
509 * rot: How much rotation to do, in degrees.
515 rsMatrixRotate(rs_matrix4x4* m, float rot, float x, float y, float z);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDessertCaseView.java415 final float rot = (float)irand(0, 4) * 90f;
430 ObjectAnimator.ofFloat(v, View.ROTATION, rot),
446 v.setRotation(rot);
/frameworks/base/docs/html/guide/topics/renderscript/reference/
Drs_quaternion.jd210 …'rs_value_types.html#android_rs:rs_quaternion'>rs_quaternion</a>* q, float rot, float x, float y, …
219 <tr><th>rot</th><td>Angle to rotate by.</td></tr>
241 …'rs_value_types.html#android_rs:rs_quaternion'>rs_quaternion</a>* q, float rot, float x, float y, …
250 <tr><th>rot</th><td>Angle to rotate by, in radians.</td></tr>
Drs_matrix.jd644 …f='rs_value_types.html#android_rs:rs_matrix4x4'>rs_matrix4x4</a>* m, float rot, float x, float y, …
653 <tr><th>rot</th><td>How much rotation to do, in degrees.</td></tr>
878 …f='rs_value_types.html#android_rs:rs_matrix4x4'>rs_matrix4x4</a>* m, float rot, float x, float y, …
887 <tr><th>rot</th><td>How much rotation to do, in degrees.</td></tr>
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarView.java456 final int rot = mDisplay.getRotation(); in reorient() local
460 mCurrentView = mRotatedViews[rot]; in reorient()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java6097 private static void convertCropForSurfaceFlinger(Rect crop, int rot, int dw, int dh) { in convertCropForSurfaceFlinger() argument
6098 if (rot == Surface.ROTATION_90) { in convertCropForSurfaceFlinger()
6104 } else if (rot == Surface.ROTATION_180) { in convertCropForSurfaceFlinger()
6111 } else if (rot == Surface.ROTATION_270) { in convertCropForSurfaceFlinger()
6360 int rot = getDefaultDisplayContentLocked().getDisplay().getRotation(); in screenshotApplicationsInner() local
6362 if (rot == Surface.ROTATION_90 || rot == Surface.ROTATION_270) { in screenshotApplicationsInner()
6363 rot = (rot == Surface.ROTATION_90) ? Surface.ROTATION_270 : Surface.ROTATION_90; in screenshotApplicationsInner()
6368 convertCropForSurfaceFlinger(crop, rot, dw, dh); in screenshotApplicationsInner()
6389 inRotation, rot); in screenshotApplicationsInner()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java5991 public void setUserRotationMode(int mode, int rot) { in setUserRotationMode() argument
5998 rot, in setUserRotationMode()