Searched defs:units (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/core/java/android/view/
H A DVelocityTracker.java167 public void computeCurrentVelocity(int units) { argument
168 computeCurrentVelocity(units, Float.MAX_VALUE);
178 * @param units The units you would like the velocity in. A value of 1
181 * This value must be declared in the same unit as the units parameter. This value
184 public void computeCurrentVelocity(int units, float maxVelocity) { argument
218 float vel = (dist/dur) * units; // pixels/frame.
222 vel = (dist/dur) * units; // pixels/frame.
/frameworks/base/opengl/libagl/
H A Dmatrix.cpp1106 void glPolygonOffsetx(GLfixed factor, GLfixed units) argument
1110 c->polygonOffset.units = units;
1113 void glPolygonOffset(GLfloat factor, GLfloat units) argument
1117 c->polygonOffset.units = gglFloatToFixed(units);
H A Dprimitives.cpp665 const int32_t units = (c->polygonOffset.units << 16); local
672 + uint32_t((maxDepthSlope*factor)>>16) + units;
677 itz[0] += units;
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboardView.java1418 public void computeCurrentVelocity(int units) { argument
1419 computeCurrentVelocity(units, Float.MAX_VALUE);
1422 public void computeCurrentVelocity(int units, float maxVelocity) { argument
1444 float vel = (dist/dur) * units; // pixels/frame.
1449 vel = (dist/dur) * units; // pixels/frame.
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES10.cpp2863 /* void glPolygonOffset ( GLfloat factor, GLfloat units ) */
2866 (JNIEnv *_env, jobject _this, jfloat factor, jfloat units) {
2869 (GLfloat)units
2873 /* void glPolygonOffsetx ( GLfixed factor, GLfixed units ) */
2876 (JNIEnv *_env, jobject _this, jint factor, jint units) {
2879 (GLfixed)units
2865 android_glPolygonOffset__FF(JNIEnv *_env, jobject _this, jfloat factor, jfloat units) argument
2875 android_glPolygonOffsetx__II(JNIEnv *_env, jobject _this, jint factor, jint units) argument
H A Dandroid_opengl_GLES11Ext.cpp1438 /* void glPolygonOffsetxOES ( GLfixed factor, GLfixed units ) */
1441 (JNIEnv *_env, jobject _this, jint factor, jint units) {
1444 (GLfixed)units
1440 android_glPolygonOffsetxOES__II(JNIEnv *_env, jobject _this, jint factor, jint units) argument
H A Dandroid_opengl_GLES20.cpp3410 /* void glPolygonOffset ( GLfloat factor, GLfloat units ) */
3413 (JNIEnv *_env, jobject _this, jfloat factor, jfloat units) {
3416 (GLfloat)units
3412 android_glPolygonOffset__FF(JNIEnv *_env, jobject _this, jfloat factor, jfloat units) argument
H A Dcom_google_android_gles_jni_GLImpl.cpp2989 /* void glPolygonOffset ( GLfloat factor, GLfloat units ) */
2992 (JNIEnv *_env, jobject _this, jfloat factor, jfloat units) {
2995 (GLfloat)units
2999 /* void glPolygonOffsetx ( GLfixed factor, GLfixed units ) */
3002 (JNIEnv *_env, jobject _this, jint factor, jint units) {
3005 (GLfixed)units
2991 android_glPolygonOffset__FF(JNIEnv *_env, jobject _this, jfloat factor, jfloat units) argument
3001 android_glPolygonOffsetx__II(JNIEnv *_env, jobject _this, jint factor, jint units) argument
/frameworks/base/opengl/java/android/opengl/
H A DGLErrorWrapper.java639 public void glPolygonOffset(float factor, float units) { argument
641 mgl.glPolygonOffset(factor, units);
645 public void glPolygonOffsetx(int factor, int units) { argument
647 mgl.glPolygonOffsetx(factor, units);
H A DGLLogWrapper.java2216 public void glPolygonOffset(float factor, float units) { argument
2219 arg("units", units);
2221 mgl.glPolygonOffset(factor, units);
2225 public void glPolygonOffsetx(int factor, int units) { argument
2228 arg("units", units);
2231 mgl.glPolygonOffsetx(factor, units);
/frameworks/base/include/private/opengles/
H A Dgl_context.h172 GLfixed units; member in struct:android::gl::polygon_offset_t

Completed in 157 milliseconds