Home
last modified time | relevance | path

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

12

/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DWidgetService.java74 mSource = new LocalPhotoSource(mApp.getAndroidContext()); in onCreate()
77 AppWidgetManager.getInstance(mApp.getAndroidContext()) in onCreate()
111 mApp.getAndroidContext().getPackageName(), in getLoadingView()
122 mApp.getAndroidContext().getPackageName(), in getViewAt()
138 AppWidgetManager.getInstance(mApp.getAndroidContext()) in onContentDirty()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DDialogDetailsView.java91 mActivity.getAndroidContext().getString(R.string.details_title), in setDetails()
93 … ListView detailsList = (ListView) LayoutInflater.from(mActivity.getAndroidContext()).inflate( in setDetails()
128 Context context = mActivity.getAndroidContext(); in DetailsAdapter()
278 tv = (TextView) LayoutInflater.from(mActivity.getAndroidContext()).inflate( in getView()
297 Context context = mActivity.getAndroidContext(); in onResolutionAvailable()
DDetailsAddressResolver.java48 ReverseGeocoder geocoder = new ReverseGeocoder(mContext.getAndroidContext()); in run()
85 Context context = mContext.getAndroidContext(); in updateLocation()
DCacheStorageUsageInfo.java49 mContext = activity.getAndroidContext(); in CacheStorageUsageInfo()
DAlbumSetSlidingWindow.java102 mLabelMaker = new AlbumLabelMaker(activity.getAndroidContext(), labelSpec); in AlbumSetSlidingWindow()
103 mLoadingText = activity.getAndroidContext().getString(R.string.loading); in AlbumSetSlidingWindow()
/packages/apps/Camera2/src/com/android/camera/app/
DCameraAppUI.java779 mSlop = ViewConfiguration.get(controller.getAndroidContext()).getScaledTouchSlop(); in CameraAppUI()
791 mGestureDetector = new GestureDetector(controller.getAndroidContext(), in CameraAppUI()
793 Resources res = controller.getAndroidContext().getResources(); in CameraAppUI()
875 refocusCling.setText(mController.getAndroidContext().getResources() in setupClingForViewer()
879 int clingWidth = mController.getAndroidContext() in setupClingForViewer()
977 mController.getAndroidContext()); in onSwipeDetected()
1048 … int iconId = CameraUtil.getCameraModeCoverIconResId(modeId, mController.getAndroidContext()); in showModeCoverUntilPreviewReady()
1322 int unpressedColor = mController.getAndroidContext().getResources() in prepareModuleUI()
1879 mController.getAndroidContext());
2255 return mController.getAndroidContext().getResources().getString(stringId);
DAppController.java75 public Context getAndroidContext(); in getAndroidContext() method
/packages/apps/Camera2/src/com/android/camera/
DButtonManager.java109 Context context = app.getAndroidContext(); in ButtonManager()
397 .getAndroidContext().getResources().getString(contentDescriptionId)); in initializePushButton()
934 .getAndroidContext().getResources().obtainTypedArray(resIdImages); in initializePanoOrientationButtons()
936 .getAndroidContext().getResources().obtainTypedArray(resIdDescriptions); in initializePanoOrientationButtons()
954 .from(mAppController.getAndroidContext()) in initializePanoOrientationButtons()
964 mAppController.getAndroidContext().getString(descriptionId)); in initializePanoOrientationButtons()
DTextureViewHelper.java84 mCameraModeId = appController.getAndroidContext().getResources() in TextureViewHelper()
86 mCaptureIntentModeId = appController.getAndroidContext().getResources() in TextureViewHelper()
DPhotoModule.java369 mGcamModeIndex = app.getAndroidContext().getResources() in PhotoModule()
375 return mAppController.getAndroidContext() in getPeekAccessibilityString()
408 mCountdownSoundPlayer = new SoundPlayer(mAppController.getAndroidContext()); in init()
1976 CameraPictureSizesCacher.updateSizesForCamera(mAppController.getAndroidContext(), in updateParametersPictureSize()
DVideoModule.java317 return mAppController.getAndroidContext() in getPeekAccessibilityString()
367 mAppController.getCurrentModuleIndex(), mAppController.getAndroidContext()); in init()
761 .getAndroidContext()); in readVideoPreferences()
DCaptureModule.java357 mContext = mAppController.getAndroidContext(); in CaptureModule()
1021 return mAppController.getAndroidContext()
/packages/apps/Camera2/src/com/android/camera/widget/
DIndicatorIconController.java67 Context context = controller.getAndroidContext(); in IndicatorIconController()
176 if (modeIndex == mController.getAndroidContext().getResources() in syncFlashIndicator()
181 } else if (modeIndex == mController.getAndroidContext().getResources() in syncFlashIndicator()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DGalleryAppImpl.java57 public Context getAndroidContext() { in getAndroidContext() method in GalleryAppImpl
76 mImageCacheService = new ImageCacheService(getAndroidContext()); in getImageCacheService()
DGalleryContext.java29 public Context getAndroidContext(); in getAndroidContext() method
DGalleryApp.java36 public Context getAndroidContext(); in getAndroidContext() method
DPanoramaMetadataSupport.java53 new PanoramaMetadataJob(app.getAndroidContext(), in getPanoramaSupport()
DAlbumPage.java353 Context context = mActivity.getAndroidContext(); in doCluster()
373 Context context = mActivity.getAndroidContext(); in onCreate()
DAbstractGalleryActivity.java111 public Context getAndroidContext() { in getAndroidContext() method in AbstractGalleryActivity
DStateManager.java180 Activity activity = (Activity) mActivity.getAndroidContext(); in finishState()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DClusterAlbumSet.java82 Context context = mApplication.getAndroidContext(); in updateClusters()
DSecureAlbum.java58 mContext = application.getAndroidContext(); in SecureAlbum()
DLocalVideo.java223 mApplication.getAndroidContext(), durationInSec)); in getDetails()
DDownloadCache.java85 mDatabase = new DatabaseHelper(application.getAndroidContext()) in DownloadCache()
/packages/apps/Camera2/src/com/android/camera/captureintent/
DCaptureIntentModule.java92 appController.getAndroidContext(), in CaptureIntentModule()

12