/frameworks/base/core/java/android/view/ |
D | VelocityTracker.java | 44 private static native void nativeComputeCurrentVelocity(int 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/ |
D | android_view_VelocityTracker.cpp | 51 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 jint ptr, jint units, jfloat maxVelocity) { in android_view_VelocityTracker_nativeComputeCurrentVelocity() argument 175 state->computeCurrentVelocity(units, maxVelocity); in android_view_VelocityTracker_nativeComputeCurrentVelocity()
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViews.java | 1397 public TextViewSizeAction(int viewId, int units, float size) { in TextViewSizeAction() argument 1399 this.units = units; in TextViewSizeAction() 1405 units = parcel.readInt(); in TextViewSizeAction() 1412 dest.writeInt(units); in writeToParcel() 1421 target.setTextSize(units, size); in apply() 1428 int units; field in RemoteViews.TextViewSizeAction 1851 public void setTextViewTextSize(int viewId, int units, float size) { in setTextViewTextSize() argument 1852 addAction(new TextViewSizeAction(viewId, units, size)); in setTextViewTextSize()
|
/frameworks/base/docs/html/training/multiscreen/ |
D | screendensities.jd | 45 by providing different resources and using resolution-independent units of 55 <code>dp</code> or <code>sp</code> units. A <code>dp</code> is a density-independent pixel
|
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
D | GLES10.spec | 78 void glPolygonOffset ( GLfloat factor, GLfloat units ) 79 void glPolygonOffsetx ( GLfixed factor, GLfixed units )
|
D | GLES11Ext.spec | 44 void glPolygonOffsetxOES ( GLfixed factor, GLfixed units )
|
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
D | GL10.java | 778 float units in glPolygonOffset() argument 783 int units in glPolygonOffsetx() argument
|
/frameworks/base/docs/html/guide/practices/ |
D | screens_support.jd | 39 <li><a href="#dips-pels">Converting dp units to pixel units</a></li> 139 transparently handles any scaling of the dp units, as necessary, based on the actual density of the 140 screen in use. The conversion of dp units to screen pixels is simple: 142 For example, on a 240 dpi screen, 1 dp equals 1.5 physical pixels. You should always use dp units 197 resolution that's defined by the system. These minimum sizes are in "dp" units—the same units 261 <li>The system scales dp units as appropriate for the current screen density</li> 267 units), so the views are physically larger on a low density screen and smaller on a high density 270 dimensions are specified in density-independent pixels ({@code dp} units). Because the baseline for 277 layout dimension values in density-independent pixels (<code>dp</code> units) or with {@code 664 in dp units.</p> [all …]
|
/frameworks/native/opengl/libagl/ |
D | matrix.cpp | 1106 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()
|
D | primitives.cpp | 665 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/ |
D | glspec-1.0 | 78 void glPolygonOffset ( GLfloat factor, GLfloat units ) 79 void glPolygonOffsetx ( GLfixed factor, GLfixed units )
|
/frameworks/native/opengl/libs/GLES_CM/ |
D | gl_api.in | 91 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/ |
D | GLES10.java | 1019 float units in glPolygonOffset() argument 1026 int units in glPolygonOffsetx() argument
|
D | GLErrorWrapper.java | 639 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()
|
D | GLES11Ext.java | 621 int units in glPolygonOffsetxOES() argument
|
/frameworks/base/docs/html/design/style/ |
D | metrics-grids.jd | 35 <p>Touchable UI components are generally laid out along 48dp units.</p>
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | KeyboardView.java | 1512 public void computeCurrentVelocity(int units) { in computeCurrentVelocity() argument 1513 computeCurrentVelocity(units, Float.MAX_VALUE); in computeCurrentVelocity() 1516 public void computeCurrentVelocity(int units, float maxVelocity) { in computeCurrentVelocity() argument 1538 float vel = (dist/dur) * units; // pixels/frame. in computeCurrentVelocity() 1543 vel = (dist/dur) * units; // pixels/frame. in computeCurrentVelocity()
|
/frameworks/native/opengl/tests/angeles/include/GLES/ |
D | gl.h | 550 GLAPI void APIENTRY glPolygonOffset (GLfloat factor, GLfloat units); 551 GLAPI void APIENTRY glPolygonOffsetx (GLfixed factor, GLfixed units);
|
/frameworks/base/docs/html/about/versions/ |
D | android-3.2.jd | 97 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/ |
D | index.jd | 38 acceleration of graphics processing units (GPUs) provided on many Android devices.</p>
|
/frameworks/native/opengl/libs/ |
D | debug.in | 188 …D(glPolygonOffsetx, (GLfixed factor, GLfixed units), (factor, units), 2, "GLfixed", factor, "GLfix… 189 …lPolygonOffsetxOES, (GLfixed factor, GLfixed units), (factor, units), 2, "GLfixed", factor, "GLfix…
|
/frameworks/base/docs/html/training/tv/ |
D | optimizing-layouts-tv.jd | 141 …layout-relative sizing rather than absolute sizing, and density-independent pixel units instead of… 142 …pixel units. For example, to set the width of a widget, use wrap_content instead of a pixel measur…
|
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
D | GLImpl.java | 844 float units in glPolygonOffset() argument 851 int units in glPolygonOffsetx() argument
|
/frameworks/native/opengl/include/GLES/ |
D | gl.h | 623 GL_API void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units); 712 GL_API void GL_APIENTRY glPolygonOffsetx (GLfixed factor, GLfixed units);
|
/frameworks/base/docs/html/guide/topics/resources/ |
D | more-resources.jd | 216 For example: 10px, 2in, 5sp. The following units of measure are supported by Android:</p> 220 screen. These units are relative to a 160 dpi (dots per inch) screen, on which 1dp is roughly equal 224 but not necessarily in direct proportion. Using dp units (instead of px units) is a simple solution
|