Home
last modified time | relevance | path

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

/frameworks/base/location/java/android/location/
DLocation.java1008 public static @NonNull String convert(@FloatRange double coordinate, @Format int outputType) { in convert() argument
1009 Preconditions.checkArgumentInRange(coordinate, -180D, 180D, "coordinate"); in convert()
1015 if (coordinate < 0) { in convert()
1017 coordinate = -coordinate; in convert()
1022 int degrees = (int) Math.floor(coordinate); in convert()
1025 coordinate -= degrees; in convert()
1026 coordinate *= 60.0; in convert()
1028 int minutes = (int) Math.floor(coordinate); in convert()
1031 coordinate -= minutes; in convert()
1032 coordinate *= 60.0; in convert()
[all …]
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
Dlayered_filter_fast_f32.rscript21 // @param x x-coordinate of @param in in the unpadded input image.
22 // @param y y-coordinate of @param in in the unpadded input image.
98 // Maps (x,y) to the padded image coordinate system.
134 // Maps (x,y) to the padded image coordinate system.
206 // Maps (x,y) to the padded image coordinate system.
230 // Maps (x,y) to the padded image coordinate system.
255 // Maps (x,y) to the padded image coordinate system.
280 // Maps (x,y) to the padded image coordinate system.
302 // Maps (x,y) to the padded image coordinate system.
335 // Maps (x,y) to the padded image coordinate system.
[all …]
Dlayered_filter_fast_d1new.rscript21 // @param x x-coordinate of @param in in the unpadded input image.
22 // @param y y-coordinate of @param in in the unpadded input image.
87 // Maps (x,y) to the padded image coordinate system.
116 // Maps (x,y) to the padded image coordinate system.
241 // Maps (x,y) to the padded image coordinate system.
287 // Maps (x,y) to the padded image coordinate system.
331 // Maps (x,y) to the padded image coordinate system.
367 // Maps (x,y) to the padded image coordinate system.
399 // Maps (x,y) to the padded image coordinate system.
464 // Maps (x,y) to the padded image coordinate system.
[all …]
Dlayered_filter_f32_helper.rsh12 // @param x x-coordinate of a pixel in a padded image.
13 // @param y y-coordinate of a pixel in a padded image.
Dluts_for_speedup_f32.rsh62 // A lookup table that pre-computes x coordinate of the intersection between a
Dlayered_filter_d1new_helper.rsh29 // @param x x-coordinate of a pixel in a padded image.
30 // @param y y-coordinate of a pixel in a padded image.
/frameworks/base/cmds/bootanimation/
DFORMAT.md31 + The percentage will be displayed with an x-coordinate of 'c', and a
32 y-coordinate set to 1/3 of the animation height.
55 + If only `CLOCK1` is provided it is the y-coordinate of the clock and the x-coordinate
57 + If both `CLOCK1` and `CLOCK2` are provided then `CLOCK1` is the x-coordinate and `CLOCK2` is
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/back/
DBackAnimationControllerTest.java371 private void doMotionEvent(int actionDown, int coordinate) { in doMotionEvent() argument
373 coordinate, coordinate, in doMotionEvent()
/frameworks/base/core/java/com/android/internal/graphics/cam/
DHctSolver.java438 static double[] setCoordinate(double[] source, double coordinate, double[] target, int axis) { in setCoordinate() argument
439 double t = intercept(source[axis], coordinate, target[axis]); in setCoordinate()
/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/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dreflection3264.rscript43 // Only check one coordinate, so as to avoid contention on global variable "failed"
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dreflection3264.rscript45 // Only check one coordinate, so as to avoid contention on global variable "failed"
/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/cmds/hid/
DREADME.md136 and both events have the same value of ABS_X, then ABS_X coordinate
/frameworks/base/core/proto/android/providers/settings/
Dsystem.proto206 // internally in AudioService and the Sound settings activity to coordinate
/frameworks/proto_logging/stats/
Datoms.proto4079 optional int32 y_coordinate = 2 [deprecated = true]; // y coordinate for ACTION_DOWN event
4080 optional int32 start_x = 4; // X coordinate for ACTION_DOWN event.
4081 optional int32 start_y = 5; // Y coordinate for ACTION_DOWN event.
4082 optional int32 end_x = 6; // X coordinate for ACTION_MOVE event.
4083 optional int32 end_y = 7; // Y coordinate for ACTION_MOVE event.
4122 optional int32 x_coordinate = 1; // X coordinate for ACTION_DOWN event.
4123 optional int32 y_coordinate = 2; // Y coordinate for ACTION_DOWN event.
4149 // (x, y) coordinate and the index information of the target on the container
4328 // (x, y) coordinate and the index information of the target on the container
4382 // (x, y) coordinate and the index information of the target on the container