Searched refs:units (Results 1 - 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/view/
H A DVelocityTracker.java59 private static native void nativeComputeCurrentVelocity(int ptr, int units, float maxVelocity); argument
158 public void computeCurrentVelocity(int units) { argument
159 nativeComputeCurrentVelocity(mPtr, units, Float.MAX_VALUE);
169 * @param units The units you would like the velocity in. A value of 1
172 * This value must be declared in the same unit as the units parameter. This value
175 public void computeCurrentVelocity(int units, float maxVelocity) { argument
176 nativeComputeCurrentVelocity(mPtr, units, maxVelocity);
/frameworks/base/core/jni/
H A Dandroid_view_VelocityTracker.cpp48 void computeCurrentVelocity(int32_t units, float maxVelocity);
77 void VelocityTrackerState::computeCurrentVelocity(int32_t units, float maxVelocity) { argument
87 vx = vx * units / 1000;
88 vy = vy * units / 1000;
166 jint ptr, jint units, jfloat maxVelocity) {
168 state->computeCurrentVelocity(units, maxVelocity);
165 android_view_VelocityTracker_nativeComputeCurrentVelocity(JNIEnv* env, jclass clazz, jint ptr, jint units, jfloat maxVelocity) argument
H A Dandroid_opengl_GLES10.cpp2835 /* void glPolygonOffset ( GLfloat factor, GLfloat units ) */
2838 (JNIEnv *_env, jobject _this, jfloat factor, jfloat units) {
2841 (GLfloat)units
2845 /* void glPolygonOffsetx ( GLfixed factor, GLfixed units ) */
2848 (JNIEnv *_env, jobject _this, jint factor, jint units) {
2851 (GLfixed)units
2837 android_glPolygonOffset__FF(JNIEnv *_env, jobject _this, jfloat factor, jfloat units) argument
2847 android_glPolygonOffsetx__II(JNIEnv *_env, jobject _this, jint factor, jint units) argument
H A Dandroid_opengl_GLES11Ext.cpp1416 /* void glPolygonOffsetxOES ( GLfixed factor, GLfixed units ) */
1419 (JNIEnv *_env, jobject _this, jint factor, jint units) {
1422 (GLfixed)units
1418 android_glPolygonOffsetxOES__II(JNIEnv *_env, jobject _this, jint factor, jint units) argument
H A Dcom_google_android_gles_jni_GLImpl.cpp2961 /* void glPolygonOffset ( GLfloat factor, GLfloat units ) */
2964 (JNIEnv *_env, jobject _this, jfloat factor, jfloat units) {
2967 (GLfloat)units
2971 /* void glPolygonOffsetx ( GLfixed factor, GLfixed units ) */
2974 (JNIEnv *_env, jobject _this, jint factor, jint units) {
2977 (GLfixed)units
2963 android_glPolygonOffset__FF(JNIEnv *_env, jobject _this, jfloat factor, jfloat units) argument
2973 android_glPolygonOffsetx__II(JNIEnv *_env, jobject _this, jint factor, jint units) argument
/frameworks/base/opengl/tools/glgen/specs/gles11/
H A DGLES10.spec78 void glPolygonOffset ( GLfloat factor, GLfloat units )
79 void glPolygonOffsetx ( GLfixed factor, GLfixed units )
H A DGLES11Ext.spec44 void glPolygonOffsetxOES ( GLfixed factor, GLfixed units )
H A DGLES20.spec93 void glPolygonOffset ( GLfloat factor, GLfloat units )
/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/opengl/java/android/opengl/
H A DGLES10.java1031 // C function void glPolygonOffset ( GLfloat factor, GLfloat units )
1035 float units
1038 // C function void glPolygonOffsetx ( GLfixed factor, GLfixed units )
1042 int units
H A DGLES11Ext.java617 // C function void glPolygonOffsetxOES ( GLfixed factor, GLfixed units )
621 int units
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);
H A DGLES20.java1306 // C function void glPolygonOffset ( GLfloat factor, GLfloat units )
1310 float units
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL10.java778 float units
783 int units
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboardView.java1507 public void computeCurrentVelocity(int units) { argument
1508 computeCurrentVelocity(units, Float.MAX_VALUE);
1511 public void computeCurrentVelocity(int units, float maxVelocity) { argument
1533 float vel = (dist/dur) * units; // pixels/frame.
1538 vel = (dist/dur) * units; // pixels/frame.
/frameworks/base/opengl/include/GLES/
H A Dgl.h623 GL_API void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
712 GL_API void GL_APIENTRY glPolygonOffsetx (GLfixed factor, GLfixed units);
H A Dglext.h559 GL_API void GL_APIENTRY glPolygonOffsetxOES (GLfixed factor, GLfixed units);
599 typedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETXOESPROC) (GLfixed factor, GLfixed units);
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DGLImpl.java839 // C function void glPolygonOffset ( GLfloat factor, GLfloat units )
843 float units
846 // C function void glPolygonOffsetx ( GLfixed factor, GLfixed units )
850 int units
/frameworks/base/opengl/tests/angeles/include/GLES/
H A Dgl.h550 GLAPI void APIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
551 GLAPI void APIENTRY glPolygonOffsetx (GLfixed factor, GLfixed units);
/frameworks/base/include/private/opengles/
H A Dgl_context.h169 GLfixed units; member in struct:android::gl::polygon_offset_t
/frameworks/base/opengl/libs/GLES2_dbg/src/
H A Dapi.cpp2161 void Debug_glPolygonOffset(GLfloat factor, GLfloat units) argument
2166 GLfloat units; member in struct:__anon1093
2169 _c->glPolygonOffset(factor, units);
2174 caller.units = units;
2177 msg.set_arg1(ToInt(units));
/frameworks/base/opengl/libs/
H A Dglesv2dbg_functions.h280 GL_ENTRY(void, glPolygonOffset, GLfloat factor, GLfloat units)
281 GL_ENTRY(void, glPolygonOffsetx, GLfixed factor, GLfixed units)
282 GL_ENTRY(void, glPolygonOffsetxOES, GLfixed factor, GLfixed units)
/frameworks/base/opengl/include/GLES2/
H A Dgl2.h565 GL_APICALL void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units);

Completed in 519 milliseconds

12