/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
ListMenuPresenter.java | 43 Context mContext; 68 mContext = context; 69 mInflater = LayoutInflater.from(mContext); 85 mContext = new ContextThemeWrapper(context, mThemeRes); 86 mInflater = LayoutInflater.from(mContext); 87 } else if (mContext != null) { 88 mContext = context; 90 mInflater = LayoutInflater.from(mContext);
|
/frameworks/wilhelm/src/itf/ |
IVisualization.c | 33 thiz->mContext = pContext; 68 thiz->mContext = NULL;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppTransferAdapter.java | 58 private Context mContext; 62 mContext = context; 88 title = mContext.getString(R.string.unknown_file); 107 tv.setText(BluetoothOppUtility.getStatusDescription(mContext, status, deviceName)); 112 mContext, totalBytes)); 115 mContext, totalBytes)); 123 CharSequence str = DateUtils.isToday(time) ? DateFormat.getTimeFormat(mContext).format( 124 d) : DateFormat.getDateFormat(mContext).format(d);
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
MmsMessageSender.java | 49 private final Context mContext; 61 mContext = context; 75 PduPersister p = PduPersister.getPduPersister(mContext); 116 SqliteWrapper.insert(mContext, mContext.getContentResolver(), 124 mContext.startService(new Intent(mContext, TransactionService.class)); 131 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(mContext);
|
SendTransaction.java | 92 PduPersister persister = PduPersister.getPduPersister(mContext); 102 SqliteWrapper.update(mContext, mContext.getContentResolver(), 114 new PduComposer(mContext, sendReq).make()); 145 SqliteWrapper.update(mContext, mContext.getContentResolver(), 153 SqliteWrapper.update(mContext, mContext.getContentResolver(),
|
/packages/apps/Mms/src/com/android/mms/ui/ |
Presenter.java | 30 protected final Context mContext; 35 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 | 38 final Context mContext; 74 mContext = context; 81 icon = mContext.getResources().getDrawable(iconId); 140 PackageManager pm = mContext.getPackageManager(); 146 name = mContext.getResources().getString(R.string.process_kernel_label); 148 name = mContext.getResources().getString(R.string.process_mediaserver_label); 151 icon = mContext.getResources().getDrawable(iconId); 175 PackageManager pm = mContext.getPackageManager();
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiEnabler.java | 40 private final Context mContext; 69 mContext = context; 81 mContext.registerReceiver(mReceiver, mIntentFilter); 86 mContext.unregisterReceiver(mReceiver); 109 if (isChecked && !WirelessSettings.isRadioAllowed(mContext, Settings.Global.RADIO_WIFI)) { 110 Toast.makeText(mContext, R.string.wifi_in_airplane_mode, Toast.LENGTH_SHORT).show(); 127 Toast.makeText(mContext, R.string.wifi_error, Toast.LENGTH_SHORT).show(); 172 //setSummary(Summary.get(mContext, info.getSSID(), state));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
PowerUI.java | 71 mLowBatteryAlertCloseLevel = mContext.getResources().getInteger( 73 mLowBatteryReminderLevels[0] = mContext.getResources().getInteger( 75 mLowBatteryReminderLevels[1] = mContext.getResources().getInteger( 78 final PowerManager pm = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE); 86 mContext.registerReceiver(mIntentReceiver, filter, null, mHandler); 197 CharSequence levelText = mContext.getString( 203 View v = View.inflate(mContext, R.layout.battery_low, null); 208 AlertDialog.Builder b = new AlertDialog.Builder(mContext); 220 if (intent.resolveActivity(mContext.getPackageManager()) != null) { 225 mContext.startActivityAsUser(intent, UserHandle.CURRENT) [all...] |
/packages/services/Telephony/src/com/android/phone/ |
NotificationMgr.java | 103 private Context mContext; 134 mContext = app; 268 mQueryHandler = new QueryHandler(mContext.getContentResolver()); 393 0, mContext, personUri, this, n); 480 mContext); 515 callName = mContext.getString(R.string.unknown); 526 expandedText = mContext.getString(R.string.notification_missedCallsMsg, 530 Notification.Builder builder = new Notification.Builder(mContext); 532 .setTicker(mContext.getString(R.string.notification_missedCallTicker, callName)) 534 .setContentTitle(mContext.getText(titleResId) [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/app/src/android/app/cts/ |
TimePickerDialogTest.java | 43 private Context mContext; 55 mContext = getInstrumentation().getContext(); 62 mTimePickerDialog = new TimePickerDialog( mContext, mOnTimeSetListener, TARGET_HOUR, 67 TimePickerDialog tD = new TimePickerDialog( mContext, mOnTimeSetListener, TARGET_HOUR, 77 tD = new TimePickerDialog( mContext, com.android.cts.stub.R.style.Theme_AlertDialog,
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaScannerNotificationTest.java | 45 mContext.registerReceiver(startedReceiver, startedIntentFilter); 46 mContext.registerReceiver(finishedReceiver, finshedIntentFilter); 56 mContext.startService(i); 72 mContext.startService(i); 83 mContext.startService(i);
|
/cts/tests/tests/os/src/android/os/cts/ |
RemoteCallbackListTest.java | 38 private Context mContext; 44 mContext = getContext(); 63 assertTrue(mContext.bindService(new Intent(ISecondary.class.getName()), 77 mContext.unbindService(mSecondaryConnection); 80 mContext.stopService(mIntent);
|
/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/view/src/android/view/cts/ |
SurfaceViewTest.java | 35 private Context mContext; 47 mContext = mInstrumentation.getContext(); 59 new SurfaceView(mContext); 60 new SurfaceView(mContext, null); 61 new SurfaceView(mContext, null, 0);
|
/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; 84 final String formatStr = mContext.getResources().getString(R.string.item_format_string); 86 RemoteViews rv = new RemoteViews(mContext.getPackageName(), itemId); 121 mCursor = mContext.getContentResolver().query(WeatherDataProvider.CONTENT_URI, null, null,
|
/external/chromium_org/ui/android/java/src/org/chromium/ui/ |
ColorSuggestionListAdapter.java | 24 private Context mContext; 44 mContext = context; 101 layout = new LinearLayout(mContext); 108 mContext.getResources().getDimensionPixelOffset(R.dimen.color_button_height); 110 View button = new View(mContext);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
SystemBars.java | 51 mContext, Settings.Secure.BAR_SERVICE_COMPONENT, this); 89 final String clsName = mContext.getString(R.string.config_statusBarComponent); 95 cls = mContext.getClassLoader().loadClass(clsName); 104 mStatusBar.mContext = mContext;
|
/frameworks/base/services/java/com/android/server/ |
ConsumerIrService.java | 56 private final Context mContext; 62 mContext = context; 69 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_CONSUMER_IR)) { 92 if (mContext.checkCallingOrSelfPermission(android.Manifest.permission.TRANSMIT_IR) 124 if (mContext.checkCallingOrSelfPermission(android.Manifest.permission.TRANSMIT_IR)
|
/frameworks/base/services/java/com/android/server/location/ |
LocationBlacklist.java | 46 private final Context mContext; 57 mContext = context; 61 mContext.getContentResolver().registerContentObserver(Settings.Secure.getUriFor( 63 // mContext.getContentResolver().registerContentObserver(Settings.Secure.getUriFor( 129 flatString = Settings.Secure.getStringForUser(mContext.getContentResolver(), key,
|
/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(
|
/frameworks/compile/slang/ |
slang_rs_backend.cpp | 60 mContext(Context), 70 mRefCount(mContext->getASTContext()), 71 mASTChecker(mContext->getASTContext(), mContext->getTargetAPI(), 142 mContext->addPragma("rs_fp_relaxed", ""); 145 int version = mContext->getVersion(); 157 if (mContext->getReflectJavaPackageName().empty()) { 200 for (RSContext::const_export_var_iterator I = mContext->export_vars_begin(), 201 E = mContext->export_vars_end(); 276 I = mContext->export_funcs_begin() [all...] |