Searched refs:detector (Results 1 - 11 of 11) sorted by relevance

/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
H A DPreviewSurfaceView.java44 * @param detector The gesture detector
46 public void setGestureListener(GestureDetector detector) { argument
47 mSimpleGestureDetector = detector;
52 // Let the gesture detector inspect all events.
/packages/apps/Contacts/src/com/android/contacts/vcard/
H A DNfcImportVCardActivity.java90 VCardSourceDetector detector = null;
98 detector = new VCardSourceDetector();
100 parser.addInterpreter(detector);
108 detector = new VCardSourceDetector();
110 parser.addInterpreter(detector);
134 getString(R.string.nfc_vcard_file_name), detector.getEstimatedType(),
135 detector.getEstimatedCharset(), vcardVersion, counter.getCount());
H A DImportVCardActivity.java443 VCardSourceDetector detector = null;
456 detector = new VCardSourceDetector();
458 mVCardParser.addInterpreter(detector);
475 detector = new VCardSourceDetector();
477 mVCardParser.addInterpreter(detector);
499 detector.getEstimatedType(),
500 detector.getEstimatedCharset(),
/packages/apps/VideoEditor/src/com/android/videoeditor/
H A DKenBurnsActivity.java118 public boolean onScaleBegin(ScaleGestureDetector detector) { argument
123 public boolean onScale(ScaleGestureDetector detector) { argument
124 final float relativeScaleFactor = detector.getScaleFactor();
130 mImageView.zoomTo(newAbsoluteScale, detector.getFocusX(), detector.getFocusY());
135 public void onScaleEnd(ScaleGestureDetector detector) { argument
H A DVideoEditorActivity.java339 public boolean onScaleBegin(ScaleGestureDetector detector) {
345 public boolean onScale(ScaleGestureDetector detector) {
350 final float scaleFactor = detector.getScaleFactor();
377 public void onScaleEnd(ScaleGestureDetector detector) {
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DPhotoView.java532 public boolean onScale(ScaleGestureDetector detector) { argument
533 float scale = detector.getScaleFactor();
537 detector.getFocusX(), detector.getFocusY());
542 public boolean onScaleBegin(ScaleGestureDetector detector) { argument
545 detector.getFocusX(), detector.getFocusY());
550 public void onScaleEnd(ScaleGestureDetector detector) { argument
H A DCropView.java674 FaceDetector detector = new FaceDetector(
676 mFaceCount = detector.findFaces(bitmap, mFaces);
/packages/apps/Contacts/src/com/android/contacts/
H A DContactsUtils.java176 CountryDetector detector =
178 return detector.detectCountry().getCountryIso();
/packages/apps/Calendar/src/com/android/calendar/
H A DDayView.java3975 public boolean onScaleBegin(ScaleGestureDetector detector) { argument
3977 float gestureCenterInPixels = detector.getFocusY() - DAY_HEADER_HEIGHT - mAlldayHeight;
3980 mStartingSpanY = Math.max(MIN_Y_SPAN, Math.abs(detector.getCurrentSpanY()));
3987 + "\tmCellHeight:" + mCellHeight + " SpanY:" + detector.getCurrentSpanY());
3994 public boolean onScale(ScaleGestureDetector detector) { argument
3995 float spanY = Math.max(MIN_Y_SPAN, Math.abs(detector.getCurrentSpanY()));
4011 int gestureCenterInPixels = (int) detector.getFocusY() - DAY_HEADER_HEIGHT - mAlldayHeight;
4019 + mCellHeight + " SpanY:" + detector.getCurrentSpanY());
4039 public void onScaleEnd(ScaleGestureDetector detector) { argument
/packages/apps/Gallery/src/com/android/camera/
H A DCropImage.java521 FaceDetector detector = new FaceDetector(faceBitmap.getWidth(),
523 mNumFaces = detector.findFaces(faceBitmap, mFaces);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactsDatabaseHelper.java4438 CountryDetector detector =
4440 return detector.detectCountry().getCountryIso();

Completed in 315 milliseconds