Home
last modified time | relevance | path

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

12

/aosp12/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
H A DCbSendMessageCalculator.java157 public void addCoordinate(CbGeoUtils.LatLng coordinate, float accuracyMeters) { in addCoordinate() argument
163 calculatePersistentAction(coordinate, accuracyMeters); in addCoordinate()
176 private void calculatePersistentAction(CbGeoUtils.LatLng coordinate, float accuracyMeters) { in calculatePersistentAction() argument
180 calculateActionFromFences(coordinate, accuracyMeters); in calculatePersistentAction()
205 private int calculateActionFromFences(CbGeoUtils.LatLng coordinate, float accuracyMeters) { in calculateActionFromFences() argument
212 final int action = calculateSingleFence(coordinate, accuracyMeters, fence); in calculateActionFromFences()
228 private int calculateSingleFence(CbGeoUtils.LatLng coordinate, float accuracyMeters, in calculateSingleFence() argument
230 if (fence.contains(coordinate)) { in calculateSingleFence()
235 return calculateSysSingleFence(coordinate, accuracyMeters, fence); in calculateSingleFence()
241 private int calculateSysSingleFence(CbGeoUtils.LatLng coordinate, float accuracyMeters, in calculateSysSingleFence() argument
[all …]
/aosp12/frameworks/base/location/java/android/location/
H A DLocation.java202 if (coordinate < -180.0 || coordinate > 180.0 || Double.isNaN(coordinate)) { in convert()
214 if (coordinate < 0) { in convert()
216 coordinate = -coordinate; in convert()
224 coordinate -= degrees; in convert()
225 coordinate *= 60.0; in convert()
230 coordinate -= minutes; in convert()
231 coordinate *= 60.0; in convert()
251 if (coordinate == null) { in convert()
257 coordinate = coordinate.substring(1); in convert()
300 coordinate); in convert()
[all …]
/aosp12/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/
H A DTouchEventGenerator.java254 PointerCoords coordinate = new PointerCoords(); in getFingerState() local
255 coordinate.x = location.x; in getFingerState()
256 coordinate.y = location.y; in getFingerState()
257 coordinate.pressure = 1.0f; in getFingerState()
258 coordinates[index] = coordinate; in getFingerState()
/aosp12/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
H A Dlayered_filter_fast_f32.rscript98 // 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.
397 // Maps (x,y) to the padded image coordinate system.
447 // Maps (x,y) to the padded image coordinate system.
[all …]
H A Dlayered_filter_fast_d1new.rscript87 // 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.
580 // Maps (x,y) to the padded image coordinate system.
680 // Maps (x,y) to the padded image coordinate system.
[all …]
H 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.
H A Dluts_for_speedup_f32.rsh62 // A lookup table that pre-computes x coordinate of the intersection between a
H 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.
/aosp12/packages/services/Car/car_product/car_ui_portrait/bootanimation/
H A DREADME28 + The percentage will be displayed with an x-coordinate of 'c', and a
29 y-coordinate set to 1/3 of the animation height.
49 + If only `CLOCK1` is provided it is the y-coordinate of the clock and the x-coordinate
51 + If both `CLOCK1` and `CLOCK2` are provided then `CLOCK1` is the x-coordinate and `CLOCK2` is
/aosp12/hardware/interfaces/gnss/2.1/
H A DIGnssAntennaInfoCallback.hal56 * respect to the origin of the Android sensor coordinate system, e.g., center of primary
68 * Android sensor coordinate system, increasing toward the Y axis. The zenith
70 * coordinate system, increasing toward the X-Y plane.
102 * Android sensor coordinate system, increasing toward the Y axis. The zenith
104 * coordinate system, increasing toward the X-Y plane.
/aosp12/frameworks/base/cmds/bootanimation/
H A 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.
52 + If only `CLOCK1` is provided it is the y-coordinate of the clock and the x-coordinate
54 + If both `CLOCK1` and `CLOCK2` are provided then `CLOCK1` is the x-coordinate and `CLOCK2` is
/aosp12/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
H A DConstants.java186 public static boolean isValidCoordinate(final int coordinate) { in isValidCoordinate() argument
189 return coordinate >= 0; in isValidCoordinate()
/aosp12/hardware/interfaces/biometrics/fingerprint/2.3/
H A DIBiometricsFingerprint.hal49 * @param x The screen x-coordinate of the center of the touch contact area, in
51 * @param y The screen y-coordinate of the center of the touch contact area, in
/aosp12/hardware/interfaces/automotive/evs/1.1/
H A Dtypes.hal246 * coordinate system:
252 * This rotation and translation applied to the sensor data in the sensor's local coordinate
253 * system transform the data to the automotive coordinate system.
255 * Here Pcar is a point in automotive coordinate system and Psensor is a point in the sensor's
256 * coordinate system.
/aosp12/hardware/qcom/camera/msm8998/QCamera2/util/
H A DQCameraFOVControl.cpp1985 AuxDiffRoiX = fovRatio * ((float)roiAecMain.cam_aec_roi_position.coordinate[i].x - in translateMeteringAreas()
1989 AuxDiffRoiY = fovRatio * ((float)roiAecMain.cam_aec_roi_position.coordinate[i].y - in translateMeteringAreas()
1993 roiAecTrans.cam_aec_roi_position.coordinate[i].x = AuxRoiX - shiftHorzAdjusted; in translateMeteringAreas()
1994 roiAecTrans.cam_aec_roi_position.coordinate[i].y = AuxRoiY - shiftVertAdjusted; in translateMeteringAreas()
1999 roiAecTrans.cam_aec_roi_position.coordinate[i].x = 0; in translateMeteringAreas()
2000 roiAecTrans.cam_aec_roi_position.coordinate[i].y = 0; in translateMeteringAreas()
2006 roiAecTrans.cam_aec_roi_position.coordinate[i].x = in translateMeteringAreas()
2010 roiAecTrans.cam_aec_roi_position.coordinate[i].y = in translateMeteringAreas()
2018 roiAecTrans.cam_aec_roi_position.coordinate[i].x, in translateMeteringAreas()
2019 roiAecTrans.cam_aec_roi_position.coordinate[i].y); in translateMeteringAreas()
/aosp12/frameworks/native/services/inputflinger/sysprop/
H A DInputFlingerProperties.sysprop19 # display coordinate space, and the display rotation is encoded as part of the
/aosp12/frameworks/base/core/java/com/android/internal/widget/
H A DAutoScrollHelper.java537 int direction, float coordinate, float srcSize, float dstSize) { in computeTargetVelocity() argument
540 final float value = getEdgeValue(relativeEdge, srcSize, maximumEdge, coordinate); in computeTargetVelocity()
/aosp12/hardware/interfaces/automotive/sv/1.0/
H A Dtypes.hal95 * android automotive coordinate system:
218 * the car coordinate system (eg. Ultrasonics).
230 * Coordinates (x, y) of the center of the view in android automotive coordinate system on the
/aosp12/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
H A Dreflection3264.rscript43 // Only check one coordinate, so as to avoid contention on global variable "failed"
/aosp12/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
H A Dreflection3264.rscript45 // Only check one coordinate, so as to avoid contention on global variable "failed"
/aosp12/hardware/interfaces/sensors/1.0/
H A Dtypes.hal1012 * the Android coordinate system. This data is given as a 3x4 matrix
1015 * device coordinate frame relative to the local coordinate frame of the
1020 * origin of the Android sensor coordinate system to the geometric center
1035 * In other words, if viewing the origin of the Android coordinate
1036 * system from the positive Z direction, the device coordinate frame is
1038 * with the sensor's local coordinate frame. Equivalently, a vector in
1039 * the Android coordinate frame may be multiplied with R to rotate it
1041 * representation in the sensor's coordinate frame.
1042 * Relative to the origin of the Android coordinate system, the physical
/aosp12/packages/services/Car/cpp/evs/apps/default/
H A Dconfig.json.readme7 // X is right, Y is forward, Z is up (right handed coordinate system).
/aosp12/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A 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()
/aosp12/packages/apps/Messaging/src/com/android/messaging/util/exif/
H A DExifInterface.java1950 public static double convertLatOrLongToDouble(Rational[] coordinate, String reference) { in convertLatOrLongToDouble() argument
1952 double degrees = coordinate[0].toDouble(); in convertLatOrLongToDouble()
1953 double minutes = coordinate[1].toDouble(); in convertLatOrLongToDouble()
1954 double seconds = coordinate[2].toDouble(); in convertLatOrLongToDouble()
/aosp12/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
H A 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()

12