Home
last modified time | relevance | path

Searched refs:mAngle (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/
DCubeRenderer.java31 private float mAngle; field in CubeRenderer
60 gl.glRotatef(mAngle, 0, 1, 0); in onDrawFrame()
61 gl.glRotatef(mAngle*0.25f, 1, 0, 0); in onDrawFrame()
69 gl.glRotatef(mAngle*2.0f, 0, 1, 1); in onDrawFrame()
74 mAngle += 1.2f; in onDrawFrame()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DFalsingDataProvider.java48 private float mAngle = 0; field in FalsingDataProvider
141 return mAngle; in getAngle()
196 mAngle = Float.MAX_VALUE; in calculateAngleInternal()
201 mAngle = (float) Math.atan2(lastY, lastX); in calculateAngleInternal()
202 while (mAngle < 0) { in calculateAngleInternal()
203 mAngle += THREE_HUNDRED_SIXTY_DEG; in calculateAngleInternal()
205 while (mAngle > THREE_HUNDRED_SIXTY_DEG) { in calculateAngleInternal()
206 mAngle -= THREE_HUNDRED_SIXTY_DEG; in calculateAngleInternal()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DRotateFilter.java37 private int mAngle; field in RotateFilter
125 if (mAngle % 90 == 0) { in updateParameters()
126 if (mAngle % 180 == 0) { in updateParameters()
128 cosTheta = (mAngle % 360 == 0) ? 1f:-1f; in updateParameters()
131 sinTheta = ((mAngle + 90) % 360 == 0) ? -1f:1f; in updateParameters()
DStraightenFilter.java37 private float mAngle = 0f; field in StraightenFilter
116 float cosTheta = (float) Math.cos(mAngle * DEGREE_TO_RADIAN); in updateParameters()
117 float sinTheta = (float) Math.sin(mAngle * DEGREE_TO_RADIAN); in updateParameters()
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
DBasicGLRenderer.java23 private float mAngle; field in BasicGLRenderer
58 Matrix.setRotateM(mRotationMatrix, 0, mAngle, 0, 0, 1.0f); in onDrawFrame()
87 return mAngle; in getAngle()
91 mAngle = angle; in setAngle()
/frameworks/av/media/extractors/mp4/
DItemTable.cpp769 Box(source, FOURCC("irot")), mAngle(0) {} in IrotBox()
774 image.rotation = mAngle * 90; in attachTo()
778 uint8_t mAngle; member
787 if (source()->readAt(offset, &mAngle, 1) != 1) { in parse()
790 mAngle &= 0x3; in parse()
791 ALOGV("property irot: %d", mAngle); in parse()
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java1759 int angle = (int) a.getFloat(R.styleable.GradientDrawableGradient_angle, st.mAngle);
1760 st.mAngle = ((angle % 360) + 360) % 360; // offset negative angle measures
1921 public int mAngle = 0; field in GradientDrawable.GradientState
1992 mAngle = orig.mAngle; in GradientState()
2190 mAngle = getAngleFromOrientation(orientation); in setOrientation()
2206 int angle = mAngle; in updateGradientStateOrientation()