Searched refs:detector (Results 1 – 6 of 6) sorted by relevance
32 VersionedGestureDetector detector = null; in newInstance() local34 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()
25 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;
20 import com.android.tools.lint.detector.api.Issue;
22 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;
8 … <p>This sample demonstrates the use of the two step sensors (step detector and counter) and
456 public boolean onScale(ScaleGestureDetector detector) {457 mLiveScale *= detector.getScaleFactor();