Searched refs:mApplication (Results 1 - 22 of 22) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DSecureSource.java22 private GalleryApp mApplication; field in class:SecureSource
34 mApplication = context;
45 DataManager dataManager = mApplication.getDataManager();
48 return new SecureAlbum(path, mApplication, unlock);
51 return new UnlockImage(path, mApplication);
H A DComboSource.java24 private GalleryApp mApplication; field in class:ComboSource
29 mApplication = application;
43 DataManager dataManager = mApplication.getDataManager();
46 return new ComboAlbumSet(path, mApplication,
H A DClusterSource.java34 GalleryApp mApplication; field in class:ClusterSource
39 mApplication = application;
63 DataManager dataManager = mApplication.getDataManager();
71 return new ClusterAlbumSet(path, mApplication, sets[0], matchType);
H A DFilterSource.java35 private GalleryApp mApplication; field in class:FilterSource
42 mApplication = application;
52 mApplication);
54 Path.fromString(FILTER_CAMERA_SHORTCUT_ITEM), mApplication);
63 DataManager dataManager = mApplication.getDataManager();
H A DUriSource.java36 private GalleryApp mApplication; field in class:UriSource
40 mApplication = context;
52 return new UriImage(mApplication, path, Uri.parse(uri), type);
68 String type = mApplication.getContentResolver().getType(uri);
H A DSnailSource.java26 private GalleryApp mApplication; field in class:SnailSource
32 mApplication = application;
41 DataManager dataManager = mApplication.getDataManager();
H A DActionImage.java33 private GalleryApp mApplication; field in class:ActionImage
38 mApplication = Utils.checkNotNull(application);
62 Bitmap bitmap = BitmapFactory.decodeResource(mApplication.getResources(),
H A DDataManager.java101 private GalleryApp mApplication; field in class:DataManager
112 mApplication = application;
120 addSource(new LocalSource(mApplication));
121 addSource(new PicasaSource(mApplication));
122 addSource(new ComboSource(mApplication));
123 addSource(new ClusterSource(mApplication));
124 addSource(new FilterSource(mApplication));
125 addSource(new SecureSource(mApplication));
126 addSource(new UriSource(mApplication));
127 addSource(new SnailSource(mApplication));
[all...]
H A DLocalAlbumSet.java50 private final GalleryApp mApplication; field in class:LocalAlbumSet
63 mApplication = application;
109 jc, mApplication.getContentResolver(), mType);
126 DataManager dataManager = mApplication.getDataManager();
144 return new LocalAlbum(path, mApplication, id, true, name);
146 return new LocalAlbum(path, mApplication, id, false, name);
170 mLoadTask = mApplication.getThreadPool().submit(new AlbumsLoader(), this);
H A DLocalVideo.java71 private final GalleryApp mApplication; field in class:LocalVideo
77 mApplication = application;
83 mApplication = context;
84 ContentResolver resolver = mApplication.getContentResolver();
155 return new LocalVideoRequest(mApplication, getPath(), dateModifiedInSec,
192 mApplication.getContentResolver().delete(baseUri, "_id=?",
223 mApplication.getAndroidContext(), durationInSec));
H A DLocalSource.java37 private GalleryApp mApplication; field in class:LocalSource
58 mApplication = context;
84 GalleryApp app = mApplication;
89 return new LocalAlbumSet(path, mApplication);
106 return new LocalImage(path, mApplication, mMatcher.getIntVar(0));
108 return new LocalVideo(path, mApplication, mMatcher.getIntVar(0));
183 MediaObject object = mApplication.getDataManager().getMediaObject(item);
236 mApplication, isImage, ids);
266 mClient = mApplication.getContentResolver()
H A DImageCacheRequest.java31 protected GalleryApp mApplication; field in class:ImageCacheRequest
39 mApplication = application;
54 ImageCacheService cacheService = mApplication.getImageCacheService();
H A DClusterAlbumSet.java30 private GalleryApp mApplication; field in class:ClusterAlbumSet
39 mApplication = application;
82 Context context = mApplication.getAndroidContext();
103 DataManager dataManager = mApplication.getDataManager();
H A DUriImage.java60 private GalleryApp mApplication; field in class:UriImage
65 mApplication = Utils.checkNotNull(application);
100 InputStream is = mApplication.getContentResolver()
105 mFileDescriptor = mApplication.getContentResolver()
116 mCacheEntry = mApplication.getDownloadCache().download(jc, url);
224 mPanoramaMetadata.getPanoramaSupport(mApplication, callback);
H A DLocalImage.java101 private final GalleryApp mApplication; field in class:LocalImage
109 mApplication = application;
115 mApplication = application;
116 ContentResolver resolver = mApplication.getContentResolver();
175 return new LocalImageRequest(mApplication, mPath, dateModifiedInSec,
257 mPanoramaMetadata.getPanoramaSupport(mApplication, callback);
269 ContentResolver contentResolver = mApplication.getContentResolver();
304 mApplication.getContentResolver().update(baseUri, values, "_id=?",
H A DLocalAlbum.java52 private final GalleryApp mApplication; field in class:LocalAlbum
64 mApplication = application;
116 DataManager dataManager = mApplication.getDataManager();
135 dataManager, mApplication, mIsImage);
251 return getLocalizedName(mApplication.getResources(), mBucketId, mName);
H A DDownloadCache.java74 private final GalleryApp mApplication; field in class:DownloadCache
83 mApplication = Utils.checkNotNull(application);
143 task.mFuture = mApplication.getThreadPool().submit(task, task);
/packages/services/Telephony/src/com/android/phone/
H A DOtaUtils.java147 private PhoneGlobals mApplication; field in class:OtaUtils
214 mApplication = PhoneGlobals.getInstance();
595 mApplication.cdmaOtaProvisionData.otaSpcUptime = SystemClock.elapsedRealtime();
608 mApplication.cdmaOtaProvisionData.isOtaCallCommitted = true;
609 if (mApplication.cdmaOtaScreenState.otaScreenState !=
655 mApplication.cdmaOtaScreenState.otaScreenState =
686 if (!mApplication.cdmaOtaProvisionData.inOtaSpcState) {
692 mApplication.callController.placeCall(newIntent);
709 if (mApplication.cdmaOtaConfigData.otaShowActivationScreen
719 mApplication
[all...]
H A DCallNotifier.java95 private PhoneGlobals mApplication; field in class:CallNotifier
136 mApplication = app;
141 mAudioManager = (AudioManager) mApplication.getSystemService(Context.AUDIO_SERVICE);
147 adapter.getProfileProxy(mApplication.getApplicationContext(),
201 onMwiChanged(mApplication.phone.getMessageWaitingIndicator());
221 mApplication.handleOtaspEvent(msg);
323 mApplication.requestWakeState(PhoneGlobals.WakeState.PARTIAL);
373 boolean provisioned = Settings.Global.getInt(mApplication.getContentResolver(),
382 boolean activateState = (mApplication.cdmaOtaScreenState.otaScreenState
384 boolean dialogState = (mApplication
[all...]
H A DCallLogger.java43 private PhoneGlobals mApplication; field in class:CallLogger
47 mApplication = application;
128 ci = CallerInfo.getCallerInfo(mApplication.getApplicationContext(), (Uri) o);
179 String newNumber = PhoneUtils.modifyForSpecialCnapCases(mApplication, callerInfo,
/packages/apps/Gallery2/src_pd/com/android/gallery3d/picasasource/
H A DPicasaSource.java43 private GalleryApp mApplication; field in class:PicasaSource
50 mApplication = application;
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DPhotoPage.java126 private GalleryApp mApplication; field in class:PhotoPage
263 mApplication = (GalleryApp) ((Activity) mActivity).getApplication();
1238 Path path = mApplication.getDataManager()
1241 Path albumPath = mApplication.getDataManager().getDefaultSetOf(path);

Completed in 176 milliseconds