Home
last modified time | relevance | path

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

12

/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/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/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DUtils.java50 final CountryDetector detector = (CountryDetector) context.getSystemService( in getCurrentCountryIso() local
52 if (detector != null) { in getCurrentCountryIso()
53 final Country country = detector.detectCountry(); in getCurrentCountryIso()
/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/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DTelecomUtils.java142 CountryDetector detector = (CountryDetector) context.getSystemService( in getCurrentCountryIso() local
144 if (detector != null) { in getCurrentCountryIso()
145 Country country = detector.detectCountry(); in getCurrentCountryIso()
/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/modules/DnsResolver/tests/testdata/
DREADME.md4 detector to ensure that the resolver doesn't send the query or parse the
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java962 final DnsStallDetector detector = getDnsStallDetector(); in processMessage() local
963 if (detector != null) { in processMessage()
964 detector.accumulateConsecutiveDnsTimeoutCount(message.arg1); in processMessage()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dit_wordlist.combined.gz1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ...
Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...
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.gz1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...

12