/packages/apps/Mms/src/com/android/mms/transaction/ |
SendTransaction.java | 94 PduPersister persister = PduPersister.getPduPersister(mContext); 104 SqliteWrapper.update(mContext, mContext.getContentResolver(), 116 new PduComposer(mContext, sendReq).make()); 147 SqliteWrapper.update(mContext, mContext.getContentResolver(), 155 SqliteWrapper.update(mContext, mContext.getContentResolver(),
|
/packages/apps/Mms/src/com/android/mms/ui/ |
Presenter.java | 29 protected final Context mContext; 34 mContext = context;
|
/packages/apps/Mms/tests/src/com/android/mms/ui/ |
ConversationListTests.java | 33 private Context mContext; 42 mContext = getInstrumentation().getTargetContext();
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
BatterySipper.java | 34 final Context mContext; 66 mContext = context; 73 icon = mContext.getResources().getDrawable(iconId); 109 PackageManager pm = mContext.getPackageManager(); 116 name = mContext.getResources().getString(R.string.process_kernel_label); 118 name = mContext.getResources().getString(R.string.process_mediaserver_label); 121 icon = mContext.getResources().getDrawable(iconId); 136 PackageManager pm = mContext.getPackageManager();
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiEnabler.java | 38 private final Context mContext; 67 mContext = context; 79 mContext.registerReceiver(mReceiver, mIntentFilter); 84 mContext.unregisterReceiver(mReceiver); 107 if (isChecked && !WirelessSettings.isRadioAllowed(mContext, Settings.System.RADIO_WIFI)) { 108 Toast.makeText(mContext, R.string.wifi_in_airplane_mode, Toast.LENGTH_SHORT).show(); 125 Toast.makeText(mContext, R.string.wifi_error, Toast.LENGTH_SHORT).show(); 170 //setSummary(Summary.get(mContext, info.getSSID(), state));
|
/system/media/wilhelm/src/itf/ |
IVisualization.c | 33 thiz->mContext = pContext; 68 thiz->mContext = NULL;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
RenderAction.java | 67 private BridgeContext mContext; 118 mContext = new BridgeContext(mParams.getProjectKey(), metrics, resources, 150 if (mContext == null) { 193 // If this is called by init, mContext will be null and so should sCurrentContext 195 if (mContext != sCurrentContext) { 227 mContext.initResources(); 228 sCurrentContext = mContext; 235 mContext.getRenderResources().setFrameworkResourceIdProvider(this); 236 mContext.getRenderResources().setLogger(currentLog); 246 mContext.disposeResources() [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppManager.java | 67 private Context mContext; 129 mContext = context; 146 SharedPreferences settings = mContext.getSharedPreferences(OPP_PREFERENCE_FILE, 0); 168 mContext.getSharedPreferences(OPP_PREFERENCE_FILE, 0).edit().clear().apply(); 175 SharedPreferences.Editor editor = mContext.getSharedPreferences(OPP_PREFERENCE_FILE, 0) 258 deviceName = BluetoothOppPreference.getInstance(mContext).getName(device); 265 deviceName = mContext.getString(R.string.unknown_device); 288 Intent in = new Intent(mContext, BluetoothOppBtErrorActivity.class); 290 in.putExtra("title", mContext.getString(R.string.enabling_progress_title)); 291 in.putExtra("content", mContext.getString(R.string.ErrorTooManyRequests)) [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
RawContactReadOnlyEditorView.java | 140 CharSequence accountType = type.getDisplayLabel(mContext); 141 mAccountTypeTextView.setText(mContext.getString(R.string.external_profile_title, 146 CharSequence accountType = type.getDisplayLabel(mContext); 148 accountType = mContext.getString(R.string.account_phone); 153 mContext.getString(R.string.from_account_format, mAccountName)); 158 mAccountTypeTextView.setText(mContext.getString(R.string.account_type_format, 161 mAccountTypeTextView.setTextColor(mContext.getResources().getColor( 166 mAccountIcon.setImageDrawable(type.getDisplayIcon(mContext)); 192 mContext.getString(R.string.missing_name)); 202 Toast.makeText(mContext, mContext.getString(R.string.contact_read_only) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
TestResultsBackupHelper.java | 44 private final Context mContext; 47 mContext = context; 53 ContentResolver resolver = mContext.getContentResolver(); 117 ContentResolver resolver = mContext.getContentResolver(); 129 TestResultsProvider.setTestResult(mContext, BackupTestActivity.class.getName(),
|
/cts/tests/tests/permission/src/android/permission/cts/ |
NoSystemFunctionPermissionTest.java | 46 ActivityManager activityManager = (ActivityManager) mContext.getSystemService( 64 AlarmManager alarmManager = (AlarmManager) mContext.getSystemService( 88 mContext.setWallpaper(bitmap); 95 mContext.setWallpaper((InputStream) null); 102 mContext.clearWallpaper();
|
/cts/tests/tests/widget/src/android/widget/cts/ |
CompoundButtonTest.java | 55 mResources = mContext.getResources(); 81 XmlPullParser parser = mContext.getResources().getXml(R.layout.togglebutton_layout); 84 new MockCompoundButton(mContext, mAttrSet, 0); 85 new MockCompoundButton(mContext, mAttrSet); 86 new MockCompoundButton(mContext); 123 CompoundButton compoundButton = new MockCompoundButton(mContext); 154 CompoundButton compoundButton = new MockCompoundButton(mContext); 177 CompoundButton compoundButton = new MockCompoundButton(mContext); 198 CompoundButton compoundButton = new MockCompoundButton(mContext); 227 MockCompoundButton compoundButton = new MockCompoundButton(mContext); [all...] |
FrameLayout_LayoutParamsTest.java | 44 XmlPullParser parser = mContext.getResources().getLayout(R.layout.framelayout_layout); 80 new LayoutParams(mContext, attrs); 83 new LayoutParams(new ViewGroup.LayoutParams(mContext, attrs)); 84 new LayoutParams(new LayoutParams(mContext, attrs)); 85 new LayoutParams(new MarginLayoutParams(mContext, attrs));
|
GalleryTest.java | 66 private Context mContext; 78 mContext = mInstrumentation.getContext(); 101 new Gallery(mContext); 103 new Gallery(mContext, null); 105 new Gallery(mContext, null, 0); 109 new Gallery(mContext, attrs); 110 new Gallery(mContext, attrs, 0); 221 MyGallery gallery = new MyGallery(mContext); 229 mGallery = new Gallery(mContext, attrs); 308 mGallery = new Gallery(mContext); [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
ActionBarSettingsActionProviderActivity.java | 70 private final Context mContext; 79 mContext = context; 88 LayoutInflater layoutInflater = LayoutInflater.from(mContext); 95 mContext.startActivity(sSettingsIntent); 108 mContext.startActivity(sSettingsIntent);
|
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/ |
WeatherWidgetService.java | 46 private Context mContext; 51 mContext = context; 85 final String formatStr = mContext.getResources().getString(R.string.item_format_string); 88 RemoteViews rv = new RemoteViews(mContext.getPackageName(), itemId); 123 mCursor = mContext.getContentResolver().query(WeatherDataProvider.CONTENT_URI, null, null,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
HeightReceiver.java | 40 Context mContext; 47 mContext = context; 70 final Intent val = mContext.registerReceiver(this, filter); 71 onReceive(mContext, val); 80 final Resources res = mContext.getResources();
|
/frameworks/base/services/java/com/android/server/location/ |
GeocoderProxy.java | 42 private final Context mContext; 48 mContext = context; 50 mContext.bindService(mIntent, mServiceConnection, 61 mContext.unbindService(mServiceConnection); 63 mContext.bindService(mIntent, mServiceConnection,
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
TrackerDataHelper.java | 30 private Context mContext; 60 mContext = context; 76 mContext.getContentResolver().insert(TrackerProvider.CONTENT_URI, 98 mContext.getContentResolver().delete(TrackerProvider.CONTENT_URI, null, 111 Cursor cursor = mContext.getContentResolver().query(
|
/packages/apps/Browser/src/com/android/browser/ |
HttpAuthenticationDialog.java | 34 private final Context mContext; 50 mContext = context; 111 LayoutInflater factory = LayoutInflater.from(mContext); 126 String title = mContext.getText(R.string.sign_in_to).toString().replace( 129 mDialog = new AlertDialog.Builder(mContext)
|
/packages/apps/Browser/src/com/android/browser/homepages/ |
RequestHandler.java | 45 Context mContext;
55 mContext = context.getApplicationContext();
88 Template t = Template.getCachedTemplate(mContext, R.raw.most_visited);
89 Cursor cursor = mContext.getContentResolver().query(Browser.BOOKMARKS_URI,
122 Resources res = mContext.getResources();
|
/packages/apps/Camera/src/com/android/camera/ |
PreferenceInflater.java | 44 private Context mContext; 47 mContext = context; 51 return inflate(mContext.getResources().getXml(resId)); 61 Class<?> clazz = mContext.getClassLoader().loadClass(name); 79 Object args[] = new Object[]{mContext, attrs};
|
/packages/apps/Email/tests/src/com/android/email/activity/setup/ |
AccountSetupAccountTypeTests.java | 43 Context mContext; 53 mContext = this.getInstrumentation().getTargetContext(); 63 mContext.getContentResolver().delete(uri, null, null); 91 HostAuth auth = account.getOrCreateHostAuthRecv(mContext); 93 account.save(mContext);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
MtpContext.java | 26 private Context mContext; 69 mContext = context; 71 mClient = new MtpClient(mContext); 94 mContext.getContentResolver().notifyChange(Uri.parse("mtp://"), null); 98 Toast.makeText(mContext, msg, Toast.LENGTH_SHORT).show();
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
DetailsAddressResolver.java | 35 private final GalleryActivity mContext; 47 ReverseGeocoder geocoder = new ReverseGeocoder(mContext.getAndroidContext()); 57 mContext = context; 63 mAddressLookupJob = mContext.getThreadPool().submit( 82 Context context = mContext.getAndroidContext();
|