Home
last modified time | relevance | path

Searched refs:mScale (Results 1 – 6 of 6) sorted by relevance

/development/ndk/platforms/android-18/samples/gles3jni/jni/
Dgles3jni.cpp129 memset(mScale, 0, sizeof(mScale)); in Renderer()
189 mScale[major] = 0.5f * CELL_SIZE * scene2clip[0]; in calcSceneParams()
190 mScale[minor] = 0.5f * CELL_SIZE * scene2clip[1]; in calcSceneParams()
214 transforms[4*i + 0] = c * mScale[0]; in step()
215 transforms[4*i + 1] = s * mScale[1]; in step()
216 transforms[4*i + 2] = -s * mScale[0]; in step()
217 transforms[4*i + 3] = c * mScale[1]; in step()
Dgles3jni.h99 float mScale[2]; variable
/development/apps/OBJViewer/com/android/objviewer/
DOBJViewer.java75 private float mScale = 1.0f; field in OBJView
102 mScale = 1.0f; in reset()
189 mScale = 2.0f/maxSpan; in onDraw()
218 gl.glScalef(mScale, mScale, mScale); in onDraw()
/development/apps/NinePatchLab/src/com/android/ninepatch/
DNinePatchLab.java36 float mScale; field in NinePatchLab
107 mScale = res.getDisplayMetrics().density; in NPView()
132 final int gapSize = Math.round(mScale * 8); in onDraw()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DSensorTest.java80 private final float[] mScale = new float[] { 2, 2.5f, 0.5f }; // accel
89 diff[i] = Math.round(mScale[i] * (event.values[i] - mPrev[i]) * 0.45f);
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/
DWearableListItemLayout.java34 private float mScale; field in WearableListItemLayout