Home
last modified time | relevance | path

Searched refs:detector (Results 1 – 25 of 25) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGestureRecognizer.java104 public boolean onScaleBegin(ScaleGestureDetector detector) { in onScaleBegin() argument
106 detector.getFocusX(), detector.getFocusY()); in onScaleBegin()
110 public boolean onScale(ScaleGestureDetector detector) { in onScale() argument
111 return mListener.onScale(detector.getFocusX(), in onScale()
112 detector.getFocusY(), detector.getScaleFactor()); in onScale()
116 public void onScaleEnd(ScaleGestureDetector detector) { in onScaleEnd() argument
/packages/apps/Camera2/src/com/android/camera/ui/
DFilmstripGestureRecognizer.java138 public boolean onScaleBegin(ScaleGestureDetector detector) { in onScaleBegin() argument
140 detector.getFocusX(), detector.getFocusY()); in onScaleBegin()
144 public boolean onScale(ScaleGestureDetector detector) { in onScale() argument
145 return mListener.onScale(detector.getFocusX(), in onScale()
146 detector.getFocusY(), detector.getScaleFactor()); in onScale()
150 public void onScaleEnd(ScaleGestureDetector detector) { in onScaleEnd() argument
DPreviewOverlay.java364 public boolean onScale(ScaleGestureDetector detector) { in onScale() argument
365 final float sf = detector.getScaleFactor(); in onScale()
392 public boolean onScaleBegin(ScaleGestureDetector detector) { in onScaleBegin() argument
406 public void onScaleEnd(ScaleGestureDetector detector) { in onScaleEnd() argument
/packages/apps/Contacts/src/com/android/contacts/vcard/
DNfcImportVCardActivity.java106 VCardSourceDetector detector = null; in createImportRequest() local
114 detector = new VCardSourceDetector(); in createImportRequest()
116 parser.addInterpreter(detector); in createImportRequest()
124 detector = new VCardSourceDetector(); in createImportRequest()
126 parser.addInterpreter(detector); in createImportRequest()
154 getString(R.string.nfc_vcard_file_name), detector.getEstimatedType(), in createImportRequest()
155 detector.getEstimatedCharset(), vcardVersion, counter.getCount()); in createImportRequest()
DImportVCardActivity.java320 VCardSourceDetector detector = null; in constructImportRequest() local
333 detector = new VCardSourceDetector(); in constructImportRequest()
335 mVCardParser.addInterpreter(detector); in constructImportRequest()
352 detector = new VCardSourceDetector(); in constructImportRequest()
354 mVCardParser.addInterpreter(detector); in constructImportRequest()
376 detector.getEstimatedType(), in constructImportRequest()
377 detector.getEstimatedCharset(), in constructImportRequest()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/detectors/
DSummaryDetectorTest.java51 SummaryDetector detector = new SummaryDetector(mPolicy, AVERAGE_TIME_MS); in testDetect_disabledByPolicy_tipInvisible() local
53 assertThat(detector.detect().isVisible()).isFalse(); in testDetect_disabledByPolicy_tipInvisible()
58 SummaryDetector detector = new SummaryDetector(mPolicy, AVERAGE_TIME_MS); in testDetect_notDisabled_tipVisible() local
60 assertThat(detector.detect().isVisible()).isTrue(); in testDetect_notDisabled_tipVisible()
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DVCardRequest.java121 final VCardSourceDetector detector = new VCardSourceDetector(); in parseVCard() local
128 detector, true, null); in parseVCard()
131 final int estimatedVCardType = detector.getEstimatedType(); in parseVCard()
147 return doActuallyReadOneVCard(targetUri, true, detector, null, signal); in parseVCard()
152 final VCardSourceDetector detector, final List<String> errorFileNameList, in doActuallyReadOneVCard() argument
155 int vcardType = detector.getEstimatedType(); in doActuallyReadOneVCard()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageTinyPlanet.java51 public void onScaleEnd(ScaleGestureDetector detector) {
56 public boolean onScaleBegin(ScaleGestureDetector detector) {
63 public boolean onScale(ScaleGestureDetector detector) {
65 mScale *= detector.getScaleFactor();
DImageShow.java924 public boolean onScale(ScaleGestureDetector detector) {
928 scaleFactor = scaleFactor * detector.getScaleFactor();
937 float focusx = detector.getFocusX();
938 float focusy = detector.getFocusY();
950 public boolean onScaleBegin(ScaleGestureDetector detector) {
955 mStartFocusX = detector.getFocusX();
956 mStartFocusY = detector.getFocusY();
962 public void onScaleEnd(ScaleGestureDetector detector) {
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DUtils.java38 final CountryDetector detector = (CountryDetector) context.getSystemService( in getCurrentCountryIso() local
40 if (detector != null) { in getCurrentCountryIso()
41 final Country country = detector.detectCountry(); in getCurrentCountryIso()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DScaleHelper.java72 public boolean onScale(ScaleGestureDetector detector) { in attach()
74 "Received scale event: " + detector.getScaleFactor()); in attach()
75 mScaleCallback.accept(detector.getScaleFactor()); in attach()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DCropView.java174 public boolean onScaleBegin(ScaleGestureDetector detector) { in onScaleBegin() argument
179 public boolean onScale(ScaleGestureDetector detector) { in onScale() argument
182 mRenderer.scale *= detector.getScaleFactor(); in onScale()
189 public void onScaleEnd(ScaleGestureDetector detector) { in onScaleEnd() argument
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DMessageScrollView.java177 public boolean onScale(ScaleGestureDetector detector) { in onScale() argument
182 public boolean onScaleBegin(ScaleGestureDetector detector) { in onScaleBegin() argument
189 public void onScaleEnd(ScaleGestureDetector detector) { in onScaleEnd() argument
/packages/apps/Calendar/src/com/android/calendar/
DDayView.java3355 public boolean onScaleBegin(ScaleGestureDetector detector) { in onScaleBegin() argument
3357 float gestureCenterInPixels = detector.getFocusY() - DAY_HEADER_HEIGHT - mAlldayHeight; in onScaleBegin()
3360 mStartingSpanY = Math.max(MIN_Y_SPAN, Math.abs(detector.getCurrentSpanY())); in onScaleBegin()
3367 + "\tmCellHeight:" + mCellHeight + " SpanY:" + detector.getCurrentSpanY()); in onScaleBegin()
3374 public boolean onScale(ScaleGestureDetector detector) { in onScale() argument
3375 float spanY = Math.max(MIN_Y_SPAN, Math.abs(detector.getCurrentSpanY())); in onScale()
3391 int gestureCenterInPixels = (int) detector.getFocusY() - DAY_HEADER_HEIGHT - mAlldayHeight; in onScale()
3399 + mCellHeight + " SpanY:" + detector.getCurrentSpanY()); in onScale()
3419 public void onScaleEnd(ScaleGestureDetector detector) { in onScaleEnd() argument
/packages/apps/Gallery/src/com/android/camera/
DCropImage.java521 FaceDetector detector = new FaceDetector(faceBitmap.getWidth(),
523 mNumFaces = detector.findFaces(faceBitmap, mFaces);
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_wordlist.combined.gz
Dit_wordlist.combined.gz
Dnl_wordlist.combined.gz
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dpt_PT_wordlist.combined.gz
Des_wordlist.combined.gz1dictionary=main:es,locale=es,description=Español,date=1414726268, ...
Dro_wordlist.combined.gz