Home
last modified time | relevance | path

Searched refs:dist (Results 1 – 25 of 54) sorted by relevance

123

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DOrientationManager.java145 int dist = Math.abs(orientation - orientationHistory);
146 dist = Math.min(dist, 360 - dist);
147 changeOrientation = (dist >= 45 + ORIENTATION_HYSTERESIS);
/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/
DSpeedAnglesClassifier.java88 private float dist; field in SpeedAnglesClassifier.Data
98 dist = 0.0f; in Data()
104 dist += previousPoint.dist(point); in addPoint()
109 new Point((float) point.timeOffsetNano / DURATION_SCALE, dist / LENGTH_SCALE); in addPoint()
DPoint.java52 public float dist(Point a) { in dist() method in Point
79 float dist1 = dist(a); in getAngle()
80 float dist2 = dist(b); in getAngle()
DStroke.java44 length += points.get(points.size() - 1).dist(point); in addPoint()
58 return points.get(0).dist(points.get(points.size() - 1)); in getEndPointLength()
DAnglesClassifier.java123 && (lastThreePoints.get(lastThreePoints.size() - 1).dist(point) in addPoint()
126 length += lastThreePoints.get(lastThreePoints.size() - 1).dist(point); in addPoint()
/packages/modules/GeoTZ/
Drun-data-pipeline.sh139 mkdir ${WORKING_DIR_ROOT}/dist
140 echo Unpacking ${ZIPPED_BOUNDARY_FILE} to ${WORKING_DIR_ROOT}/dist/...
141 unzip -o ${TZBB_DATA_DIR}/timezones.geojson.zip -d ${WORKING_DIR_ROOT}/dist/
145 echo Copying LICENSE file to ${WORKING_DIR_ROOT}/dist/
146 cp ${TZBB_DATA_DIR}/LICENSE ${WORKING_DIR_ROOT}/dist/
152 UNZIPPED_BOUNDARY_FILE=${WORKING_DIR_ROOT}/dist/combined.json
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMoreKeysDetector.java47 final int dist = key.squaredDistanceToEdge(touchX, touchY); in detectHitKey() local
48 if (dist < nearestDist) { in detectHitKey()
50 nearestDist = dist; in detectHitKey()
/packages/apps/Camera2/src/com/android/camera/app/
DOrientationManagerImpl.java234 int dist = Math.abs(newRawOrientation - oldDeviceOrientation.getDegrees());
235 dist = Math.min(dist, 360 - dist);
236 boolean isOrientationChanged = (dist >= 45 + ORIENTATION_HYSTERESIS);
/packages/modules/Virtualization/microdroid/kernel/
DREADME.md22 tooln/bazel run --config=fast //common:kernel_aarch64_microdroid_dist -- --dist_dir=out/dist
28 tools/bazel run --config=fast //common:kernel_x86_64_microdroid_dist -- --dist_dir=out/dist
58 cp out/dist/Image <android_checkout>/packages/modules/Virtualization/microdroid/kernel/arm64/kernel…
63 cp out/dist/bzImage <android_checkout>/packages/modules/Virtualization/microdroid/kernel/x86_64/ker…
/packages/modules/common/build/
Dbuild_unbundled_mainline_module.sh26 --dist_dir out/dist/mainline_modules_arm64 \
31 --dist_dir <dir> a dist directory to store the outputs in.
137 dist \
/packages/services/Car/car-lib/
DAndroid.mk26 $(call dist-for-goals,dist_files,$(full_classes_jar):android.car.jar)
36 $(call dist-for-goals, dist_files, $(car_api_xmls))
/packages/modules/Virtualization/demo/
DREADME.md6 UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true TARGET_BUILD_APPS=MicrodroidDemoApp m apps_only dist
13 adb install -t -g out/dist/MicrodroidDemoApp.apk
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DGradControl.java100 float dist = dx * dx + dy * dy; in getCloseHandle() local
101 if (dist < min) { in getCloseHandle()
102 min = dist; in getCloseHandle()
113 float dist = (float) Math.hypot(dx, dy); in getCloseHandle() local
DEclipseControl.java83 float dist = dx * dx + dy * dy; in getCloseHandle() local
84 if (dist < min) { in getCloseHandle()
85 min = dist; in getCloseHandle()
96 float dist = (float) Math.sqrt(dx * dx + dy * dy); in getCloseHandle() local
/packages/modules/adb/tools/
DAndroid.bp40 dist: {
63 dist: {
/packages/modules/Uwb/service/java/com/android/server/uwb/correction/math/
DSphericalVector.java338 String az = " x ", el = " x ", dist = " x "; in toString() local
349 dist = String.format(dl, "%5.2f %d%%", distance, in toString()
353 return String.format(dl, "[⦡%s,⦨%s,⤠%s]", az, el, dist); in toString()
/packages/modules/Bluetooth/system/gd/cert/
Drun79 CERT_TEST_VENV=${ANDROID_BUILD_TOP}/out/dist/bluetooth_venv
277 …-in-a-dir" --dir="${ANDROID_BUILD_TOP}/packages/modules/Bluetooth/system" dist $BUILD_TARGET -j $(…
283 …l-modules" --dir="${ANDROID_BUILD_TOP}/packages/modules/Bluetooth/system" dist $BUILD_TARGET -j $(…
Dgen_html_coverage.sh5 …=/tmp/logs/HostOnlyCert/latest/GdDevice_dut_backing_process_coverage/ out/dist/bluetooth_venv/lib/…
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
DKeyboardView.java902 int dist = 0; in getKeyIndices() local
909 && (dist = key.squaredDistanceFrom(x, y)) < mProximityThreshold) in getKeyIndices()
914 if (dist < closestKeyDist) { in getKeyIndices()
915 closestKeyDist = dist; in getKeyIndices()
922 if (mDistances[j] > dist) { in getKeyIndices()
930 mDistances[j + c] = dist; in getKeyIndices()
1587 float dist = pastX[i] - oldestX; in computeCurrentVelocity() local
1588 float vel = (dist/dur) * units; // pixels/frame. in computeCurrentVelocity()
1592 dist = pastY[i] - oldestY; in computeCurrentVelocity()
1593 vel = (dist/dur) * units; // pixels/frame. in computeCurrentVelocity()
/packages/modules/adb/daemon/
Dmdns.cpp148 std::uniform_int_distribution<uint8_t> dist(0, 61); in RandomAlphaNumString() local
150 uint8_t val = dist(mt); in RandomAlphaNumString()
/packages/apps/LegacyCamera/src/com/android/camera/
DUtil.java364 int dist = Math.abs(orientation - orientationHistory); in roundOrientation() local
365 dist = Math.min( dist, 360 - dist ); in roundOrientation()
366 changeOrientation = ( dist >= 45 + ORIENTATION_HYSTERESIS ); in roundOrientation()
/packages/modules/Bluetooth/system/gd/hal/
Dranging_hal_android.cc233 std::optional<std::vector<std::optional<VendorSpecificData>>>& dist) { in CopyVendorSpecificData() argument
234 dist = std::make_optional<std::vector<std::optional<VendorSpecificData>>>(); in CopyVendorSpecificData()
239 dist->push_back(vendor_specific_data); in CopyVendorSpecificData()
/packages/modules/Virtualization/microdroid/
DREADME.md33 UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true m apps_only dist
34 adb install out/dist/com.android.virt.apex
80 TARGET_BUILD_APPS=MyApp m apps_only dist
88 adb install out/dist/MyApp.apk
/packages/modules/Bluetooth/android/pandora/mmi2grpc/
D.gitignore1 dist
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/
Dtyping_weighting.h138 const float dist = traverseSession->getProximityInfoState(0)->getPointToKeyLength( in getInsertionCost() local
140 const float weightedDistance = dist * ScoringParams::DISTANCE_WEIGHT_LENGTH; in getInsertionCost()

123