Searched defs:mContext (Results 201 - 225 of 583) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/speech/tts/
H A DTtsEngines.java74 private final Context mContext; field in class:TtsEngines
106 mContext = ctx;
115 String engine = getString(mContext.getContentResolver(),
139 PackageManager pm = mContext.getPackageManager();
160 PackageManager pm = mContext.getPackageManager();
199 PackageManager pm = mContext.getPackageManager();
333 getString(mContext.getContentResolver(), Settings.Secure.TTS_DEFAULT_LOCALE));
369 getString(mContext.getContentResolver(), Settings.Secure.TTS_DEFAULT_LOCALE),
521 final String prefList = Settings.Secure.getString(mContext.getContentResolver(),
533 Settings.Secure.putString(mContext
[all...]
/frameworks/base/core/java/android/widget/
H A DArrayAdapter.java87 private Context mContext; field in class:ArrayAdapter
309 mContext = context;
323 return mContext;
H A DCursorAdapter.java58 protected Context mContext; field in class:CursorAdapter
171 mContext = context;
250 v = newView(mContext, mCursor, parent);
254 bindView(v, mContext, mCursor);
264 v = newDropDownView(mContext, mCursor, parent);
268 bindView(v, mContext, mCursor);
H A DSimpleMonthAdapter.java38 private final Context mContext; field in class:SimpleMonthAdapter
47 mContext = context;
97 final TypedArray a = mContext.obtainStyledAttributes(resId, R.styleable.TextAppearance);
138 v = new SimpleMonthView(mContext);
H A DTimePicker.java273 protected Context mContext; field in class:TimePicker.AbstractTimePickerDelegate
284 mContext = context;
H A DToast.java86 final Context mContext; field in class:Toast
99 mContext = context;
116 String pkg = mContext.getOpPackageName();
136 getService().cancelToast(mContext.getPackageName(), mTN);
293 setText(mContext.getText(resId));
/frameworks/base/core/java/com/android/internal/view/
H A DStandaloneActionMode.java34 private Context mContext; field in class:StandaloneActionMode
45 mContext = context;
67 setTitle(mContext.getString(resId));
72 setSubtitle(mContext.getString(resId));
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenu.java36 private Context mContext; field in class:ActionMenu
43 mContext = context;
48 return mContext;
60 return add(groupId, itemId, order, mContext.getResources().getString(titleRes));
73 PackageManager pm = mContext.getPackageManager();
H A DBaseMenuPresenter.java33 protected Context mContext; field in class:BaseMenuPresenter
62 mContext = context;
63 mInflater = LayoutInflater.from(mContext);
H A DListMenuPresenter.java39 Context mContext; field in class:ListMenuPresenter
64 mContext = context;
65 mInflater = LayoutInflater.from(mContext);
81 mContext = new ContextThemeWrapper(context, mThemeRes);
82 mInflater = LayoutInflater.from(mContext);
83 } else if (mContext != null) {
84 mContext = context;
86 mInflater = LayoutInflater.from(mContext);
/frameworks/base/core/java/com/android/internal/widget/
H A DExploreByTouchHelper.java78 private final Context mContext; field in class:ExploreByTouchHelper
100 mContext = forView.getContext();
101 mManager = (AccessibilityManager) mContext.getSystemService(Context.ACCESSIBILITY_SERVICE);
562 (AccessibilityManager) mContext.getSystemService(Context.ACCESSIBILITY_SERVICE);
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DConnectivityManagerTestBase.java75 private Context mContext; field in class:ConnectivityManagerTestBase
125 mContext = getInstrumentation().getContext();
128 mCm = (ConnectivityManager)mContext.getSystemService(Context.CONNECTIVITY_SERVICE);
130 mWifiManager =(WifiManager)mContext.getSystemService(Context.WIFI_SERVICE);
140 mContext.registerReceiver(mConnectivityReceiver,
151 mContext.registerReceiver(mWifiReceiver, mIntentFilter);
267 (PowerManager) mContext.getSystemService(Context.POWER_SERVICE);
275 (PowerManager) mContext.getSystemService(Context.POWER_SERVICE);
278 KeyguardManager km = (KeyguardManager) mContext.getSystemService(Context.KEYGUARD_SERVICE);
462 mContext
[all...]
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
H A DBandwidthTest.java55 private Context mContext; field in class:BandwidthTest
71 mContext = mRunner.getTargetContext();
72 mConnectionUtil = new ConnectionUtil(mContext);
76 mTManager = (TelephonyManager)mContext.getSystemService(Context.TELEPHONY_SERVICE);
117 TrafficStats.startDataProfiling(mContext);
120 NetworkStats prof_stats = TrafficStats.stopDataProfiling(mContext);
173 TrafficStats.startDataProfiling(mContext);
175 NetworkStats prof_stats = TrafficStats.stopDataProfiling(mContext);
226 TrafficStats.startDataProfiling(mContext);
233 NetworkStats prof_stats = TrafficStats.stopDataProfiling(mContext);
[all...]
/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabasePerformanceTests.java83 protected Context mContext; field in class:DatabasePerformanceTests.PerformanceBase
86 mContext = c;
/frameworks/base/keystore/java/android/security/
H A DKeyPairGeneratorSpec.java77 private final Context mContext; field in class:KeyPairGeneratorSpec
155 mContext = context;
222 return mContext;
321 * new KeyPairGeneratorSpec.Builder(mContext).setAlias("myKey")
327 private final Context mContext; field in class:KeyPairGeneratorSpec.Builder
357 mContext = context;
482 return new KeyPairGeneratorSpec(mContext, mKeystoreAlias, mKeyType, mKeySize, mSpec,
/frameworks/base/media/lib/remotedisplay/java/com/android/media/remotedisplay/
H A DRemoteDisplayProvider.java100 private final Context mContext; field in class:RemoteDisplayProvider
148 mContext = context;
157 return mContext;
295 mContext, 0, settingsIntent, 0, null);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
H A DMediaSource.java64 private Context mContext = null; field in class:MediaSource
461 if (mContext == null) {
464 mMediaPlayer.setDataSource(mContext, Uri.parse(mSourceUrl.toString()));
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DSimplePlayer.java51 Context mContext; field in class:SimplePlayer
80 mContext = context;
118 AssetFileDescriptor afd = mContext.getResources().openRawResourceFd(mFileResId);
195 mContext = context;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediaplayback/
H A DMediaPlayerApiTest.java42 Context mContext; field in class:MediaPlayerApiTest
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
H A DMediaRecorderTest.java65 Context mContext; field in class:MediaRecorderTest
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/
H A DBackupRestoreConfirmation.java81 Context mContext; field in class:BackupRestoreConfirmation.ObserverHandler
83 mContext = context;
91 Toast.makeText(mContext, R.string.toast_backup_started, Toast.LENGTH_LONG).show();
102 Toast.makeText(mContext, R.string.toast_backup_ended, Toast.LENGTH_LONG).show();
108 Toast.makeText(mContext, R.string.toast_restore_started, Toast.LENGTH_LONG).show();
119 Toast.makeText(mContext, R.string.toast_restore_ended, Toast.LENGTH_SHORT).show();
125 Toast.makeText(mContext, R.string.toast_timeout, Toast.LENGTH_LONG).show();
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRootsCache.java66 private final Context mContext; field in class:RootsCache
83 mContext = context;
109 mRecentsRoot.title = mContext.getString(R.string.root_recent);
126 final ProviderInfo info = mContext.getPackageManager().resolveContentProvider(authority, 0);
148 final ContentResolver resolver = mContext.getContentResolver();
191 final ContentResolver resolver = mContext.getContentResolver();
192 final PackageManager pm = mContext.getPackageManager();
235 loadRootsForAuthority(mContext.getContentResolver(), info.authority));
250 mContext.getContentResolver().registerContentObserver(rootsUri, true, mObserver);
285 authority, loadRootsForAuthority(mContext
[all...]
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
H A DFusionEngine.java50 private final Context mContext; field in class:FusionEngine
66 mContext = context;
82 Log.i(TAG, "engine started (" + mContext.getPackageName() + ")");
95 Log.i(TAG, "engine stopped (" + mContext.getPackageName() + ")");
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DFaceUnlock.java44 private final Context mContext; field in class:FaceUnlock
76 mContext = context;
128 mContext.bindServiceAsUser(
167 mContext.unbindService(mConnection);
320 KeyguardUpdateMonitor.getInstance(mContext).setAlternateUnlockEnabled(false);
334 KeyguardUpdateMonitor.getInstance(mContext).setAlternateUnlockEnabled(false);
344 PowerManager powerManager = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSearchPanelView.java56 private final Context mContext; field in class:SearchPanelView
79 mContext = context;
89 final Intent intent = ((SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE))
90 .getAssistIntent(mContext, true, UserHandle.USER_CURRENT);
94 final ActivityOptions opts = ActivityOptions.makeCustomAnimation(mContext,
100 mContext.startActivityAsUser(intent, opts.toBundle(),
112 mContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
119 Intent intent = ((SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE))
120 .getAssistIntent(mContext, false, UserHandle.USER_CURRENT);
132 PackageManager packageManager = mContext
[all...]

Completed in 7911 milliseconds

1234567891011>>