Home
last modified time | relevance | path

Searched refs:mAppContext (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Email/src/com/android/email/activity/setup/
DAccountCreationFragment.java65 private Context mAppContext; field in AccountCreationFragment
105 mAppContext = getActivity().getApplicationContext(); in onActivityCreated()
176 return new MailAsyncTaskLoader<Boolean>(mAppContext) { in onCreateLoader()
185 AccountSettingsUtils.commitSettings(mAppContext, account); in onCreateLoader()
187 EmailServiceUtils.setupAccountManagerAccount(mAppContext, account, in onCreateLoader()
206 new AccountPreferences(mAppContext, account.getEmailAddress()) in onCreateLoader()
212 AccountSettingsUtils.commitSettings(mAppContext, account); in onCreateLoader()
252 return new MailAsyncTaskLoader<Account>(mAppContext) {
258 account.refresh(mAppContext);
292 return new MailAsyncTaskLoader<Account>(mAppContext) {
[all …]
DAccountServerBaseFragment.java53 protected Context mAppContext; field in AccountServerBaseFragment
140 mAppContext = activity.getApplicationContext(); in onActivityCreated()
175 (InputMethodManager) mAppContext.getSystemService(Context.INPUT_METHOD_SERVICE); in onPause()
223 InputMethodManager imm = (InputMethodManager) mAppContext. in makeTextViewUneditable()
252 final HostAuth sendAuth = account.getOrCreateHostAuthSend(mAppContext); in haveSettingsChanged()
255 final HostAuth recvAuth = account.getOrCreateHostAuthRecv(mAppContext); in haveSettingsChanged()
DAccountSetupOutgoingFragment.java224 final HostAuth sendAuth = mSetupData.getAccount().getOrCreateHostAuthSend(mAppContext); in loadSettings()
227 AccountSetupCredentialsFragment.populateHostAuthWithResults(mAppContext, sendAuth, in loadSettings()
296 final HostAuth sendAuth = mSetupData.getAccount().getOrCreateHostAuthSend(mAppContext); in onCheckedChanged()
342 return new SaveSettingsLoader(mAppContext, mSetupData, mSettingsMode); in getSaveSettingsLoader()
379 final HostAuth sendAuth = account.getOrCreateHostAuthSend(mAppContext); in collectUserInputInternal()
416 mSetupData.getAccount().getOrCreateHostAuthRecv(mAppContext).mProtocol; in onRequestSignIn()
427 AccountSetupCredentialsFragment.populateHostAuthWithResults(mAppContext, sendAuth, in onActivityResult()
DAccountSetupIncomingFragment.java200 final HostAuth recvAuth = account.getOrCreateHostAuthRecv(mAppContext); in onActivityCreated()
352 final HostAuth recvAuth = account.getOrCreateHostAuthRecv(mAppContext); in loadSettings()
448 deviceId = Device.getDeviceId(mAppContext); in onUseSslChanged()
499 return new SaveSettingsLoader(mAppContext, mSetupData, mSettingsMode); in getSaveSettingsLoader()
556 final HostAuth recvAuth = account.getOrCreateHostAuthRecv(mAppContext); in collectUserInputInternal()
612 mSetupData.getAccount().getOrCreateHostAuthRecv(mAppContext).mProtocol; in onRequestSignIn()
642 AccountSetupCredentialsFragment.populateHostAuthWithResults(mAppContext, recvAuth, in onActivityResult()
DAccountFinalizeFragment.java39 private Context mAppContext; field in AccountFinalizeFragment
60 mAppContext = getActivity().getApplicationContext(); in onCreate()
74 return new FinalSetupTaskLoader(mAppContext, accountArg); in onResume()
DAccountSetupCredentialsFragment.java84 private Context mAppContext; field in AccountSetupCredentialsFragment
171 mAppContext = getActivity().getApplicationContext(); in onActivityCreated()
174 mOauthProviders = AccountSettingsUtils.getAllOAuthProviders(mAppContext); in onActivityCreated()
177 final EmailServiceInfo info = EmailServiceUtils.getServiceInfo(mAppContext, protocol); in onActivityCreated()
/packages/apps/Camera2/src/com/android/camera/
DCameraActivity.java187 private Context mAppContext; field in CameraActivity
844 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(mAppContext); in setupNfcBeamPush()
982 return mAppContext; in getAndroidContext()
1030 mAppContext); in getQuickSwitchToModuleId()
1218 CameraUtil.broadcastNewPicture(mAppContext, uri); in notifyNewMedia()
1370 mAppContext = getApplication().getBaseContext(); in onCreateTasks()
1379 mSoundPlayer = new SoundPlayer(mAppContext); in onCreateTasks()
1393 ModulesInfo.setupModules(mAppContext, mModuleManager); in onCreateTasks()
1398 Keys.setDefaults(mSettingsManager, mAppContext); in onCreateTasks()
1412 mCameraController = new CameraController(mAppContext, this, mMainHandler, in onCreateTasks()
[all …]
DSoundPlayer.java28 private final Context mAppContext; field in SoundPlayer
37 mAppContext = appContext; in SoundPlayer()
46 int soundId = mSoundPool.load(mAppContext, resourceId, 1/* priority */); in loadSound()
/packages/apps/Camera2/src/com/android/camera/processing/
DProcessingServiceManager.java40 private final Context mAppContext; field in ProcessingServiceManager
73 mAppContext = context; in ProcessingServiceManager()
156 mAppContext.startService(new Intent(mAppContext, ProcessingService.class)); in startService()