Home
last modified time | relevance | path

Searched refs:getMainLooper (Results 1 – 25 of 38) sorted by relevance

12

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DGalleryContext.java31 public Looper getMainLooper(); in getMainLooper() method
DGalleryApp.java36 public Looper getMainLooper(); in getMainLooper() method
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DCountryMonitor.java53 }, Looper.getMainLooper()); in getCountryIso()
/packages/apps/Gallery2/tests/src/com/android/gallery3d/data/
DGalleryAppMock.java49 public Looper getMainLooper() { return mMainLooper; } in getMainLooper() method in GalleryAppMock
DGalleryAppStub.java40 public Looper getMainLooper() { return null; } in getMainLooper() method in GalleryAppStub
DLocalDataTest.java64 mApp = newGalleryContext(db, Looper.getMainLooper()); in run()
/packages/apps/Contacts/src/com/android/contacts/util/
DAsyncTaskExecutors.java82 Preconditions.checkState(Thread.currentThread() == Looper.getMainLooper().getThread(), in checkCalledFromUiThread()
/packages/apps/Browser/src/com/android/browser/
DWebViewTimersControl.java41 if (Looper.myLooper() != Looper.getMainLooper()) { in getInstance()
DPreloader.java53 mHandler = new Handler(Looper.getMainLooper()); in Preloader()
/packages/apps/Phone/src/com/android/phone/
DCallLogAsync.java229 if (!Looper.getMainLooper().equals(Looper.myLooper())) { in assertUiThread()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DDetailsAddressResolver.java58 mHandler = new Handler(Looper.getMainLooper()); in DetailsAddressResolver()
DActionModeHandler.java78 mMainHandler = new Handler(activity.getMainLooper()); in ActionModeHandler()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DQsbApplication.java110 if (Looper.myLooper() != Looper.getMainLooper()) { in checkThread()
138 mUiThreadHandler = new Handler(Looper.getMainLooper()); in getMainThreadHandler()
/packages/apps/Mms/src/com/android/mms/
DMmsApp.java82 mCountryDetector.addCountryListener(mCountryListener, getMainLooper()); in onCreate()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMtpDeviceSet.java58 mHandler = new Handler(mApplication.getMainLooper()); in MtpDeviceSet()
DLocalAlbumSet.java111 mHandler = new Handler(application.getMainLooper()); in LocalAlbumSet()
DDataManager.java109 mDefaultMainHandler = new Handler(application.getMainLooper()); in DataManager()
DLocationClustering.java63 mHandler = new Handler(Looper.getMainLooper()); in LocationClustering()
/packages/apps/Nfc/src/com/android/nfc/handover/
DBluetoothOppHandover.java63 mHandler = new Handler(context.getMainLooper(),this); in BluetoothOppHandover()
DBluetoothHeadsetHandover.java363 if (Looper.myLooper() != Looper.getMainLooper()) { in checkMainThread()
/packages/apps/Settings/src/com/android/settings/wifi/
DWpsDialog.java158 mChannel = mWifiManager.initialize(mContext, mContext.getMainLooper(), null); in onCreate()
/packages/apps/QuickSearchBox/benchmarks/src/com/android/quicksearchbox/benchmarks/
DSourceLatency.java223 private Handler mHandler = new Handler(Looper.getMainLooper());
/packages/apps/Contacts/src/com/android/contacts/
DSpecialCharSequenceMgr.java110 if (Looper.myLooper() != Looper.getMainLooper()) { in cleanup()
/packages/apps/Settings/src/com/android/settings/
DDeviceAdminAdd.java90 mHandler = new Handler(getMainLooper()); in onCreate()
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
DWifiP2pSettings.java154 mChannel = mWifiP2pManager.initialize(activity, getActivity().getMainLooper(), null); in onActivityCreated()

12