Searched refs:getApplication (Results 1 – 20 of 20) sorted by relevance
117 return ((GalleryApp) getApplication()).getDataManager(); in getDataManager()122 return ((GalleryApp) getApplication()).getThreadPool(); in getThreadPool()
263 mApplication = (GalleryApp) ((Activity) mActivity).getApplication(); in onCreate()
90 Application application = ((Activity) context).getApplication(); in getCameraApp()
67 Application getApplication(); in getApplication() method
69 getActivity().getApplication()); in onCreate()
83 mState = ApplicationsState.getInstance(getActivity().getApplication()); in onCreate()
241 mApplicationsState = ApplicationsState.getInstance(getActivity().getApplication()); in onCreate()
96 mApplicationsState = ApplicationsState.getInstance(getActivity().getApplication()); in onCreate()
88 mApplicationsState = ApplicationsState.getInstance(getActivity().getApplication()); in onActivityCreated()
86 mApplicationsState = ApplicationsState.getInstance(activity.getApplication()); in onCreate()
410 AnalyticsUtil.sendEvent(getActivity().getApplication(), analyticsCategory, in maybeTrackAnalytics()
158 getApplication(), in onServiceConnected()
150 getApplication(), in onCreate()
120 getApplication(), in onCreate()
116 getApplication(), in onCreate()
203 getApplication(), // need to use application context to avoid leaks in onServiceConnected()
178 LauncherApplication app = (LauncherApplication) mLauncher.getApplication(); in recreateDb()
367 LauncherApplication app = ((LauncherApplication)getApplication()); in onCreate()1617 LauncherApplication app = ((LauncherApplication) getApplication()); in onDestroy()
1109 AlertUtils.flushOldAlertsFromInternalStorage(getApplication()); in onCreate()
467 TvApplication tvApplication = (TvApplication) getApplication(); in onCreate()2268 TvApplication application = ((TvApplication) getApplication());