Home
last modified time | relevance | path

Searched refs:units (Results 1 – 25 of 69) sorted by relevance

123

/frameworks/base/core/java/android/view/
DVelocityTracker.java44 private static native void nativeComputeCurrentVelocity(long ptr, int units, float maxVelocity); in nativeComputeCurrentVelocity() argument
135 public void computeCurrentVelocity(int units) { in computeCurrentVelocity() argument
136 nativeComputeCurrentVelocity(mPtr, units, Float.MAX_VALUE); in computeCurrentVelocity()
152 public void computeCurrentVelocity(int units, float maxVelocity) { in computeCurrentVelocity() argument
153 nativeComputeCurrentVelocity(mPtr, units, maxVelocity); in computeCurrentVelocity()
/frameworks/base/core/jni/
Dandroid_view_VelocityTracker.cpp51 void computeCurrentVelocity(int32_t units, float maxVelocity);
80 void VelocityTrackerState::computeCurrentVelocity(int32_t units, float maxVelocity) { in computeCurrentVelocity() argument
90 vx = vx * units / 1000; in computeCurrentVelocity()
91 vy = vy * units / 1000; in computeCurrentVelocity()
173 jlong ptr, jint units, jfloat maxVelocity) { in android_view_VelocityTracker_nativeComputeCurrentVelocity() argument
175 state->computeCurrentVelocity(units, maxVelocity); in android_view_VelocityTracker_nativeComputeCurrentVelocity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPlatformVelocityTracker.java53 public void computeCurrentVelocity(int units) { in computeCurrentVelocity() argument
54 mTracker.computeCurrentVelocity(units); in computeCurrentVelocity()
DNoisyVelocityTracker.java66 public void computeCurrentVelocity(int units) { in computeCurrentVelocity() argument
79 final float dt = (float) (event.t - last.t) / units; in computeCurrentVelocity()
DVelocityTrackerInterface.java27 public void computeCurrentVelocity(int units); in computeCurrentVelocity() argument
/frameworks/base/docs/html/training/multiscreen/
Dscreendensities.jd48 by providing different resources and using resolution-independent units of
58 <code>dp</code> or <code>sp</code> units. A <code>dp</code> is a density-independent pixel
/frameworks/native/opengl/tools/glgen/specs/gles11/
DGLES10.spec78 void glPolygonOffset ( GLfloat factor, GLfloat units )
79 void glPolygonOffsetx ( GLfixed factor, GLfixed units )
DGLES11Ext.spec44 void glPolygonOffsetxOES ( GLfixed factor, GLfixed units )
/frameworks/base/core/java/android/widget/
DRemoteViews.java1435 public TextViewSizeAction(int viewId, int units, float size) { in TextViewSizeAction() argument
1437 this.units = units; in TextViewSizeAction()
1443 units = parcel.readInt(); in TextViewSizeAction()
1450 dest.writeInt(units); in writeToParcel()
1458 target.setTextSize(units, size); in apply()
1465 int units; field in RemoteViews.TextViewSizeAction
1984 public void setTextViewTextSize(int viewId, int units, float size) { in setTextViewTextSize() argument
1985 addAction(new TextViewSizeAction(viewId, units, size)); in setTextViewTextSize()
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
DGL10.java778 float units in glPolygonOffset() argument
783 int units in glPolygonOffsetx() argument
/frameworks/base/docs/html/google/play-services/
Dads.jd42 <li>Ads will stop serving to legacy ad units that are not updated with new
76 ad units.</p>
/frameworks/base/docs/html/guide/practices/
Dscreens_support.jd41 <li><a href="#dips-pels">Converting dp units to pixel units</a></li>
141 transparently handles any scaling of the dp units, as necessary, based on the actual density of the
142 screen in use. The conversion of dp units to screen pixels is simple:
144 For example, on a 240 dpi screen, 1 dp equals 1.5 physical pixels. You should always use dp units
205 resolution that's defined by the system. These minimum sizes are in "dp" units&mdash;the same units
269 <li>The system scales dp units as appropriate for the current screen density</li>
275 units), so the views are physically larger on a low-density screen and smaller on a high-density
278 dimensions are specified in density-independent pixels ({@code dp} units). Because the baseline for
285 layout dimension values in density-independent pixels (<code>dp</code> units) or with {@code
694 in dp units.</p>
[all …]
/frameworks/native/opengl/libagl/
Dmatrix.cpp1106 void glPolygonOffsetx(GLfixed factor, GLfixed units) in glPolygonOffsetx() argument
1110 c->polygonOffset.units = units; in glPolygonOffsetx()
1113 void glPolygonOffset(GLfloat factor, GLfloat units) in glPolygonOffset() argument
1117 c->polygonOffset.units = gglFloatToFixed(units); in glPolygonOffset()
Dprimitives.cpp665 const int32_t units = (c->polygonOffset.units << 16); in lerp_triangle() local
672 + uint32_t((maxDepthSlope*factor)>>16) + units; in lerp_triangle()
677 itz[0] += units; in lerp_triangle()
/frameworks/native/opengl/tools/glgen/specs/jsr239/
Dglspec-1.078 void glPolygonOffset ( GLfloat factor, GLfloat units )
79 void glPolygonOffsetx ( GLfixed factor, GLfixed units )
/frameworks/native/opengl/libs/GLES_CM/
Dgl_api.in91 void API_ENTRY(glPolygonOffset)(GLfloat factor, GLfloat units) {
92 CALL_GL_API(glPolygonOffset, factor, units);
352 void API_ENTRY(glPolygonOffsetx)(GLfixed factor, GLfixed units) {
353 CALL_GL_API(glPolygonOffsetx, factor, units);
/frameworks/base/opengl/java/android/opengl/
DGLES10.java1019 float units in glPolygonOffset() argument
1026 int units in glPolygonOffsetx() argument
DGLErrorWrapper.java639 public void glPolygonOffset(float factor, float units) { in glPolygonOffset() argument
641 mgl.glPolygonOffset(factor, units); in glPolygonOffset()
645 public void glPolygonOffsetx(int factor, int units) { in glPolygonOffsetx() argument
647 mgl.glPolygonOffsetx(factor, units); in glPolygonOffsetx()
/frameworks/base/docs/html/design/tv/
Dstyle.jd104 pixel units instead of absolute pixel units.</li>
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java1515 public void computeCurrentVelocity(int units) { in computeCurrentVelocity() argument
1516 computeCurrentVelocity(units, Float.MAX_VALUE); in computeCurrentVelocity()
1519 public void computeCurrentVelocity(int units, float maxVelocity) { in computeCurrentVelocity() argument
1541 float vel = (dist/dur) * units; // pixels/frame. in computeCurrentVelocity()
1546 vel = (dist/dur) * units; // pixels/frame. in computeCurrentVelocity()
/frameworks/native/opengl/tests/angeles/include/GLES/
Dgl.h550 GLAPI void APIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
551 GLAPI void APIENTRY glPolygonOffsetx (GLfixed factor, GLfixed units);
/frameworks/base/docs/html/about/versions/
Dandroid-3.2.jd97 density-independent pixel units (such as 600dp or 720dp wide), rather than
110 measured in density-independent pixel ("dp") units. Of the screen's height or
122 in "dp" units, not including screen areas reserved by the system. The width and
146 examples, measured in "dp" units. </p>
200 the resource should be used, measured in "dp" units. As mentioned above, a
205 width or height on which the resource should be used, measured in "dp" units. As
/frameworks/base/docs/html/training/graphics/opengl/
Dindex.jd38 acceleration of graphics processing units (GPUs) provided on many Android devices.</p>
/frameworks/base/docs/html/design/style/
Dmetrics-grids.jd53 <p>Touchable UI components are generally laid out along 48dp units.</p>
/frameworks/base/docs/html/google/play/billing/
Dbilling_reference.jd120 <td>Price in micro-units, where 1,000,000 micro-units equal one unit of the

123