/external/webkit/WebCore/platform/text/ |
TextEncodingDetectorICU.cpp | 50 // Tiger came with ICU 3.2 and does not have the encoding detector. 58 UCharsetDetector* detector = ucsdet_open(&status); 61 ucsdet_enableInputFilter(detector, true); 62 ucsdet_setText(detector, data, static_cast<int32_t>(len), &status); 67 // the ICU detector itself. 72 // encoding with a highest confidence among the detector-specific 76 const UCharsetMatch** matches = ucsdet_detectAll(detector, &matchesCount, &status); 78 ucsdet_close(detector); 121 ucsdet_close(detector); 124 ucsdet_close(detector); [all...] |
/development/samples/CrossCompatibility/src/com/example/android/touchexample/ |
VersionedGestureDetector.java | 32 VersionedGestureDetector detector = null; local 34 detector = new CupcakeDetector(); 36 detector = new EclairDetector(); 38 detector = new FroyoDetector(context); 41 Log.d(TAG, "Created new " + detector.getClass()); 42 detector.mListener = listener; 44 return detector; 147 @Override public boolean onScale(ScaleGestureDetector detector) { 148 mListener.onScale(detector.getScaleFactor());
|
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/ |
TransformTestActivity.java | 77 public boolean onScale(ScaleGestureDetector detector) { 78 float scale = detector.getScaleFactor(); 97 float centerX = detector.getFocusX(); 98 float centerY = detector.getFocusY(); 115 public boolean onScaleBegin(ScaleGestureDetector detector) { 119 public void onScaleEnd(ScaleGestureDetector detector) { 120 mLastX = detector.getFocusX(); 121 mLastY = detector.getFocusY();
|
/external/chromium/net/ftp/ |
ftp_directory_listing_buffer.cc | 29 UCharsetDetector* detector = ucsdet_open(&status); local 30 ucsdet_setText(detector, text.data(), static_cast<int32_t>(text.length()), 32 const UCharsetMatch* match = ucsdet_detect(detector, &status); 34 ucsdet_close(detector);
|
/frameworks/base/core/java/android/view/ |
ScaleGestureDetector.java | 57 * @param detector The detector reporting the event - use this to 59 * @return Whether or not the detector should consider this event 60 * as handled. If an event was not handled, the detector 66 public boolean onScale(ScaleGestureDetector detector); 72 * @param detector The detector reporting the event - use this to 74 * @return Whether or not the detector should continue recognizing 80 public boolean onScaleBegin(ScaleGestureDetector detector); 90 * @param detector The detector reporting the event - use this t [all...] |
/packages/apps/Gallery3D/src/com/cooliris/media/ |
ScaleGestureDetector.java | 60 * @param detector 61 * The detector reporting the event - use this to retrieve 63 * @return Whether or not the detector should consider this event as 64 * handled. If an event was not handled, the detector will 69 public boolean onScale(ScaleGestureDetector detector); 75 * @param detector 76 * The detector reporting the event - use this to retrieve 78 * @return Whether or not the detector should continue recognizing this 84 public boolean onScaleBegin(ScaleGestureDetector detector); 95 * @param detector [all...] |
GridInputProcessor.java | [all...] |
CropImage.java | 637 FaceDetector detector = new FaceDetector(faceBitmap.getWidth(), faceBitmap.getHeight(), mFaces.length); 638 mNumFaces = detector.findFaces(faceBitmap, mFaces); [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
ImportVCardActivity.java | 222 final VCardSourceDetector detector = new VCardSourceDetector(); local 224 new VCardInterpreterCollection(Arrays.asList(counter, detector)); 234 final int estimatedVCardType = detector.getEstimatedType(); 235 final String estimatedCharset = detector.getEstimatedCharset(); 237 // Try again with the detector. 259 String charset = detector.getEstimatedCharset(); 260 createdUri = doActuallyReadOneVCard(targetUri, mAccount, true, detector, 274 VCardSourceDetector detector = new VCardSourceDetector(); local 277 detector, true, mErrorFileNameList)) { 283 String charset = detector.getEstimatedCharset() [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
CropImage.java | 521 FaceDetector detector = new FaceDetector(faceBitmap.getWidth(), 523 mNumFaces = detector.findFaces(faceBitmap, mFaces);
|
/frameworks/base/core/java/android/webkit/ |
WebView.java | [all...] |