| /external/webkit/Source/WebCore/editing/ |
| EditorCommand.cpp | 655 int distance = verticalScrollDistance(frame); local 656 if (!distance) 658 return frame->selection()->modify(SelectionController::AlterationMove, distance, true, SelectionController::AlignCursorOnScrollAlways); 663 int distance = verticalScrollDistance(frame); local 664 if (!distance) 666 return frame->selection()->modify(SelectionController::AlterationExtend, distance, true, SelectionController::AlignCursorOnScrollAlways); 671 int distance = verticalScrollDistance(frame); local 672 if (!distance) 674 return frame->selection()->modify(SelectionController::AlterationMove, -distance, true, SelectionController::AlignCursorOnScrollAlways); 679 int distance = verticalScrollDistance(frame) local [all...] |
| /external/webkit/Source/WebCore/page/ |
| FocusController.cpp | 453 if (candidate.distance == maxDistance()) 479 if (candidate.distance < closest.distance)
|
| /external/webkit/Source/WebCore/platform/qt/ |
| QtMobileWebStyle.cpp | 249 int distance = (rectWidth - 3 * width) >> 1; local 256 painter->drawRect(width + distance, top, width, width); 257 painter->drawRect(2 * (width + distance), top, width, width);
|
| /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
| Suggest.java | 526 // we should not use net because relatively edit distance can be big. 533 final int distance = BinaryDictionary.editDistance(typedWord, suggestion.toString()); local 535 Log.d(TAG, "Autocorrected edit distance = " + distance 538 if (distance > maxEditDistanceOfNativeDictionary) { 541 Log.e(TAG, "(Error) The edit distance of this correction exceeds limit. "
|
| /cts/tests/tests/graphics/src/android/graphics/cts/ |
| BitmapFactoryTest.java | 313 mse += distance(expectedColors[idx], actualColors[idx]); 327 private double distance(int expect, int actual) { method in class:BitmapFactoryTest
|
| BitmapRegionDecoderTest.java | 386 mse += distance(expectedColors[idx], actualColors[idx]); 400 private double distance(int exp, int actual) { method in class:BitmapRegionDecoderTest
|
| YuvImageTest.java | 364 mse += distance(expColors[idx], actualColors[idx]); 379 private double distance(int exp, int actual) { method in class:YuvImageTest
|
| /external/astl/src/ |
| string.cpp | 345 Append(&*first, std::distance(first, last)); 352 Append(&*first, std::distance(first, last));
|
| /external/chromium/chrome/browser/ |
| session_history_uitest.cc | 57 // Navigate session history using history.go(distance). 58 void JavascriptGo(std::string distance) { 59 GURL url("javascript:history.go('" + distance + "')");
|
| /external/guava/guava-tests/test/com/google/common/collect/ |
| ContiguousSetTest.java | 48 @Override public long distance(Integer start, Integer end) { 49 return integers().distance(start, end);
|
| /external/libsepol/src/ |
| ebitmap.c | 145 int distance = ebitmap_cardinality(&tmp); local 147 return distance;
|
| /external/llvm/include/llvm/CodeGen/PBQP/ |
| Graph.h | 372 unsigned n1 = std::distance(nodesBegin(), getEdgeNode1(edgeItr)); 373 unsigned n2 = std::distance(nodesBegin(), getEdgeNode2(edgeItr));
|
| /external/opencv/cv/src/ |
| _cvkdtree.hpp | 303 accum_type dist; // distance from d to query point 315 accum_type dist; // minimum distance from bounds to query point 327 // construct bbf_node given minimum distance to bounds of alternate branch 352 // compute euclidean distance between two points 354 accum_type distance(const __desctype * d, const __valuetype & p) const { function in class:CvKDTree 368 bbf_nn nn(p, distance(d, p));
|
| /external/stlport/stlport/stl/ |
| _algobase.c | 423 _STLP_STD::advance(__result, -_STLP_STD::distance(__first2, __last2)); 455 _Distance __len = _STLP_STD::distance(__first, __last);
|
| /frameworks/base/location/java/android/location/ |
| Location.java | 357 float distance = (float) (b * A * (sigma - deltaSigma)); local 358 results[0] = distance; 374 * Computes the approximate distance in meters between two 376 * shortest path between them. Distance and bearing are defined using the 379 * <p> The computed distance is stored in results[0]. If results has length 401 * Returns the approximate distance in meters between this 402 * location and the given location. Distance is defined using 406 * @return the approximate distance in meters
|
| /frameworks/rs/scriptc/ |
| rs_cl.rsh | 830 * Compute the distance between two points. 834 _RS_RUNTIME float __attribute__((overloadable)) distance(float lhs, float rhs); 835 _RS_RUNTIME float __attribute__((overloadable)) distance(float2 lhs, float2 rhs); 836 _RS_RUNTIME float __attribute__((overloadable)) distance(float3 lhs, float3 rhs); 837 _RS_RUNTIME float __attribute__((overloadable)) distance(float4 lhs, float4 rhs);
|
| /ndk/sources/cxx-stl/stlport/stlport/stl/ |
| _algobase.c | 423 _STLP_STD::advance(__result, -_STLP_STD::distance(__first2, __last2)); 455 _Distance __len = _STLP_STD::distance(__first, __last);
|
| /packages/apps/Gallery2/src/com/android/gallery3d/data/ |
| TimeClustering.java | 325 double distance = GalleryUtils.fastDistanceMeters( local 330 return (GalleryUtils.toMile(distance) > GEOGRAPHIC_DISTANCE_CUTOFF_IN_MILES);
|
| /packages/apps/Gallery2/src/com/android/gallery3d/util/ |
| ReverseGeocoder.java | 227 int distance = (int) GalleryUtils.toMile(distanceFloat[0]); local 228 if (distance < MAX_LOCALITY_MILE_RANGE) {
|
| /packages/inputmethods/LatinIME/native/jni/src/ |
| proximity_info.cpp | 168 const int distance = squaredDistanceToEdge(keyIndex, x, y); local 169 if (onKey || distance < MOST_COMMON_KEY_WIDTH_SQUARE) {
|
| /prebuilts/ndk/android-ndk-r5/sources/cxx-stl/stlport/stlport/stl/ |
| _algobase.c | 423 _STLP_STD::advance(__result, -_STLP_STD::distance(__first2, __last2)); 455 _Distance __len = _STLP_STD::distance(__first, __last);
|
| /prebuilts/ndk/android-ndk-r6/sources/cxx-stl/stlport/stlport/stl/ |
| _algobase.c | 423 _STLP_STD::advance(__result, -_STLP_STD::distance(__first2, __last2)); 455 _Distance __len = _STLP_STD::distance(__first, __last);
|
| /prebuilts/ndk/android-ndk-r7/sources/cxx-stl/stlport/stlport/stl/ |
| _algobase.c | 423 _STLP_STD::advance(__result, -_STLP_STD::distance(__first2, __last2)); 455 _Distance __len = _STLP_STD::distance(__first, __last);
|
| /prebuilts/sdk/renderscript/include/ |
| rs_cl.rsh | 830 * Compute the distance between two points. 834 _RS_RUNTIME float __attribute__((overloadable)) distance(float lhs, float rhs); 835 _RS_RUNTIME float __attribute__((overloadable)) distance(float2 lhs, float2 rhs); 836 _RS_RUNTIME float __attribute__((overloadable)) distance(float3 lhs, float3 rhs); 837 _RS_RUNTIME float __attribute__((overloadable)) distance(float4 lhs, float4 rhs);
|
| /external/astl/include/ |
| vector | 367 difference_type len = std::distance(first, last); 451 const difference_type num = std::distance(first, last);
|