/packages/apps/Camera2/src/com/android/camera/ui/focus/ |
LensRangeCalculator.java | 48 // represents the nearest focus the device can achieve. 55 Float nearest = characteristics.get(CameraCharacteristics.LENS_INFO_MINIMUM_FOCUS_DISTANCE); local 58 if (nearest == null && hyperfocal == null) { 62 nearest = (nearest == null) ? 0.0f : nearest; 65 if (nearest > hyperfocal) { 66 return new LinearScale(hyperfocal, nearest, 0, 1); 69 return new LinearScale(nearest, hyperfocal, 0, 1);
|
/external/valgrind/none/tests/s390x/ |
fixbr.stdout.exp | 1 fixbr 1.25000 -> 1 [-> nearest even] 5 fixbr 1.50000 -> 2 [-> nearest even] 9 fixbr 2.50000 -> 2 [-> nearest even] 13 fixbr 1.75000 -> 2 [-> nearest even] 17 fixbr -1.25000 -> -1 [-> nearest even] 21 fixbr -1.50000 -> -2 [-> nearest even] 25 fixbr -2.50000 -> -2 [-> nearest even] 29 fixbr -1.75000 -> -2 [-> nearest even] 33 fixbr 0.00000 -> 0 [-> nearest even]
|
srnmb.stderr.exp | 4 Continuing using 'round to nearest'. Results may differ!
|
rounding-6.stdout.exp | 1 cfebr 1.250000 -> 1 cc = 2 [-> nearest even] 5 cfebr 1.500000 -> 2 cc = 2 [-> nearest even] 9 cfebr 2.500000 -> 2 cc = 2 [-> nearest even] 13 cfebr 1.750000 -> 2 cc = 2 [-> nearest even] 17 cfebr -1.250000 -> -1 cc = 1 [-> nearest even] 21 cfebr -1.500000 -> -2 cc = 1 [-> nearest even] 25 cfebr -2.500000 -> -2 cc = 1 [-> nearest even] 29 cfebr -1.750000 -> -2 cc = 1 [-> nearest even] 33 cfebr 0.000000 -> 0 cc = 0 [-> nearest even] 37 cgebr 1.250000 -> 1 cc = 2 [-> nearest even [all...] |
/device/linaro/bootloader/edk2/IntelFspPkg/FspSecCore/Ia32/ |
InitializeFpu.s | 18 # all exceptions masked, double-precision, round-to-nearest
23 # all exceptions masked, round-to-nearest, flush to zero for masked underflow
33 # masked,double-precision, round-to-nearest) and multimedia-extensions control word
34 # (if supported) to 0x1F80 (all exceptions masked, round-to-nearest, flush to zero
|
InitializeFpu.asm | 21 ; all exceptions masked, double-precision, round-to-nearest
26 ; all exceptions masked, round-to-nearest, flush to zero for masked underflow
37 ; masked,double-precision, round-to-nearest) and multimedia-extensions control word
38 ; (if supported) to 0x1F80 (all exceptions masked, round-to-nearest, flush to zero
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/BaseUefiCpuLib/Ia32/ |
InitializeFpu.S | 17 # all exceptions masked, double-precision, round-to-nearest
22 # all exceptions masked, round-to-nearest, flush to zero for masked underflow
30 # masked,double-precision, round-to-nearest) and multimedia-extensions control word
31 # (if supported) to 0x1F80 (all exceptions masked, round-to-nearest, flush to zero
|
InitializeFpu.asm | 21 ; all exceptions masked, double-precision, round-to-nearest
26 ; all exceptions masked, round-to-nearest, flush to zero for masked underflow
37 ; masked,double-precision, round-to-nearest) and multimedia-extensions control word
38 ; (if supported) to 0x1F80 (all exceptions masked, round-to-nearest, flush to zero
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/BaseUefiCpuLib/X64/ |
InitializeFpu.S | 19 # masked,double-extended-precision, round-to-nearest) and multimedia-extensions control word
20 # (if supported) to 0x1F80 (all exceptions masked, round-to-nearest, flush to zero
33 # all exceptions masked, double-precision, round-to-nearest
49 # all exceptions masked, round-to-nearest, flush to zero for masked underflow
|
InitializeFpu.asm | 19 ; all exceptions masked, double-extended-precision, round-to-nearest
24 ; all exceptions masked, round-to-nearest, flush to zero for masked underflow
35 ; masked,double-precision, round-to-nearest) and multimedia-extensions control word
36 ; (if supported) to 0x1F80 (all exceptions masked, round-to-nearest, flush to zero
|
/external/python/cpython2/Tools/pynche/ |
ColorDB.py | 102 def nearest(self, red, green, blue): 103 """Return the name of color nearest (red, green, blue)""" 105 # octree for speeding up the locating of nearest point? Exhaustive 107 nearest = -1 115 if nearest == -1 or distance < nearest: 116 nearest = distance 267 r, g, b = (1, 1, 128) # nearest to navy 268 r, g, b = (145, 238, 144) # nearest to lightgreen variable 270 print 'finding nearest to', target, '... 101 def nearest(self, red, green, blue): member in class:ColorDB [all...] |
ChipViewer.py | 4 ChipWidgets, one for the selected color and one for the nearest color. The 6 nearest color is the named color from the X11 database that is closest to the 8 nearest one is the first one found. 10 Clicking on the nearest color chip selects that named color. 13 selected and nearest ChipWidgets. 92 # create the chip that will display the nearest real X11 color 96 self.__nearest = ChipWidget(self.__nframe, text='Nearest', 101 # Selected always shows the #rrggbb name of the color, nearest always 102 # shows the name of the nearest color in the database. BAW: should 110 # find the nearest [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/polynomials/ |
PolynomialFunctionLagrangeForm.java | 166 int nearest = 0; local 178 nearest = i; 184 double value = y[nearest]; 201 if (nearest < 0.5*(n-i+1)) { 202 value += c[nearest]; // fork down 204 nearest--; 205 value += d[nearest]; // fork up
|
/frameworks/base/core/java/com/android/internal/ml/clustering/ |
KMeans.java | 150 final Mean nearest = nearestMean(current, means); local 151 nearest.mClosestItems.add(current); 155 // Move each mean towards the nearest data set points 187 Mean nearest = null; local 197 nearest = next; 201 return nearest;
|
/external/libpng/contrib/intel/ |
filter_sse2_intrinsics.c | 232 * The Paeth function predicts d to be whichever of a, b, or c is nearest to 270 __m128i nearest = if_then_else(_mm_cmpeq_epi16(smallest, pa), a, local 275 d = _mm_add_epi8(d, nearest); 305 __m128i nearest = if_then_else(_mm_cmpeq_epi16(smallest, pa), a, local 310 d = _mm_add_epi8(d, nearest); 326 * The Paeth function predicts d to be whichever of a, b, or c is nearest to 364 __m128i nearest = if_then_else(_mm_cmpeq_epi16(smallest, pa), a, local 369 d = _mm_add_epi8(d, nearest);
|
/external/pdfium/third_party/libpng16/contrib/intel/ |
filter_sse2_intrinsics.c | 232 * The Paeth function predicts d to be whichever of a, b, or c is nearest to 270 __m128i nearest = if_then_else(_mm_cmpeq_epi16(smallest, pa), a, local 275 d = _mm_add_epi8(d, nearest); 305 __m128i nearest = if_then_else(_mm_cmpeq_epi16(smallest, pa), a, local 310 d = _mm_add_epi8(d, nearest); 326 * The Paeth function predicts d to be whichever of a, b, or c is nearest to 364 __m128i nearest = if_then_else(_mm_cmpeq_epi16(smallest, pa), a, local 369 d = _mm_add_epi8(d, nearest);
|
/external/skia/third_party/libpng/contrib/intel/ |
filter_sse2_intrinsics.c | 232 * The Paeth function predicts d to be whichever of a, b, or c is nearest to 270 __m128i nearest = if_then_else(_mm_cmpeq_epi16(smallest, pa), a, local 275 d = _mm_add_epi8(d, nearest); 305 __m128i nearest = if_then_else(_mm_cmpeq_epi16(smallest, pa), a, local 310 d = _mm_add_epi8(d, nearest); 326 * The Paeth function predicts d to be whichever of a, b, or c is nearest to 364 __m128i nearest = if_then_else(_mm_cmpeq_epi16(smallest, pa), a, local 369 d = _mm_add_epi8(d, nearest);
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/cris/ |
bwtest-err-1.s | 6 ; dot-word function. The nearest label occurs about 32 kbytes after the primary
|
/device/linaro/bootloader/edk2/StdLib/LibC/Main/Ia32/ |
fpu_rmode.asm | 24 ;_map BYTE 1 ; round to nearest
|
/external/libvpx/libvpx/vp8/common/ |
findnearmv.c | 23 void vp8_find_near_mvs(MACROBLOCKD *xd, const MODE_INFO *here, int_mv *nearest, 92 /* See if above-left MV can be merged with NEAREST */ 100 /* Swap near and nearest if necessary */ 118 nearest->as_int = near_mvs[CNT_NEAREST].as_int;
|
/frameworks/base/tests/Internal/src/com/android/internal/ml/clustering/ |
KMeansTest.java | 98 KMeans.Mean nearest = mKMeans.nearestMean(new float[] {1, 1}, means); local 100 assertEquals("Unexpected nearest mean for point {1, 1}", nearest, meanB);
|
/prebuilts/go/darwin-x86/src/cmd/compile/internal/ssa/ |
sparsetreemap.go | 14 // the nearest tree ancestor of a given node such that the 20 // will return the member of the set that is the nearest strict 35 // nearest neighbor by at least 3). 93 sparseParent *sparseTreeMapEntry // references the nearest ancestor of this block in the sparse tree. 109 // sp will be the sparse parent in this sparse tree (nearest ancestor in the larger tree that is also in this sparse tree) 168 // otherEntry is a sparse Sibling, and shares the same sparse parent (nearest ancestor within larger tree)
|
/prebuilts/go/linux-x86/src/cmd/compile/internal/ssa/ |
sparsetreemap.go | 14 // the nearest tree ancestor of a given node such that the 20 // will return the member of the set that is the nearest strict 35 // nearest neighbor by at least 3). 93 sparseParent *sparseTreeMapEntry // references the nearest ancestor of this block in the sparse tree. 109 // sp will be the sparse parent in this sparse tree (nearest ancestor in the larger tree that is also in this sparse tree) 168 // otherEntry is a sparse Sibling, and shares the same sparse parent (nearest ancestor within larger tree)
|
/device/linaro/bootloader/edk2/StdLib/LibC/Main/X64/ |
fpu_rmode.asm | 19 ;_map BYTE 1 ; round to nearest
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/clustering/ |
KMeansPlusPlusClusterer.java | 174 // the nearest center that has already been chosen. 178 final Cluster<T> nearest = getNearestCluster(resultSet, p); local 179 final double d = p.distanceFrom(nearest.getCenter()); 312 * Returns the nearest {@link Cluster} to the given point 316 * @param point the point to find the nearest {@link Cluster} for 317 * @return the nearest {@link Cluster} to the given point
|