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

12

/frameworks/base/core/java/android/view/
H A DVelocityTracker.java44 private static native void nativeComputeCurrentVelocity(int ptr, int units, float maxVelocity); argument
135 public void computeCurrentVelocity(int units) { argument
136 nativeComputeCurrentVelocity(mPtr, units, Float.MAX_VALUE);
146 * @param units The units you would like the velocity in. A value of 1
149 * This value must be declared in the same unit as the units parameter. This value
152 public void computeCurrentVelocity(int units, float maxVelocity) { argument
153 nativeComputeCurrentVelocity(mPtr, units, maxVelocity);
/frameworks/base/core/jni/
H A Dandroid_view_VelocityTracker.cpp51 void computeCurrentVelocity(int32_t units, float maxVelocity);
80 void VelocityTrackerState::computeCurrentVelocity(int32_t units, float maxVelocity) { argument
90 vx = vx * units / 1000;
91 vy = vy * units / 1000;
173 jint ptr, jint units, jfloat maxVelocity) {
175 state->computeCurrentVelocity(units, maxVelocity);
172 android_view_VelocityTracker_nativeComputeCurrentVelocity(JNIEnv* env, jclass clazz, jint ptr, jint units, jfloat maxVelocity) argument
H A Dandroid_opengl_GLES10.cpp2469 /* void glPolygonOffset ( GLfloat factor, GLfloat units ) */
2472 (JNIEnv *_env, jobject _this, jfloat factor, jfloat units) {
2475 (GLfloat)units
2479 /* void glPolygonOffsetx ( GLfixed factor, GLfixed units ) */
2482 (JNIEnv *_env, jobject _this, jint factor, jint units) {
2485 (GLfixed)units
2471 android_glPolygonOffset__FF(JNIEnv *_env, jobject _this, jfloat factor, jfloat units) argument
2481 android_glPolygonOffsetx__II(JNIEnv *_env, jobject _this, jint factor, jint units) argument
H A Dcom_google_android_gles_jni_GLImpl.cpp3308 /* void glPolygonOffset ( GLfloat factor, GLfloat units ) */
3311 (JNIEnv *_env, jobject _this, jfloat factor, jfloat units) {
3314 (GLfloat)units
3318 /* void glPolygonOffsetx ( GLfixed factor, GLfixed units ) */
3321 (JNIEnv *_env, jobject _this, jint factor, jint units) {
3324 (GLfixed)units
3310 android_glPolygonOffset__FF(JNIEnv *_env, jobject _this, jfloat factor, jfloat units) argument
3320 android_glPolygonOffsetx__II(JNIEnv *_env, jobject _this, jint factor, jint units) argument
/frameworks/base/core/java/android/widget/
H A DRemoteViews.java1394 * Helper action to set text size on a TextView in any supported units.
1397 public TextViewSizeAction(int viewId, int units, float size) { argument
1399 this.units = units;
1405 units = parcel.readInt();
1412 dest.writeInt(units);
1421 target.setTextSize(units, size);
1428 int units; field in class:RemoteViews.TextViewSizeAction
1848 * @param units The units o
1851 setTextViewTextSize(int viewId, int units, float size) argument
[all...]
/frameworks/native/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/native/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;
H A Dcontext.h169 GLfixed units; member in struct:android::gl::polygon_offset_t
/frameworks/base/opengl/java/android/opengl/
H A DGLES10.java1015 // C function void glPolygonOffset ( GLfloat factor, GLfloat units )
1019 float units
1022 // C function void glPolygonOffsetx ( GLfixed factor, GLfixed units )
1026 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.java1304 // C function void glPolygonOffset ( GLfloat factor, GLfloat units )
1308 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.java1512 public void computeCurrentVelocity(int units) { argument
1513 computeCurrentVelocity(units, Float.MAX_VALUE);
1516 public void computeCurrentVelocity(int units, float maxVelocity) { argument
1538 float vel = (dist/dur) * units; // pixels/frame.
1543 vel = (dist/dur) * units; // pixels/frame.
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DGLImpl.java840 // C function void glPolygonOffset ( GLfloat factor, GLfloat units )
844 float units
847 // C function void glPolygonOffsetx ( GLfixed factor, GLfixed units )
851 int units
/frameworks/native/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.h648 GL_API void GL_APIENTRY glPolygonOffsetxOES (GLfixed factor, GLfixed units);
688 typedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETXOESPROC) (GLfixed factor, GLfixed units);
/frameworks/native/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/native/opengl/libs/GLES_trace/src/
H A Dgltrace_api.h115 void GLTrace_glPolygonOffset(GLfloat factor, GLfloat units);
467 void GLTrace_glPolygonOffsetx(GLfixed factor, GLfixed units);
528 void GLTrace_glPolygonOffsetxOES(GLfixed factor, GLfixed units);
/frameworks/native/opengl/include/GLES2/
H A Dgl2.h564 GL_APICALL void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
/frameworks/native/opengl/include/GLES3/
H A Dgl3.h898 GL_APICALL void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units);

Completed in 483 milliseconds

12