Home
last modified time | relevance | path

Searched refs:getAndroidContext (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DWidgetService.java106 mSource = new LocalPhotoSource(mApp.getAndroidContext()); in onCreate()
109 AppWidgetManager.getInstance(mApp.getAndroidContext()) in onCreate()
138 mApp.getAndroidContext().getPackageName(), in getLoadingView()
148 mApp.getAndroidContext().getPackageName(), in getViewAt()
164 AppWidgetManager.getInstance(mApp.getAndroidContext()) in onContentDirty()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DDialogDetailsView.java86 mContext.getAndroidContext().getString(R.string.details_title), in setDetails()
88 ListView detailsList = (ListView) LayoutInflater.from(mContext.getAndroidContext()).inflate( in setDetails()
115 Context context = mContext.getAndroidContext(); in DetailsAdapter()
216 tv = (TextView) LayoutInflater.from(mContext.getAndroidContext()).inflate( in getView()
DDetailsAddressResolver.java47 ReverseGeocoder geocoder = new ReverseGeocoder(mContext.getAndroidContext()); in run()
82 Context context = mContext.getAndroidContext(); in updateLocation()
DImportCompleteListener.java43 Toast.makeText(mActivity.getAndroidContext(), message, Toast.LENGTH_LONG).show(); in onProgressComplete()
DCacheStorageUsageInfo.java48 mContext = activity.getAndroidContext(); in CacheStorageUsageInfo()
DAlbumSetSlotRenderer.java67 Context context = activity.getAndroidContext(); in AlbumSetSlotRenderer()
DAlbumSetSlidingWindow.java99 mLabelMaker = new AlbumLabelMaker(activity.getAndroidContext(), labelSpec); in AlbumSetSlidingWindow()
100 mLoadingText = activity.getAndroidContext().getString(R.string.loading); in AlbumSetSlidingWindow()
DActionModeHandler.java79 mNfcAdapter = NfcAdapter.getDefaultAdapter(mActivity.getAndroidContext()); in ActionModeHandler()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DGalleryAppImpl.java52 public Context getAndroidContext() { in getAndroidContext() method in GalleryAppImpl
68 mImageCacheService = new ImageCacheService(getAndroidContext()); in getImageCacheService()
DGalleryContext.java29 public Context getAndroidContext(); in getAndroidContext() method
DGalleryApp.java35 public Context getAndroidContext(); in getAndroidContext() method
DAbstractGalleryActivity.java87 public Context getAndroidContext() { in getAndroidContext() method in AbstractGalleryActivity
DPhotoPage.java188 mNfcAdapter = NfcAdapter.getDefaultAdapter(mActivity.getAndroidContext()); in onCreate()
356 boolean showTitle = mActivity.getAndroidContext().getResources().getBoolean( in updateTitle()
788 Context context = mActivity.getAndroidContext(); in onStateResult()
DAlbumSetPage.java271 Context context = mActivity.getAndroidContext(); in onCreate()
452 HelpUtils.prepareHelpMenuItem(mActivity.getAndroidContext(), in onCreateActionBar()
DStateManager.java152 Activity activity = (Activity) mContext.getAndroidContext(); in finishState()
DGalleryActionBar.java137 mContext = activity.getAndroidContext(); in GalleryActionBar()
DAlbumPage.java325 Context context = mActivity.getAndroidContext(); in doCluster()
344 Context context = mActivity.getAndroidContext(); in onCreate()
DManageCachePage.java193 mEyePosition = new EyePosition(mActivity.getAndroidContext(), this); in onCreate()
/packages/apps/Gallery2/tests/src/com/android/gallery3d/data/
DGalleryAppMock.java45 public Context getAndroidContext() { return mContext; } in getAndroidContext() method in GalleryAppMock
DGalleryAppStub.java38 public Context getAndroidContext() { return null; } in getAndroidContext() method in GalleryAppStub
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMtpSource.java39 mMtpContext = new MtpContext(mApplication.getAndroidContext()); in MtpSource()
DClusterAlbumSet.java80 Context context = mApplication.getAndroidContext(); in updateClusters()
DMtpImage.java54 mContext = application.getAndroidContext(); in MtpImage()
DLocalVideo.java220 mApplication.getAndroidContext(), durationInSec)); in getDetails()
DDataManager.java317 mApplication.getAndroidContext()); in broadcastLocalDeletion()

12