Home
last modified time | relevance | path

Searched refs:nearest (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/ui/focus/
DLensRangeCalculator.java55 Float nearest = characteristics.get(CameraCharacteristics.LENS_INFO_MINIMUM_FOCUS_DISTANCE); in getDiopterToRatioCalculator() local
58 if (nearest == null && hyperfocal == null) { in getDiopterToRatioCalculator()
62 nearest = (nearest == null) ? 0.0f : nearest; in getDiopterToRatioCalculator()
65 if (nearest > hyperfocal) { in getDiopterToRatioCalculator()
66 return new LinearScale(hyperfocal, nearest, 0, 1); in getDiopterToRatioCalculator()
69 return new LinearScale(nearest, hyperfocal, 0, 1); in getDiopterToRatioCalculator()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripView.java799 int nearest = 0; in findTheNearestView() local
801 while (nearest < BUFFER_SIZE in findTheNearestView()
802 && (mViewItems[nearest] == null || mViewItems[nearest].getLeftPosition() == -1)) { in findTheNearestView()
803 nearest++; in findTheNearestView()
806 if (nearest == BUFFER_SIZE) { in findTheNearestView()
810 int min = Math.abs(viewX - mViewItems[nearest].getCenterX()); in findTheNearestView()
812 for (int i = nearest + 1; i < BUFFER_SIZE && mViewItems[i] != null; i++) { in findTheNearestView()
822 nearest = i; in findTheNearestView()
825 return nearest; in findTheNearestView()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_state_utils.cpp355 const int x, const int y, const int time, const bool lastPoint, const float nearest, in getPointScore() argument
379 } else if (nearest < ProximityInfoParams::NEAR_KEY_THRESHOLD_FOR_POINT_SCORE) { in getPointScore()
416 const float nearest = updateNearKeysDistances(proximityInfo, maxPointToKeyLength, x, y, in pushTouchPoint() local
418 const float score = getPointScore(mostCommonKeyWidth, x, y, time, isLastPoint, nearest, in pushTouchPoint()
Dproximity_info_state_utils.h122 const int time, const bool lastPoint, const float nearest, const float sumAngle,
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...