Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/location/
DLocation.java1118 public static @NonNull String convert(@FloatRange double coordinate, @Format int outputType) { in convert() argument
1119 Preconditions.checkArgumentInRange(coordinate, -180D, 180D, "coordinate"); in convert()
1125 if (coordinate < 0) { in convert()
1127 coordinate = -coordinate; in convert()
1132 int degrees = (int) Math.floor(coordinate); in convert()
1135 coordinate -= degrees; in convert()
1136 coordinate *= 60.0; in convert()
1138 int minutes = (int) Math.floor(coordinate); in convert()
1141 coordinate -= minutes; in convert()
1142 coordinate *= 60.0; in convert()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/ui/viewmodel/
DPatternBouncerViewModelTest.kt116 CORRECT_PATTERN.forEachIndexed { index, coordinate -> in <lambda>() method
117 dragToCoordinate(coordinate) in <lambda>()
151 CORRECT_PATTERN.subList(0, 3).forEach { coordinate -> dragToCoordinate(coordinate) } in <lambda>() method
311 .forEach { coordinate -> in <lambda>() method
313 xPx = 30f * coordinate.x + 15, in <lambda>()
314 yPx = 30f * coordinate.y + 15, in <lambda>()
353 private fun dragToCoordinate(coordinate: Point) { in <lambda>()
355 xPx = dotSize * coordinate.x + 15f, in <lambda>()
356 yPx = dotSize * coordinate.y + 15f, in <lambda>()
/frameworks/proto_logging/stats/atoms/hardware/biometrics/
Dbiometrics_atoms.proto42 // X coordinate of the touch. In pixels. In the coordinate space of the display in its natural
46 // Y coordinate of the touch. In pixels. In the coordinate space of the display in its natural
51 // In pixels in the coordinate space of the display in its native resolution.
55 // In pixels in the coordinate space of the display in its native resolution.
/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 …]
Dluts_for_speedup_f32.rsh62 // A lookup table that pre-computes x coordinate of the intersection between a
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.
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/native/services/inputflinger/docs/
Dinput_coordinates.md4 between the discrete and continuous coordinate spaces, especially when
72 to rotating the continuous coordinate space by 90 degrees.*
96 to the area of the display. Therefore, that point is an invalid coordinate that
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/authentication/data/repository/
DFakeAuthenticationRepository.kt253 return map { coordinate -> LockPatternView.Cell.of(coordinate.y, coordinate.x) } in <lambda>() method
/frameworks/base/cmds/bootanimation/
DFORMAT.md30 + The percentage will be displayed with an x-coordinate of 'c', and a
31 y-coordinate set to 1/3 of the animation height.
54 + If only `CLOCK1` is provided it is the y-coordinate of the clock and the x-coordinate
56 + 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.java636 private void doMotionEvent(int actionDown, int coordinate) { in doMotionEvent() argument
637 doMotionEvent(actionDown, coordinate, 0); in doMotionEvent()
640 private void doMotionEvent(int actionDown, int coordinate, float velocity) { in doMotionEvent() argument
642 /* touchX */ coordinate, in doMotionEvent()
643 /* touchY */ coordinate, in doMotionEvent()
/frameworks/proto_logging/stats/atoms/desktopmode/
Ddesktopmode_extensions_atoms.proto100 // the x-coordinate of the top-left corner
102 // the y-coordinate of the top-right corner
/frameworks/proto_logging/stats/atoms/sysui/
Dsysui_atoms.proto117 optional int32 y_coordinate = 2 [deprecated = true]; // y coordinate for ACTION_DOWN event
118 optional int32 start_x = 4; // X coordinate for ACTION_DOWN event.
119 optional int32 start_y = 5; // Y coordinate for ACTION_DOWN event.
120 optional int32 end_x = 6; // X coordinate for ACTION_MOVE event.
121 optional int32 end_y = 7; // Y coordinate for ACTION_MOVE event.
152 optional int32 x_coordinate = 1; // X coordinate for ACTION_DOWN event.
153 optional int32 y_coordinate = 2; // Y coordinate for ACTION_DOWN event.
179 // (x, y) coordinate and the index information of the target on the container
392 // (x, y) coordinate and the index information of the target on the container
446 // (x, y) coordinate and the index information of the target on the container
/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/libs/systemui/weathereffects/graphics/assets/shaders/
Dsimplex2d.agsl77 // Skew the input coordinate and find the simplex index.
106 // Skew the input coordinate and find the simplex index.
Dsimplex3d.agsl58 // Skew the input coordinate, so that we get squashed cubical grid
64 // Unskewed coordinate that is relative to p, to compute the noise contribution
Dcolor_grading_lut.agsl21 * The LUT cube size, in pixels (depth, width and height). If we use the OpenGL coordinate
/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.proto229 // internally in AudioService and the Sound settings activity to coordinate
/frameworks/proto_logging/stats/
Datoms.proto14970 // filtered message due to outside of coordinate range

12