Home | History | Annotate | Download | only in car

Lines Matching refs:Looper

37 import android.os.Looper;
210 private final Looper mLooper;
274 * @param looper Looper to dispatch all listeners. If null, it will use main thread. Note that
275 * service connection listener will be always in main thread regardless of this Looper.
279 @Nullable Looper looper) {
285 return new Car(context, serviceConnectionListener, looper);
294 * Looper}.
296 * @see #createCar(Context, ServiceConnection, Looper)
303 @Nullable Looper looper) {
306 if (looper == null) {
307 mLooper = Looper.getMainLooper();
309 mLooper = looper;
312 if (mLooper == Looper.getMainLooper()) {
315 mMainThreadEvetHandler = new Handler(Looper.getMainLooper());
323 * @param looper
327 public Car(Context context, ICar service, @Nullable Looper looper) {
329 if (looper == null) {
330 mLooper = Looper.getMainLooper();
332 mLooper = looper;
335 if (mLooper == Looper.getMainLooper()) {
338 mMainThreadEvetHandler = new Handler(Looper.getMainLooper());