/frameworks/base/location/java/android/location/ |
D | Location.java | 179 public static String convert(double coordinate, int outputType) { in convert() argument 180 if (coordinate < -180.0 || coordinate > 180.0 || in convert() 181 Double.isNaN(coordinate)) { in convert() 182 throw new IllegalArgumentException("coordinate=" + coordinate); in convert() 193 if (coordinate < 0) { in convert() 195 coordinate = -coordinate; in convert() 200 int degrees = (int) Math.floor(coordinate); in convert() 203 coordinate -= degrees; in convert() 204 coordinate *= 60.0; in convert() 206 int minutes = (int) Math.floor(coordinate); in convert() [all …]
|
/frameworks/base/docs/html/training/graphics/opengl/ |
D | shapes.jd | 40 <p>This lesson explains the OpenGL ES coordinate system relative to an Android device screen, the 71 // (number of coordinate values * 4 bytes per float) 80 // set the buffer to read the first coordinate 86 <p>By default, OpenGL ES assumes a coordinate system where [0,0,0] (X,Y,Z) specifies the center of 88 [-1,-1,0] is bottom left corner of the frame. For an illustration of this coordinate system, see the 89 <a href="{@docRoot}guide/topics/graphics/opengl.html#coordinate-mapping">OpenGL ES</a> developer 133 // (# of coordinate values * 4 bytes per float) 142 // (# of coordinate values * 2 bytes per short)
|
D | projection.jd | 49 coordinate mapping, see <a 50 href="{@docRoot}guide/topics/graphics/opengl.html#coordinate-mapping">Mapping Coordinates for Drawn
|
D | draw.jd | 193 // Prepare the triangle coordinate data
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | AutoScrollHelper.java | 538 int direction, float coordinate, float srcSize, float dstSize) { in computeTargetVelocity() argument 541 final float value = getEdgeValue(relativeEdge, srcSize, maximumEdge, coordinate); in computeTargetVelocity()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | AutoScrollHelper.java | 537 int direction, float coordinate, float srcSize, float dstSize) { in computeTargetVelocity() argument 540 final float value = getEdgeValue(relativeEdge, srcSize, maximumEdge, coordinate); in computeTargetVelocity()
|
/frameworks/base/docs/html/guide/topics/sensors/ |
D | sensors_motion.jd | 71 acceleration force data for the three coordinate axes, and the gyroscope returns rate of rotation 72 data for the three coordinate axes. These data values are returned in a <code>float</code> array 295 href="{@docRoot}guide/topics/sensors/sensors_overview.html#sensors-coords">coordinate 334 sensor (m/s<sup>2</sup>), and the coordinate system is the same as the one used by the 353 href="{@docRoot}guide/topics/sensors/sensors_overview.html#sensors-coords">coordinate system</a> 478 href="{@docRoot}guide/topics/sensors/sensors_overview.html#sensors-coords">coordinate 517 coordinate system is defined as a direct orthonormal basis (see figure 1). This coordinate system
|
D | sensors_overview.jd | 693 <p>In general, the sensor framework uses a standard 3-axis coordinate system to express data values. 694 For most sensors, the coordinate system is defined relative to the device's screen when the device 698 have negative Z values. This coordinate system is used by the following sensors:</p> 725 <p>The most important point to understand about this coordinate system is that the axes are not 726 swapped when the device's screen orientation changes—that is, the sensor's coordinate system 728 coordinate system.</p> 732 the sensor coordinate system is always based on the natural orientation of a device.</p> 740 <p>For more information about the sensor coordinate system, including information about how to 745 <p class="note"><strong>Note:</strong> Some sensors and methods use a coordinate system that is
|
D | sensors_position.jd | 71 field strength values for each of the three coordinate axes during a single sensor event. Likewise, 73 For more information about the coordinate systems that are used by sensors, see <a 327 obtain from an orientation sensor, other than translating the sensor's coordinate system to your 346 <p>This sensor provides raw field strength data (in μT) for each of the three coordinate axes.
|
/frameworks/base/docs/html/tools/help/uiautomator/ |
D | UiDevice.jd | 94 <div class="jd-descrdiv">Performs a swipe from one coordinate to another coordinate.</div> 860 … <div class="jd-descrdiv">Performs a swipe from one coordinate to another using the number of steps 1316 <td>coordinate</td> 1320 <td>coordinate</td> 1350 …<div class="jd-tagdata jd-tagdescr"><p>Performs a swipe from one coordinate to another coordinate.… 1359 <td>X-axis value for the starting coordinate</td> 1363 <td>Y-axis value for the starting coordinate</td> 1367 <td>X-axis value for the ending coordinate</td> 1371 <td>Y-axis value for the ending coordinate</td> 2885 …<div class="jd-tagdata jd-tagdescr"><p>Performs a swipe from one coordinate to another using the n…
|
D | UiObject.jd | 1832 <td>the X-axis coordinate.</td> 1836 <td>the Y-axis coordinate.</td>
|
/frameworks/base/docs/html/guide/topics/graphics/ |
D | opengl.jd | 15 <li><a href="#coordinate-mapping">Mapping Coordinates for Drawn Objects</a> 258 <h2 id="coordinate-mapping">Mapping Coordinates for Drawn Objects</h2> 261 vary in size and shape. OpenGL assumes a square, uniform coordinate system and, by default, happily 266 <strong>Figure 1.</strong> Default OpenGL coordinate system (left) mapped to a typical Android 270 <p>The illustration above shows the uniform coordinate system assumed for an OpenGL frame on the 307 <li><strong>Camera transformation matrix</strong> - Once you have adjusted the coordinate system 445 <strong>Figure 1.</strong> Illustration of a coordinate list which translates into a
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
D | ExifInterface.java | 1909 public static double convertLatOrLongToDouble(Rational[] coordinate, String reference) { in convertLatOrLongToDouble() argument 1911 double degrees = coordinate[0].toDouble(); in convertLatOrLongToDouble() 1912 double minutes = coordinate[1].toDouble(); in convertLatOrLongToDouble() 1913 double seconds = coordinate[2].toDouble(); in convertLatOrLongToDouble()
|
/frameworks/base/docs/html/guide/topics/resources/ |
D | animation-resource.jd | 464 <dd><em>Float</em>. The X coordinate to remain fixed when the object is scaled.</dd> 466 <dd><em>Float</em>. The Y coordinate to remain fixed when the object is scaled.</dd> 510 <dd><em>Float or percentage</em>. The X coordinate of the center of rotation. Expressed 515 <dd><em>Float or percentage</em>. The Y coordinate of the center of rotation. Expressed
|
/frameworks/base/docs/html/training/game-controllers/ |
D | controller-input.jd | 113 coordinate of the touch surface, but a joystick generates an {@link android.view.MotionEvent#AXIS_X… 543 have a <em>flat</em> area, that is, a range of values near the (0,0) coordinate
|
/frameworks/base/docs/html/guide/topics/ui/ |
D | declaring-layout.jd | 243 coordinate of the rectangle representing the view. The latter returns the 244 top, or Y, coordinate of the rectangle representing the view. These methods
|
D | drag-drop.jd | 818 return the X and Y position of the drag point at the moment of the drop, using the coordinate
|
/frameworks/base/docs/html/training/printing/ |
D | custom-docs.jd | 354 of elements on the page. For positioning of drawn elements, the coordinate system starts at 0,0
|
/frameworks/base/docs/html/guide/topics/renderscript/ |
D | compute.jd | 107 coordinate arguments must be <code>uint32_t</code>.</p></li>
|
/frameworks/base/docs/html/guide/topics/media/ |
D | camera.jd | 1355 <strong>Figure 1.</strong> The red lines illustrate the coordinate system for specifying a 1360 <p>The bounds of this coordinate system always correspond to the outer edge of the image visible in 1363 does not remap the coordinate system.</p>
|
/frameworks/base/docs/html/guide/components/ |
D | bound-services.jd | 621 activities coordinate their lifecycles is described in the <a
|
/frameworks/base/docs/html/guide/practices/ |
D | screens_support.jd | 1008 standard unit for expressing dimension or coordinate values. That means that the dimensions of a
|