Home
last modified time | relevance | path

Searched refs:getApplication (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAbstractGalleryActivity.java117 return ((GalleryApp) getApplication()).getDataManager(); in getDataManager()
122 return ((GalleryApp) getApplication()).getThreadPool(); in getThreadPool()
DPhotoPage.java263 mApplication = (GalleryApp) ((Activity) mActivity).getApplication(); in onCreate()
/packages/apps/Camera2/src/com/android/camera/settings/
DManagedSwitchPreference.java90 Application application = ((Activity) context).getApplication(); in getCameraApp()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DRestrictedActivity.java67 Application getApplication(); in getApplication() method
/packages/apps/Settings/src/com/android/settings/applications/
DAdvancedAppSettings.java69 getActivity().getApplication()); in onCreate()
DAppInfoBase.java83 mState = ApplicationsState.getInstance(getActivity().getApplication()); in onCreate()
DManageApplications.java241 mApplicationsState = ApplicationsState.getInstance(getActivity().getApplication()); in onCreate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DBackupAppsStepFragment.java96 mApplicationsState = ApplicationsState.getInstance(getActivity().getApplication()); in onCreate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DAppsFragment.java88 mApplicationsState = ApplicationsState.getInstance(getActivity().getApplication()); in onActivityCreated()
DAppManagementFragment.java86 mApplicationsState = ApplicationsState.getInstance(activity.getApplication()); in onCreate()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DPhoneNumberPickerFragment.java410 AnalyticsUtil.sendEvent(getActivity().getApplication(), analyticsCategory, in maybeTrackAnalytics()
/packages/apps/Music/src/com/android/music/
DQueryBrowserActivity.java158 getApplication(), in onServiceConnected()
DPlaylistBrowserActivity.java150 getApplication(), in onCreate()
DAlbumBrowserActivity.java120 getApplication(), in onCreate()
DArtistAlbumBrowserActivity.java116 getApplication(), in onCreate()
DTrackBrowserActivity.java203 getApplication(), // need to use application context to avoid leaks in onServiceConnected()
/packages/apps/Launcher2/src/com/android/launcher2/
DWidgetPreviewLoader.java178 LauncherApplication app = (LauncherApplication) mLauncher.getApplication(); in recreateDb()
DLauncher.java367 LauncherApplication app = ((LauncherApplication)getApplication()); in onCreate()
1617 LauncherApplication app = ((LauncherApplication) getApplication()); in onDestroy()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlertService.java1109 AlertUtils.flushOldAlertsFromInternalStorage(getApplication()); in onCreate()
/packages/apps/TV/src/com/android/tv/
DMainActivity.java467 TvApplication tvApplication = (TvApplication) getApplication(); in onCreate()
2268 TvApplication application = ((TvApplication) getApplication());