Searched refs:rot (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/rs/java/android/renderscript/
H A DMatrix2f.java101 * @param rot rotation angle
103 public void loadRotate(float rot) { argument
105 rot *= (float)(java.lang.Math.PI / 180.0f);
106 c = (float)java.lang.Math.cos(rot);
107 s = (float)java.lang.Math.sin(rot);
161 * @param rot angle of rotation
163 public void rotate(float rot) { argument
165 tmp.loadRotate(rot);
H A DMatrix3f.java108 * @param rot angle of rotation
113 public void loadRotate(float rot, float x, float y, float z) { argument
115 rot *= (float)(java.lang.Math.PI / 180.0f);
116 c = (float)java.lang.Math.cos(rot);
117 s = (float)java.lang.Math.sin(rot);
147 * @param rot rotation angle
149 public void loadRotate(float rot) { argument
152 rot *= (float)(java.lang.Math.PI / 180.0f);
153 c = (float)java.lang.Math.cos(rot);
154 s = (float)java.lang.Math.sin(rot);
244 rotate(float rot, float x, float y, float z) argument
256 rotate(float rot) argument
[all...]
H A DMatrix4f.java146 * @param rot angle of rotation
151 public void loadRotate(float rot, float x, float y, float z) { argument
160 rot *= (float)(java.lang.Math.PI / 180.0f);
161 c = (float)java.lang.Math.cos(rot);
162 s = (float)java.lang.Math.sin(rot);
365 * @param rot angle of rotation
370 public void rotate(float rot, float x, float y, float z) { argument
372 tmp.loadRotate(rot, x, y, z);
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DMatrix2f.java104 * @param rot rotation angle
106 public void loadRotate(float rot) { argument
108 rot *= (float)(java.lang.Math.PI / 180.0f);
109 c = (float)java.lang.Math.cos(rot);
110 s = (float)java.lang.Math.sin(rot);
164 * @param rot angle of rotation
166 public void rotate(float rot) { argument
168 tmp.loadRotate(rot);
H A DMatrix3f.java111 * @param rot angle of rotation
116 public void loadRotate(float rot, float x, float y, float z) { argument
118 rot *= (float)(java.lang.Math.PI / 180.0f);
119 c = (float)java.lang.Math.cos(rot);
120 s = (float)java.lang.Math.sin(rot);
150 * @param rot rotation angle
152 public void loadRotate(float rot) { argument
155 rot *= (float)(java.lang.Math.PI / 180.0f);
156 c = (float)java.lang.Math.cos(rot);
157 s = (float)java.lang.Math.sin(rot);
247 rotate(float rot, float x, float y, float z) argument
259 rotate(float rot) argument
[all...]
H A DMatrix4f.java147 * @param rot angle of rotation
152 public void loadRotate(float rot, float x, float y, float z) { argument
161 rot *= (float)(java.lang.Math.PI / 180.0f);
162 c = (float)java.lang.Math.cos(rot);
163 s = (float)java.lang.Math.sin(rot);
366 * @param rot angle of rotation
371 public void rotate(float rot, float x, float y, float z) { argument
373 tmp.loadRotate(rot, x, y, z);
/frameworks/rs/
H A DrsMatrix4x4.h42 void loadRotate(float rot, float x, float y, float z);
64 void rotate(float rot, float x, float y, float z) { argument
66 tmp.loadRotate(rot, x, y, z);
H A DrsMatrix4x4.cpp200 void Matrix4x4::loadRotate(float rot, float x, float y, float z) { argument
209 rot *= float(M_PI / 180.0f);
210 c = cosf(rot);
211 s = sinf(rot);
H A DrsRuntime.h199 void rsrMatrixLoadRotate(rs_matrix4x4 *m, float rot, float x, float y, float z);
211 void rsrMatrixRotate(rs_matrix4x4 *m, float rot, float x, float y, float z);
/frameworks/rs/cpu_ref/
H A DrsCpuRuntimeMath.cpp58 static void SC_MatrixLoadRotate(Matrix4x4 *m, float rot, float x, float y, float z) { argument
59 m->loadRotate(rot, x, y, z);
67 static void SC_MatrixRotate(Matrix4x4 *m, float rot, float x, float y, float z) { argument
68 m->rotate(rot, x, y, z);
157 float rot, float x, float y, float z) {
158 SC_MatrixLoadRotate((Matrix4x4 *) m, rot, x, y, z);
168 void __attribute__((overloadable)) rsMatrixRotate(rs_matrix4x4 *m, float rot, argument
170 SC_MatrixRotate((Matrix4x4 *) m, rot, x, y, z);
156 rsMatrixLoadRotate(rs_matrix4x4 *m, float rot, float x, float y, float z) argument
/frameworks/rs/api/
H A 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."
177 rsQuaternionLoadRotateUnit(q, rot, x, y, z);
322 arg: float rot
355 arg: float rot
H A 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/driver/runtime/
H A Drs_quaternion.c57 rsQuaternionLoadRotateUnit(rs_quaternion* q, float rot, float x, float y, float z) { argument
58 rot *= (float)(M_PI / 180.0f) * 0.5f;
59 float c = cos(rot);
60 float s = sin(rot);
85 rsQuaternionLoadRotate(rs_quaternion* q, float rot, float x, float y, float z) { argument
93 rsQuaternionLoadRotateUnit(q, rot, x, y, z);
/frameworks/rs/scriptc/
H A 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, floa
[all...]
H A 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/
H A DDessertCaseView.java422 final float rot = (float)irand(0, 4) * 90f;
437 ObjectAnimator.ofFloat(v, View.ROTATION, rot),
453 v.setRotation(rot);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNavigationBarView.java547 final int rot = mDisplay.getRotation();
551 mCurrentView = mRotatedViews[rot];
580 Log.d(TAG, "reorient(): rot=" + mDisplay.getRotation());
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowManagerService.java6121 private static void convertCropForSurfaceFlinger(Rect crop, int rot, int dw, int dh) { argument
6122 if (rot == Surface.ROTATION_90) {
6128 } else if (rot == Surface.ROTATION_180) {
6135 } else if (rot == Surface.ROTATION_270) {
6383 int rot = getDefaultDisplayContentLocked().getDisplay().getRotation();
6385 if (rot == Surface.ROTATION_90 || rot == Surface.ROTATION_270) {
6386 rot = (rot == Surface.ROTATION_90) ? Surface.ROTATION_270 : Surface.ROTATION_90;
6391 convertCropForSurfaceFlinger(crop, rot, d
[all...]
/frameworks/base/services/core/java/com/android/server/policy/
H A DPhoneWindowManager.java6666 public void setUserRotationMode(int mode, int rot) { argument
6673 rot,

Completed in 1109 milliseconds