/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
LocalPhotoSource.java | 58 private Context mContext; 67 mContext = context; 76 mContext.getContentResolver() 81 mContext.getContentResolver().unregisterContentObserver(mContentObserver); 142 Cursor cursor = mContext.getContentResolver().query( 159 ContentResolver resolver = mContext.getContentResolver(); 167 Cursor cursor = mContext.getContentResolver().query(
|
/packages/apps/Mms/src/com/android/mms/ui/ |
SlideshowEditor.java | 42 private final Context mContext; 46 mContext = context; 73 mContext, ContentType.TEXT_PLAIN, "text_" + size + ".txt", 130 text = new TextModel(mContext, 143 mContext, newImage, mModel.getLayout().getImageRegion())); 147 AudioModel audio = new AudioModel(mContext, newAudio); 154 VideoModel video = new VideoModel(mContext, newVideo,
|
/packages/apps/Nfc/src/com/android/nfc/ |
RegisteredComponentCache.java | 46 final Context mContext; 55 mContext = context; 73 mContext.registerReceiver(receiver, intentFilter); 78 mContext.registerReceiver(receiver, sdFilter); 121 mContext.unregisterReceiver(receiver); 141 PackageManager pm = mContext.getPackageManager(); 165 PackageManager pm = mContext.getPackageManager();
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
BluetoothDiscoverableEnabler.java | 58 private final Context mContext; 92 mContext = context; 106 mContext.registerReceiver(mReceiver, filter); 117 mContext.unregisterReceiver(mReceiver); 134 LocalBluetoothPreferences.persistDiscoverableEndTimestamp(mContext, endTimestamp); 148 mDiscoveryPreference.setSummary(mContext.getString(R.string.bluetooth_is_discoverable, 265 long endTimestamp = LocalBluetoothPreferences.getDiscoverableEndTimestamp(mContext);
|
/sdk/ide_common/src/com/android/ide/common/resources/ |
IdResourceParser.java | 41 private ScanningContext mContext; 54 mContext = context; 91 mContext.addError(error); 102 mContext.addError(error); 110 ResourceRepository resources = mContext.getRepository(); 111 boolean checkForErrors = !mIsFramework && !mContext.needsFullAapt(); 142 mContext.addError(error);
|
/frameworks/base/services/java/com/android/server/ |
NetworkTimeUpdateService.java | 78 private Context mContext; 95 mContext = context; 97 mAlarmManager = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE); 99 mPendingPollIntent = PendingIntent.getBroadcast(mContext, POLL_REQUEST, pollIntent, 0); 115 mSettingsObserver.observe(mContext); 122 mContext.registerReceiver(mNitzReceiver, intentFilter); 126 mContext.registerReceiver( 138 mContext.registerReceiver(mConnectivityReceiver, intentFilter); 211 return Settings.System.getInt(mContext.getContentResolver(), Settings.System.AUTO_TIME, 0)
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
PushReceiver.java | 61 private Context mContext; 63 mContext = context; 80 PduPersister p = PduPersister.getPduPersister(mContext); 81 ContentResolver cr = mContext.getContentResolver(); 89 threadId = findThreadId(mContext, pdu, type); 100 SqliteWrapper.update(mContext, cr, uri, values, null, null); 120 if (!isDuplicateNotification(mContext, nInd)) { 123 Intent svc = new Intent(mContext, TransactionService.class); 127 mContext.startService(svc);
|
ProgressCallbackEntity.java | 36 private final Context mContext; 43 mContext = context; 86 mContext.sendBroadcast(intent);
|
/cts/tests/src/android/widget/cts/ |
GalleryStubActivity.java | 46 mContext = c; 62 ImageView i = new ImageView(mContext); 72 private Context mContext;
|
/cts/tests/tests/os/src/android/os/cts/ |
RecoverySystemTest.java | 42 mAssets = mContext.getAssets(); 47 FileOutputStream fos = mContext.openFileOutput(name, 0); 56 return mContext.getFileStreamPath(name);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
UserDictionary_WordsTest.java | 36 private Context mContext; 55 mContext = getContext(); 56 mContentResolver = mContext.getContentResolver();
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
List5.java | 45 mContext = context; 73 tv = (TextView) LayoutInflater.from(mContext).inflate( 82 private Context mContext;
|
/frameworks/base/core/java/android/server/ |
BluetoothAdapterProperties.java | 30 private final Context mContext; 35 mContext = context; 63 mContext.enforceCallingOrSelfPermission(
|
/frameworks/base/core/java/android/webkit/ |
ContentLoader.java | 55 String errString = mContext.getString( 69 mContext.getString( 76 mDataStream = mContext.getContentResolver().openInputStream(uri);
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
ListWithFooterViewAndNewLabels.java | 74 private final Context mContext; 78 mContext = context; 97 mContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
PowerUI.java | 66 mLowBatteryAlertCloseLevel = mContext.getResources().getInteger( 68 mLowBatteryReminderLevels[0] = mContext.getResources().getInteger( 70 mLowBatteryReminderLevels[1] = mContext.getResources().getInteger( 77 mContext.registerReceiver(mIntentReceiver, filter, null, mHandler); 184 CharSequence levelText = mContext.getString( 190 View v = View.inflate(mContext, R.layout.battery_low, null); 195 AlertDialog.Builder b = new AlertDialog.Builder(mContext); 207 if (intent.resolveActivity(mContext.getPackageManager()) != null) { 211 mContext.startActivity(intent); 235 final ContentResolver cr = mContext.getContentResolver() [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
BluetoothController.java | 34 private Context mContext; 41 mContext = context; 72 v.setContentDescription(mContext.getString(contentDescriptionResId));
|
DoNotDisturbController.java | 34 private Context mContext; 40 mContext = context; 58 SharedPreferences.Editor editor = Prefs.edit(mContext);
|
/frameworks/base/services/java/com/android/server/accessibility/ |
AccessibilityInputFilter.java | 37 private final Context mContext; 71 mContext = context; 79 mTouchExplorer = new TouchExplorer(this, mContext);
|
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
GSMTestHandler.java | 42 private Context mContext; 49 mContext = context; 55 mGSMPhone = new GSMPhone(mContext, sc, new TestPhoneNotifier(), true);
|
/frameworks/compile/libbcc/lib/ExecutionEngine/ |
ScriptCached.h | 70 char *mContext; 89 mContext(NULL), 135 return mContext;
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
ContactLoaderFragment.java | 101 private Context mContext; 127 mContext = activity; 182 return new ContactLoader(mContext, lookupUri, true /* loadGroupMetaData */, 263 && PhoneCapabilityTester.isPhone(mContext); 307 final CharSequence chooseTitle = mContext.getText(R.string.share_via); 311 mContext.startActivity(chooseIntent); 313 Toast.makeText(mContext, R.string.share_error, Toast.LENGTH_SHORT).show(); 322 mContext, mLookupUri, mSendToVoicemailState); 323 mContext.startService(intent); 336 Bundle authResponse = mContext.getContentResolver().call [all...] |
/packages/apps/Email/src/com/android/email/ |
ResourceHelper.java | 31 private final Context mContext; 39 mContext = context.getApplicationContext(); 40 mResources = mContext.getResources();
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
CustomMenu.java | 69 private Context mContext; 74 mContext = context; 79 DropDownMenu menu = new DropDownMenu(mContext, button, menuId, this);
|
GridDrawer.java | 30 private final Context mContext; 38 mContext = context; 85 mContext.getString(R.string.click_import),
|