Home
last modified time | relevance | path

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

123

/packages/modules/AdServices/adservices/linter/java/android/adservices/lint/common/
DDeviceConfigUsageDetector.kt19 import com.android.tools.lint.detector.api.Category
20 import com.android.tools.lint.detector.api.Detector
21 import com.android.tools.lint.detector.api.Implementation
22 import com.android.tools.lint.detector.api.Issue
23 import com.android.tools.lint.detector.api.JavaContext
24 import com.android.tools.lint.detector.api.Scope
25 import com.android.tools.lint.detector.api.Severity
26 import com.android.tools.lint.detector.api.SourceCodeScanner
DPreconditionsCheckStateDetector.kt19 import com.android.tools.lint.detector.api.Category
20 import com.android.tools.lint.detector.api.Detector
21 import com.android.tools.lint.detector.api.Implementation
22 import com.android.tools.lint.detector.api.Issue
23 import com.android.tools.lint.detector.api.JavaContext
24 import com.android.tools.lint.detector.api.Scope
25 import com.android.tools.lint.detector.api.Severity
26 import com.android.tools.lint.detector.api.SourceCodeScanner
/packages/modules/Permission/SafetyCenter/ConfigLintChecker/java/android/safetycenter/lint/
DParserExceptionDetector.kt26 import com.android.tools.lint.detector.api.Category
27 import com.android.tools.lint.detector.api.Context
28 import com.android.tools.lint.detector.api.Detector
29 import com.android.tools.lint.detector.api.Implementation
30 import com.android.tools.lint.detector.api.Issue
31 import com.android.tools.lint.detector.api.Location
32 import com.android.tools.lint.detector.api.OtherFileScanner
33 import com.android.tools.lint.detector.api.Scope
34 import com.android.tools.lint.detector.api.Severity
35 import com.android.tools.lint.detector.api.XmlContext
[all …]
DConfigSchemaDetector.kt21 import com.android.tools.lint.detector.api.Category
22 import com.android.tools.lint.detector.api.Context
23 import com.android.tools.lint.detector.api.Detector
24 import com.android.tools.lint.detector.api.Implementation
25 import com.android.tools.lint.detector.api.Issue
26 import com.android.tools.lint.detector.api.Location
27 import com.android.tools.lint.detector.api.OtherFileScanner
28 import com.android.tools.lint.detector.api.Scope
29 import com.android.tools.lint.detector.api.Severity
/packages/modules/Bluetooth/tools/lint/checks/src/com/android/bluetooth/lint/
DLogEnforcementVariableCreationDetector.kt20 import com.android.tools.lint.detector.api.Category
21 import com.android.tools.lint.detector.api.Detector
22 import com.android.tools.lint.detector.api.Implementation
23 import com.android.tools.lint.detector.api.Issue
24 import com.android.tools.lint.detector.api.JavaContext
25 import com.android.tools.lint.detector.api.LintFix
26 import com.android.tools.lint.detector.api.Scope
27 import com.android.tools.lint.detector.api.Severity
28 import com.android.tools.lint.detector.api.SourceCodeScanner
DGuardedLogLineDetector.kt20 import com.android.tools.lint.detector.api.Category
21 import com.android.tools.lint.detector.api.Detector
22 import com.android.tools.lint.detector.api.Implementation
23 import com.android.tools.lint.detector.api.Issue
24 import com.android.tools.lint.detector.api.JavaContext
25 import com.android.tools.lint.detector.api.Scope
26 import com.android.tools.lint.detector.api.Severity
27 import com.android.tools.lint.detector.api.SourceCodeScanner
/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/modules/AdServices/adservices/linter/java/android/adservices/lint/prod/
DBackCompatJobServiceDetector.kt19 import com.android.tools.lint.detector.api.Category
20 import com.android.tools.lint.detector.api.Detector
21 import com.android.tools.lint.detector.api.Implementation
22 import com.android.tools.lint.detector.api.Issue
23 import com.android.tools.lint.detector.api.SourceCodeScanner
24 import com.android.tools.lint.detector.api.Scope
25 import com.android.tools.lint.detector.api.Severity
26 import com.android.tools.lint.detector.api.JavaContext
DRoomDatabaseMigrationDetector.kt19 import com.android.tools.lint.detector.api.Category in <lambda>()
20 import com.android.tools.lint.detector.api.ConstantEvaluator in <lambda>()
21 import com.android.tools.lint.detector.api.Context in <lambda>()
22 import com.android.tools.lint.detector.api.Detector in <lambda>()
23 import com.android.tools.lint.detector.api.Implementation in <lambda>()
24 import com.android.tools.lint.detector.api.Issue in <lambda>()
25 import com.android.tools.lint.detector.api.JavaContext in <lambda>()
26 import com.android.tools.lint.detector.api.Scope in <lambda>()
27 import com.android.tools.lint.detector.api.Severity in <lambda>()
28 import com.android.tools.lint.detector.api.SourceCodeScanner in <lambda>()
[all …]
/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/Launcher3/tests/src/com/android/launcher3/util/viewcapture_analysis/
DViewCaptureAnalyzer.java168 detector -> in analyzeFrame()
170 detector, in analyzeFrame()
231 detector -> detector.initializeNode(newAnalysisNode)); in analyzeView()
250 detector -> in analyzeView()
251 detectAnomaly(detector, frameN, oldAnalysisNode, newAnalysisNode, in analyzeView()
274 private static void detectAnomaly(AnomalyDetector detector, int frameN, in detectAnomaly() argument
278 detector.detectAnomalies(oldAnalysisNode, newAnalysisNode, frameN, frameTimeNs, in detectAnomaly()
/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/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();
/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/modules/AdServices/adservices/linter/tests/java/android/adservices/lint/test/
DBackCompatAndroidProcessDetectorTest.kt22 import com.android.tools.lint.detector.api.Detector
23 import com.android.tools.lint.detector.api.Issue
DPreconditionsCheckStateDetectorTest.kt23 import com.android.tools.lint.detector.api.Detector
24 import com.android.tools.lint.detector.api.Issue
DBackCompatNewFileDetectorTest.kt23 import com.android.tools.lint.detector.api.Detector
24 import com.android.tools.lint.detector.api.Issue
DBackCompatJobServiceDetectorTest.kt23 import com.android.tools.lint.detector.api.Detector
24 import com.android.tools.lint.detector.api.Issue
/packages/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/
DMotionEventToZoomRatioConverter.java41 public boolean onScale(ScaleGestureDetector detector) {
43 getAndUpdateScaledZoomRatio(detector.getScaleFactor()));
/packages/modules/Permission/SafetyCenter/ConfigLintChecker/tests/java/android/safetycenter/lint/test/
DConfigSchemaDetectorTest.kt24 import com.android.tools.lint.detector.api.Detector
25 import com.android.tools.lint.detector.api.Issue
DParserExceptionDetectorTest.kt26 import com.android.tools.lint.detector.api.Detector
27 import com.android.tools.lint.detector.api.Issue

123