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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DVelocityTrackerInterface.java27 public void computeCurrentVelocity(int units); argument
H A DPlatformVelocityTracker.java53 public void computeCurrentVelocity(int units) { argument
54 mTracker.computeCurrentVelocity(units);
H A DNoisyVelocityTracker.java66 public void computeCurrentVelocity(int units) { argument
79 final float dt = (float) (event.t - last.t) / units;
/frameworks/base/core/java/android/view/
H A DVelocityTracker.java44 private static native void nativeComputeCurrentVelocity(long 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/java/android/text/format/
H A DFormatter.java45 public final String units; field in class:Formatter.BytesResult
48 public BytesResult(String value, String units, long roundedBytes) { argument
50 this.units = units;
73 * @param context Context to use to load the localized units
83 res.value, res.units));
96 res.value, res.units));
165 final String units = res.getString(suffix);
167 return new BytesResult(roundedString, units, roundedBytes);
190 * 1 day 5 hrs; will include at most two units, ca
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_VelocityTracker.cpp52 void computeCurrentVelocity(int32_t units, float maxVelocity);
81 void VelocityTrackerState::computeCurrentVelocity(int32_t units, float maxVelocity) { argument
91 vx = vx * units / 1000;
92 vy = vy * units / 1000;
174 jlong ptr, jint units, jfloat maxVelocity) {
176 state->computeCurrentVelocity(units, maxVelocity);
173 android_view_VelocityTracker_nativeComputeCurrentVelocity(JNIEnv* env, jclass clazz, jlong ptr, jint units, jfloat maxVelocity) argument
H A Dandroid_opengl_GLES10.cpp2595 /* void glPolygonOffset ( GLfloat factor, GLfloat units ) */
2598 (JNIEnv *_env, jobject _this, jfloat factor, jfloat units) {
2601 (GLfloat)units
2605 /* void glPolygonOffsetx ( GLfixed factor, GLfixed units ) */
2608 (JNIEnv *_env, jobject _this, jint factor, jint units) {
2611 (GLfixed)units
2597 android_glPolygonOffset__FF(JNIEnv *_env, jobject _this, jfloat factor, jfloat units) argument
2607 android_glPolygonOffsetx__II(JNIEnv *_env, jobject _this, jint factor, jint units) argument
/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/base/core/java/android/widget/
H A DRemoteViews.java1533 * Helper action to set text size on a TextView in any supported units.
1536 public TextViewSizeAction(int viewId, int units, float size) { argument
1538 this.units = units;
1544 units = parcel.readInt();
1551 dest.writeInt(units);
1559 target.setTextSize(units, size);
1566 int units; field in class:RemoteViews.TextViewSizeAction
2082 * @param units The units o
2085 setTextViewTextSize(int viewId, int units, float size) argument
[all...]
/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.h173 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);
/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.java1517 public void computeCurrentVelocity(int units) { argument
1518 computeCurrentVelocity(units, Float.MAX_VALUE);
1521 public void computeCurrentVelocity(int units, float maxVelocity) { argument
1543 float vel = (dist/dur) * units; // pixels/frame.
1548 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.h697 GL_API void GL_APIENTRY glPolygonOffsetxOES (GLfixed factor, GLfixed units);
737 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/base/libs/hwui/tests/
H A Dnullgles.cpp206 void glPolygonOffset(GLfloat factor, GLfloat units) {} argument

Completed in 1231 milliseconds

12