Home
last modified time | relevance | path

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

/development/samples/CrossCompatibility/src/com/example/android/touchexample/
DVersionedGestureDetector.java32 VersionedGestureDetector detector = null; in newInstance() local
34 detector = new CupcakeDetector(); in newInstance()
36 detector = new EclairDetector(); in newInstance()
38 detector = new FroyoDetector(context); in newInstance()
41 Log.d(TAG, "Created new " + detector.getClass()); in newInstance()
42 detector.mListener = listener; in newInstance()
44 return detector; in newInstance()
147 @Override public boolean onScale(ScaleGestureDetector detector) { in FroyoDetector()
148 mListener.onScale(detector.getScaleFactor()); in FroyoDetector()
/development/tools/checkcolor/src/main/java/com/google/checkcolor/lint/
DHardcodedColorDetector.java25 import com.android.tools.lint.detector.api.Category;
26 import com.android.tools.lint.detector.api.Context;
27 import com.android.tools.lint.detector.api.Implementation;
28 import com.android.tools.lint.detector.api.Issue;
29 import com.android.tools.lint.detector.api.LintUtils;
30 import com.android.tools.lint.detector.api.Location;
31 import com.android.tools.lint.detector.api.ResourceXmlDetector;
32 import com.android.tools.lint.detector.api.Scope;
33 import com.android.tools.lint.detector.api.Severity;
34 import com.android.tools.lint.detector.api.XmlContext;
DHardcodedColorIssueRegistry.java20 import com.android.tools.lint.detector.api.Issue;
/development/tools/checkcolor/src/test/java/com/google/checkcolor/lint/
DHardcodedColorDetectorTest.java22 import com.android.tools.lint.detector.api.Detector;
23 import com.android.tools.lint.detector.api.Issue;
24 import com.android.tools.lint.detector.api.Project;
/development/samples/browseable/BatchStepSensor/
D_index.jd8 … <p>This sample demonstrates the use of the two step sensors (step detector and counter) and
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DOverlayDisplayWindow.java456 public boolean onScale(ScaleGestureDetector detector) {
457 mLiveScale *= detector.getScaleFactor();