Home | History | Annotate | Download | only in legacy

Lines Matching defs:Looper

34 import android.os.Looper;
104 * Create a separate looper/thread for the camera to run on; open the camera.
106 * <p>Since the camera automatically latches on to the current thread's looper,
107 * it's important that we have our own thread with our own looper to guarantee
112 private Looper mLooper;
140 // Set up a looper to be used by camera.
141 Looper.prepare();
143 // Save the looper so that we can terminate this thread
145 mLooper = Looper.myLooper();
148 Looper.loop(); // Blocks forever until #close is called.
152 * Quit the looper safely; then join until the thread shuts down.
297 public CallbackHandler(Looper l) {
364 * Put the camera open on a separate thread with its own looper; otherwise
366 * (e.g. in CTS which run its own default looper only after tests)