Home
last modified time | relevance | path

Searched refs:mApplication (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/Phone/src/com/android/phone/
DOtaUtils.java146 private PhoneGlobals mApplication; field in OtaUtils
219 mApplication = PhoneGlobals.getInstance(); in OtaUtils()
651 mApplication.cdmaOtaProvisionData.otaSpcUptime = SystemClock.elapsedRealtime(); in onOtaProvisionStatusChanged()
664 mApplication.cdmaOtaProvisionData.isOtaCallCommitted = true; in onOtaProvisionStatusChanged()
665 if (mApplication.cdmaOtaScreenState.otaScreenState != in onOtaProvisionStatusChanged()
711 mApplication.cdmaOtaScreenState.otaScreenState = in otaShowHome()
742 if (!mApplication.cdmaOtaProvisionData.inOtaSpcState) { in otaPerformActivation()
748 mApplication.callController.placeCall(newIntent); in otaPerformActivation()
765 if (mApplication.cdmaOtaConfigData.otaShowActivationScreen in otaShowActivateScreen()
775 mApplication.cdmaOtaScreenState.otaScreenState = in otaShowActivateScreen()
[all …]
DCallNotifier.java154 private PhoneGlobals mApplication; field in CallNotifier
203 mApplication = app; in CallNotifier()
207 mAudioManager = (AudioManager) mApplication.getSystemService(Context.AUDIO_SERVICE); in CallNotifier()
227 adapter.getProfileProxy(mApplication.getApplicationContext(), in CallNotifier()
282 onMwiChanged(mApplication.phone.getMessageWaitingIndicator()); in handleMessage()
304 mApplication.cdmaPhoneCallState.setAddCallMenuStateAfterCallWaiting(true); in handleMessage()
305 mApplication.updateInCallScreen(); in handleMessage()
325 mApplication.handleOtaspEvent(msg); in handleMessage()
336 mApplication.notificationMgr.updateInCallNotification(); in handleMessage()
348 mApplication.notificationMgr.updateInCallNotification(); in handleMessage()
[all …]
DCallCard.java93 private PhoneGlobals mApplication; field in CallCard
185 mApplication = PhoneGlobals.getInstance(); in CallCard()
290 if (mApplication.inCallUiState.showAlreadyDisconnectedState) { in updateState()
371 if ((mApplication.cdmaPhoneCallState.getCurrentCallState() in updateForegroundCall()
373 && mApplication.cdmaPhoneCallState.IsThreeWayCallOrigStateDialing()) { in updateForegroundCall()
715 PhoneUtils.sendViewNotificationAsync(mApplication, mLoadingPersonUri); in onImageLoadComplete()
786 if (mApplication.showBluetoothIndication()) { in updateCallStateWidgets()
814 && mApplication.cdmaPhoneCallState.IsThreeWayCallOrigStateDialing()) { in updateCallStateWidgets()
828 final InCallUiState inCallUiState = mApplication.inCallUiState; in updateCallStateWidgets()
1009 if (mApplication.phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA) { in displaySecondaryCallStatus()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMtpSource.java29 GalleryApp mApplication; field in MtpSource
35 mApplication = application; in MtpSource()
40 mMtpContext = new MtpContext(mApplication.getAndroidContext()); in MtpSource()
47 return new MtpDeviceSet(path, mApplication, mMtpContext); in createMediaObject()
51 return new MtpDevice(path, mApplication, deviceId, mMtpContext); in createMediaObject()
56 return new MtpImage(path, mApplication, deviceId, objectId, mMtpContext); in createMediaObject()
DSecureSource.java22 private GalleryApp mApplication; field in SecureSource
34 mApplication = context; in SecureSource()
45 DataManager dataManager = mApplication.getDataManager(); in createMediaObject()
48 return new SecureAlbum(path, mApplication, unlock); in createMediaObject()
51 return new UnlockImage(path, mApplication); in createMediaObject()
DComboSource.java24 private GalleryApp mApplication; field in ComboSource
29 mApplication = application; in ComboSource()
43 DataManager dataManager = mApplication.getDataManager(); in createMediaObject()
46 return new ComboAlbumSet(path, mApplication, in createMediaObject()
DDataManager.java100 private GalleryApp mApplication; field in DataManager
111 mApplication = application; in DataManager()
119 addSource(new LocalSource(mApplication)); in initializeSourceMap()
120 addSource(new PicasaSource(mApplication)); in initializeSourceMap()
122 addSource(new MtpSource(mApplication)); in initializeSourceMap()
124 addSource(new ComboSource(mApplication)); in initializeSourceMap()
125 addSource(new ClusterSource(mApplication)); in initializeSourceMap()
126 addSource(new FilterSource(mApplication)); in initializeSourceMap()
127 addSource(new SecureSource(mApplication)); in initializeSourceMap()
128 addSource(new UriSource(mApplication)); in initializeSourceMap()
[all …]
DFilterSource.java35 private GalleryApp mApplication; field in FilterSource
42 mApplication = application; in FilterSource()
52 mApplication); in FilterSource()
54 Path.fromString(FILTER_CAMERA_SHORTCUT_ITEM), mApplication); in FilterSource()
63 DataManager dataManager = mApplication.getDataManager(); in createMediaObject()
DClusterSource.java34 GalleryApp mApplication; field in ClusterSource
39 mApplication = application; in ClusterSource()
63 DataManager dataManager = mApplication.getDataManager(); in createMediaObject()
71 return new ClusterAlbumSet(path, mApplication, sets[0], matchType); in createMediaObject()
DLocalSource.java37 private GalleryApp mApplication; field in LocalSource
58 mApplication = context; in LocalSource()
84 GalleryApp app = mApplication; in createMediaObject()
89 return new LocalAlbumSet(path, mApplication); in createMediaObject()
106 return new LocalImage(path, mApplication, mMatcher.getIntVar(0)); in createMediaObject()
108 return new LocalVideo(path, mApplication, mMatcher.getIntVar(0)); in createMediaObject()
183 MediaObject object = mApplication.getDataManager().getMediaObject(item); in getDefaultSetOf()
236 mApplication, isImage, ids); in processMapMediaItems()
266 mClient = mApplication.getContentResolver() in resume()
DLocalAlbumSet.java50 private final GalleryApp mApplication; field in LocalAlbumSet
63 mApplication = application; in LocalAlbumSet()
109 jc, mApplication.getContentResolver(), mType); in run()
126 DataManager dataManager = mApplication.getDataManager(); in run()
144 return new LocalAlbum(path, mApplication, id, true, name); in getLocalAlbum()
146 return new LocalAlbum(path, mApplication, id, false, name); in getLocalAlbum()
170 mLoadTask = mApplication.getThreadPool().submit(new AlbumsLoader(), this); in reload()
DMtpDeviceSet.java44 private GalleryApp mApplication; field in MtpDeviceSet
57 mApplication = application; in MtpDeviceSet()
61 mHandler = new Handler(mApplication.getMainLooper()); in MtpDeviceSet()
67 DataManager dataManager = mApplication.getDataManager(); in run()
79 device = new MtpDevice(childPath, mApplication, deviceId, mMtpContext); in run()
129 mLoadTask = mApplication.getThreadPool().submit(new DevicesLoader(), this); in reload()
DUriSource.java36 private GalleryApp mApplication; field in UriSource
40 mApplication = context; in UriSource()
52 return new UriImage(mApplication, path, Uri.parse(uri), type); in createMediaObject()
68 String type = mApplication.getContentResolver().getType(uri); in getMimeType()
DSnailSource.java26 private GalleryApp mApplication; field in SnailSource
32 mApplication = application; in SnailSource()
41 DataManager dataManager = mApplication.getDataManager(); in createMediaObject()
DLocalVideo.java71 private final GalleryApp mApplication; field in LocalVideo
77 mApplication = application; in LocalVideo()
83 mApplication = context; in LocalVideo()
84 ContentResolver resolver = mApplication.getContentResolver(); in LocalVideo()
155 return new LocalVideoRequest(mApplication, getPath(), type, filePath); in requestImage()
190 mApplication.getContentResolver().delete(baseUri, "_id=?", in delete()
221 mApplication.getAndroidContext(), durationInSec)); in getDetails()
DLocalImage.java99 private final GalleryApp mApplication; field in LocalImage
107 mApplication = application; in LocalImage()
113 mApplication = application; in LocalImage()
114 ContentResolver resolver = mApplication.getContentResolver(); in LocalImage()
173 return new LocalImageRequest(mApplication, mPath, type, filePath); in requestImage()
235 StitchingProgressManager progressManager = mApplication.getStitchingProgressManager(); in getSupportedOperations()
257 mPanoramaMetadata.getPanoramaSupport(mApplication, callback); in getPanoramaSupport()
269 mApplication.getContentResolver().delete(baseUri, "_id=?", in delete()
312 mApplication.getContentResolver().update(baseUri, values, "_id=?", in rotate()
DUriImage.java60 private GalleryApp mApplication; field in UriImage
65 mApplication = Utils.checkNotNull(application); in UriImage()
100 InputStream is = mApplication.getContentResolver() in openOrDownloadInner()
105 mFileDescriptor = mApplication.getContentResolver() in openOrDownloadInner()
116 mCacheEntry = mApplication.getDownloadCache().download(jc, url); in openOrDownloadInner()
224 mPanoramaMetadata.getPanoramaSupport(mApplication, callback); in getPanoramaSupport()
DActionImage.java33 private GalleryApp mApplication; field in ActionImage
38 mApplication = Utils.checkNotNull(application); in ActionImage()
62 Bitmap bitmap = BitmapFactory.decodeResource(mApplication.getResources(), in run()
DClusterAlbumSet.java30 private GalleryApp mApplication; field in ClusterAlbumSet
39 mApplication = application; in ClusterAlbumSet()
82 Context context = mApplication.getAndroidContext(); in updateClusters()
103 DataManager dataManager = mApplication.getDataManager(); in updateClusters()
DMtpDevice.java37 private final GalleryApp mApplication; field in MtpDevice
49 mApplication = application; in MtpDevice()
126 DataManager dataManager = mApplication.getDataManager(); in getMediaItem()
134 childPath, mApplication, mDeviceId, child, mMtpContext); in getMediaItem()
DImageCacheRequest.java31 protected GalleryApp mApplication; field in ImageCacheRequest
38 mApplication = application; in ImageCacheRequest()
52 ImageCacheService cacheService = mApplication.getImageCacheService(); in run()
DLocalAlbum.java49 private final GalleryApp mApplication; field in LocalAlbum
61 mApplication = application; in LocalAlbum()
113 DataManager dataManager = mApplication.getDataManager(); in getMediaItem()
132 dataManager, mApplication, mIsImage); in getMediaItem()
/packages/apps/Gallery2/tests/src/com/android/gallery3d/data/
DMockSource.java22 GalleryApp mApplication; field in MockSource
30 mApplication = context; in MockSource()
41 return new MockSet(path, mApplication.getDataManager()); in createMediaObject()
DRealDataTest.java35 private GalleryApp mApplication; field in RealDataTest
41 mApplication = new GalleryAppMock( in testRealData()
45 mDataManager = mApplication.getDataManager(); in testRealData()
46 mDataManager.addSource(new LocalSource(mApplication)); in testRealData()
47 mDataManager.addSource(new PicasaSource(mApplication)); in testRealData()
/packages/apps/Gallery2/src_pd/com/android/gallery3d/picasasource/
DPicasaSource.java44 private GalleryApp mApplication; field in PicasaSource
51 mApplication = application; in PicasaSource()

12