/frameworks/base/core/java/android/speech/tts/ |
H A D | TtsEngines.java | 74 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 D | ArrayAdapter.java | 87 private Context mContext; field in class:ArrayAdapter 309 mContext = context; 323 return mContext;
|
H A D | CursorAdapter.java | 58 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 D | SimpleMonthAdapter.java | 38 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 D | TimePicker.java | 273 protected Context mContext; field in class:TimePicker.AbstractTimePickerDelegate 284 mContext = context;
|
H A D | Toast.java | 86 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 D | StandaloneActionMode.java | 34 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 D | ActionMenu.java | 36 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 D | BaseMenuPresenter.java | 33 protected Context mContext; field in class:BaseMenuPresenter 62 mContext = context; 63 mInflater = LayoutInflater.from(mContext);
|
H A D | ListMenuPresenter.java | 39 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 D | ExploreByTouchHelper.java | 78 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 D | ConnectivityManagerTestBase.java | 75 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 D | BandwidthTest.java | 55 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 D | DatabasePerformanceTests.java | 83 protected Context mContext; field in class:DatabasePerformanceTests.PerformanceBase 86 mContext = c;
|
/frameworks/base/keystore/java/android/security/ |
H A D | KeyPairGeneratorSpec.java | 77 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 D | RemoteDisplayProvider.java | 100 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 D | MediaSource.java | 64 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 D | SimplePlayer.java | 51 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 D | MediaPlayerApiTest.java | 42 Context mContext; field in class:MediaPlayerApiTest
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/ |
H A D | MediaRecorderTest.java | 65 Context mContext; field in class:MediaRecorderTest
|
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/ |
H A D | BackupRestoreConfirmation.java | 81 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 D | RootsCache.java | 66 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 D | FusionEngine.java | 50 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 D | FaceUnlock.java | 44 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 D | SearchPanelView.java | 56 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...] |