Home
last modified time | relevance | path

Searched refs:coordinate (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/location/java/android/location/
DLocation.java179 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/
Dshapes.jd40 <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)
Dprojection.jd49 coordinate mapping, see <a
50 href="{@docRoot}guide/topics/graphics/opengl.html#coordinate-mapping">Mapping Coordinates for Drawn
Ddraw.jd193 // Prepare the triangle coordinate data
/frameworks/support/v4/java/android/support/v4/widget/
DAutoScrollHelper.java538 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/
DAutoScrollHelper.java537 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/
Dsensors_motion.jd71 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
Dsensors_overview.jd693 <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&mdash;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
Dsensors_position.jd71 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 &mu;T) for each of the three coordinate axes.
/frameworks/base/docs/html/tools/help/uiautomator/
DUiDevice.jd94 <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…
DUiObject.jd1832 <td>the X-axis coordinate.</td>
1836 <td>the Y-axis coordinate.</td>
/frameworks/base/docs/html/guide/topics/graphics/
Dopengl.jd15 <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/
DExifInterface.java1909 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/
Danimation-resource.jd464 <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/
Dcontroller-input.jd113 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/
Ddeclaring-layout.jd243 coordinate of the rectangle representing the view. The latter returns the
244 top, or Y, coordinate of the rectangle representing the view. These methods
Ddrag-drop.jd818 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/
Dcustom-docs.jd354 of elements on the page. For positioning of drawn elements, the coordinate system starts at 0,0
/frameworks/base/docs/html/guide/topics/renderscript/
Dcompute.jd107 coordinate arguments must be <code>uint32_t</code>.</p></li>
/frameworks/base/docs/html/guide/topics/media/
Dcamera.jd1355 <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/
Dbound-services.jd621 activities coordinate their lifecycles is described in the <a
/frameworks/base/docs/html/guide/practices/
Dscreens_support.jd1008 standard unit for expressing dimension or coordinate values. That means that the dimensions of a