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));
170 final String units = res.getString(suffix);
172 return new BytesResult(roundedString, units, roundedBytes);
195 * 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
/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.java1767 * Helper action to set text size on a TextView in any supported units.
1770 public TextViewSizeAction(int viewId, int units, float size) { argument
1772 this.units = units;
1778 units = parcel.readInt();
1785 dest.writeInt(units);
1793 target.setTextSize(units, size);
1800 int units; field in class:RemoteViews.TextViewSizeAction
2456 * @param units The units o
2459 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.java1528 public void computeCurrentVelocity(int units) { argument
1529 computeCurrentVelocity(units, Float.MAX_VALUE);
1532 public void computeCurrentVelocity(int units, float maxVelocity) { argument
1554 float vel = (dist/dur) * units; // pixels/frame.
1559 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/debug/
H A Dnullgles.cpp217 void glPolygonOffset(GLfloat factor, GLfloat units) {} argument
/frameworks/native/opengl/include/GLES2/
H A Dgl2.h476 typedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETPROC) (GLfloat factor, GLfloat units);
619 GL_APICALL void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units);

Completed in 4165 milliseconds

12