/frameworks/base/core/java/android/preference/ |
GenericInflater.java | 47 protected final Context mContext; 109 mContext = context; 121 mContext = newContext; 165 return mContext; 294 mConstructorArgs[0] = mContext; 375 Class clazz = mContext.getClassLoader().loadClass( 424 T item = (mFactory == null) ? null : mFactory.onCreateItem(name, mContext, attrs);
|
/frameworks/base/core/java/android/server/ |
BluetoothBondState.java | 76 private final Context mContext; 85 mContext = context; 88 BluetoothInputProfileHandler.getInstance(mContext, mService); 92 mContext.registerReceiver(mReceiver, filter); 188 mContext.sendBroadcast(intent, BluetoothService.BLUETOOTH_PERM); 302 bluetoothAdapter.getProfileProxy(mContext, mProfileServiceListener, 307 bluetoothAdapter.getProfileProxy(mContext, mProfileServiceListener,
|
/frameworks/base/core/java/android/widget/ |
TimePicker.java | 474 String selectedDateUtterance = DateUtils.formatDateTime(mContext, 520 String text = mContext.getString(R.string.time_picker_increment_minute_button); 522 text = mContext.getString(R.string.time_picker_decrement_minute_button); 525 text = mContext.getString(R.string.time_picker_increment_hour_button); 527 text = mContext.getString(R.string.time_picker_decrement_hour_button); 531 text = mContext.getString(R.string.time_picker_increment_set_pm_button); 533 text = mContext.getString(R.string.time_picker_decrement_set_am_button);
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
AgendaByDayAdapter.java | 46 private final Context mContext; 67 mTimeZone = Utils.getTimeZone(mContext, this); 74 mContext = context; 76 mInflater = (LayoutInflater) mContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE); 196 String tz = Utils.getTimeZone(mContext, mTZUpdater); 211 mContext); 218 String dateViewText = DateUtils.formatDateRange(mContext, mFormatter, millis, millis,
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
RawContactEditorView.java | 186 CharSequence accountType = type.getDisplayLabel(mContext); 187 mAccountTypeTextView.setText(mContext.getString(R.string.external_profile_title, 193 CharSequence accountType = type.getDisplayLabel(mContext); 195 accountType = mContext.getString(R.string.account_phone); 200 mContext.getString(R.string.from_account_format, accountName)); 206 mContext.getString(R.string.account_type_format, accountType)); 208 mAccountIcon.setImageDrawable(type.getDisplayIcon(mContext));
|
/packages/apps/Email/src/com/android/email/activity/ |
MessageViewFragment.java | 194 mDefaultReplyAll = Preferences.getSharedPreferences(mContext).getBoolean( 299 Account account = Account.restoreAccountWithId(mContext, getAccountId()); 300 boolean supportsMove = account.supportsMoveMessages(mContext) 320 mContext.getResources().getString(R.string.remove_star_action)); 323 mContext.getResources().getString(R.string.set_star_action)); 488 ActivityHelper.moveMessages(mContext, newMailboxId, messageIds); 493 ActivityHelper.deleteMessage(mContext, getMessageId());
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountSetupExchangeFragment.java | 320 AccountSettingsUtils.checkPasswordSpaces(mContext, mPasswordView); 358 account.mHostAuthRecv.update(mContext, account.mHostAuthRecv.toContentValues()); 359 account.mHostAuthSend.update(mContext, account.mHostAuthSend.toContentValues()); 362 EmailServiceUtils.getExchangeService(mContext, null).hostChanged(account.mId); 367 AccountBackupRestore.backup(mContext); 422 HostAuth sendAuth = account.getOrCreateHostAuthSend(mContext); 427 HostAuth recvAuth = account.getOrCreateHostAuthRecv(mContext);
|
/packages/apps/Email/tests/src/com/android/email/ |
RefreshManagerTest.java | 39 private Context mContext; 57 mContext = getInstrumentation().getTargetContext(); 58 mController = new MockController(mContext); 60 mProviderContext = DBTestHelper.ProviderContextSetupHelper.getProviderContext(mContext); 211 assertEquals(MessagingExceptionStrings.getErrorString(mContext, EXCEPTION), 309 assertEquals(MessagingExceptionStrings.getErrorString(mContext, EXCEPTION), 364 assertEquals(MessagingExceptionStrings.getErrorString(mContext, EXCEPTION),
|
/packages/apps/Gallery/src/com/android/camera/ |
HighlightView.java | 39 View mContext; // The View displaying the image. 49 mContext = ctx; 53 android.content.res.Resources resources = mContext.getResources(); 88 mContext.getDrawingRect(viewDrawingRect); 174 mContext.invalidate(); 285 mContext.invalidate(invalRect); 345 mContext.invalidate();
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
StorageManager.java | 78 private final Context mContext; 91 mContext = context; 318 Cursor cursor = mContext.getContentResolver().query( 340 mContext.getContentResolver().delete( 378 Cursor cursor = mContext.getContentResolver().query( 423 cursor = mContext.getContentResolver().query(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, 439 mContext.getContentResolver().delete(downloadUri, null, null);
|
/frameworks/base/core/java/com/google/android/mms/pdu/ |
PduPersister.java | 272 private final Context mContext; 276 mContext = context; 282 if ((sPersister == null) || !context.equals(sPersister.mContext)) { 344 Cursor c = SqliteWrapper.query(mContext, mContentResolver, 469 Cursor c = SqliteWrapper.query(mContext, mContentResolver, 518 Cursor c = SqliteWrapper.query(mContext, mContentResolver, uri, 653 SqliteWrapper.insert(mContext, mContentResolver, uri, values); 712 Uri res = SqliteWrapper.insert(mContext, mContentResolver, uri, values); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
TabletStatusBar.java | 191 public Context getContext() { return mContext; } 194 final Context context = mContext; 195 final Resources res = mContext.getResources(); 381 final Resources res = mContext.getResources(); 404 final Resources res = mContext.getResources(); 430 final Context context = mContext; 437 mHeightReceiver = new HeightReceiver(mContext); 500 mLocationController = new LocationController(mContext); // will post a notification 502 mBatteryController = new BatteryController(mContext); 504 mBluetoothController = new BluetoothController(mContext); [all...] |
/frameworks/base/services/java/com/android/server/ |
InputMethodManagerService.java | 146 final Context mContext; 354 ContentResolver resolver = mContext.getContentResolver(); 401 String curInputMethodId = Settings.Secure.getString(mContext 429 String curInputMethodId = Settings.Secure.getString(mContext 463 si = mContext.getPackageManager().getServiceInfo( 514 mContext = context; 535 mImeSwitchPendingIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0); 543 (new MyPackageMonitor()).register(mContext, true); 549 mContext.registerReceiver(new ScreenOnOffReceiver(), screenOnOffFilt); 560 mContext.getContentResolver(), Settings.Secure.DEFAULT_INPUT_METHOD))) [all...] |
/external/v8/src/ |
platform-freebsd.cc | 659 mcontext_t& mcontext = ucontext->uc_mcontext; local 662 sample->pc = reinterpret_cast<Address>(mcontext.mc_eip); 663 sample->sp = reinterpret_cast<Address>(mcontext.mc_esp); 664 sample->fp = reinterpret_cast<Address>(mcontext.mc_ebp); 666 sample->pc = reinterpret_cast<Address>(mcontext.mc_rip); 667 sample->sp = reinterpret_cast<Address>(mcontext.mc_rsp); 668 sample->fp = reinterpret_cast<Address>(mcontext.mc_rbp); 670 sample->pc = reinterpret_cast<Address>(mcontext.mc_r15); 671 sample->sp = reinterpret_cast<Address>(mcontext.mc_r13); 672 sample->fp = reinterpret_cast<Address>(mcontext.mc_r11) [all...] |
/frameworks/base/core/java/android/view/ |
VolumePanel.java | 95 protected Context mContext; 194 mContext = context; 235 lp.y = mContext.getResources().getDimensionPixelOffset( 263 mContext.registerReceiver(new BroadcastReceiver() { 281 final int silentableStreams = System.getInt(mContext.getContentResolver(), 285 LayoutInflater inflater = (LayoutInflater) mContext 288 Resources res = mContext.getResources(); 457 mContext, RingtoneManager.TYPE_RINGTONE); 494 mContext, RingtoneManager.TYPE_NOTIFICATION); 702 boolean vibeInSilent = Settings.System.getInt(mContext.getContentResolver() [all...] |
LayoutInflater.java | 69 protected final Context mContext; 187 mContext = context; 199 mContext = newContext; 237 return mContext; 428 mConstructorArgs[0] = mContext; 464 temp = new BlinkLayout(mContext, attrs); 552 clazz = mContext.getClassLoader().loadClass( 570 clazz = mContext.getClassLoader().loadClass( 668 if (mFactory2 != null) view = mFactory2.onCreateView(parent, name, mContext, attrs); 669 else if (mFactory != null) view = mFactory.onCreateView(name, mContext, attrs) [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
AlertController.java | 61 private final Context mContext; 183 mContext = context; 387 TypedArray a = mContext.obtainStyledAttributes( 555 if (shouldCenterSingleButton(mContext)) { 738 public final Context mContext; 791 mContext = context; 859 mContext, dialog.mMultiChoiceItemLayout, R.id.text1, mItems) { 873 adapter = new CursorAdapter(mContext, mCursor, false) { [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
InputManager.java | 62 private final Context mContext; 133 this.mContext = context; 140 nativeInit(mContext, mCallbacks, looper.getQueue()); 441 mContext.getContentResolver().registerContentObserver( 454 speed = Settings.System.getInt(mContext.getContentResolver(), 467 mContext.getContentResolver().registerContentObserver( 480 result = Settings.System.getInt(mContext.getContentResolver(), 593 return mContext.checkPermission( 600 return mContext.getResources().getInteger( 693 return PointerIcon.getDefaultIcon(mContext); [all...] |
/packages/apps/Contacts/src/com/android/contacts/calllog/ |
CallLogAdapter.java | 63 private final Context mContext; 157 mContext.startActivity(intentProvider.getIntent(mContext)); 167 mContext.startActivity(intentProvider.getIntent(mContext)); 200 mContext = context; 208 Resources resources = mContext.getResources(); 211 mContactPhotoManager = ContactPhotoManager.getInstance(mContext); 632 mContext.getContentResolver().update(Calls.CONTENT_URI_WITH_VOICEMAIL, values, 711 Cursor phonesCursor = mContext.getContentResolver().query [all...] |
/packages/apps/Exchange/src/com/android/exchange/ |
EasSyncService.java | 411 account.update(service.mContext, cv); 439 svc.mContext = context; 465 mContext = context; [all...] |
/frameworks/base/core/tests/coretests/src/android/app/ |
DownloadManagerBaseTest.java | 64 protected Context mContext = null; 192 private Context mContext = null; 202 mContext = context; 224 ConnectivityManager connManager = (ConnectivityManager)mContext.getSystemService( 237 mContext = getInstrumentation().getContext(); 238 mDownloadManager = (DownloadManager)mContext.getSystemService(Context.DOWNLOAD_SERVICE); 471 mContext.registerReceiver(receiver, new IntentFilter( 516 WifiManager manager = (WifiManager)mContext.getSystemService(Context.WIFI_SERVICE); 523 WiFiChangedReceiver receiver = new WiFiChangedReceiver(mContext); 524 mContext.registerReceiver(receiver, new IntentFilter [all...] |
/packages/apps/Contacts/src/com/android/contacts/group/ |
GroupEditorFragment.java | 170 private Context mContext; 218 mContext = activity; 219 mPhotoManager = ContactPhotoManager.getInstance(mContext); 314 AccountTypeManager.getInstance(mContext).getAccounts(true /* writeable */); 357 return AccountTypeManager.getInstance(mContext).getAccountType(mAccountType, mDataSet); 412 CharSequence accountTypeDisplayLabel = accountType.getDisplayLabel(mContext); 418 mContext.getString(R.string.from_account_format, mAccountName)); 421 accountIcon.setImageDrawable(accountType.getDisplayIcon(mContext)); 428 mAutoCompleteAdapter = new SuggestedMemberListAdapter(mContext, 629 Toast.makeText(mContext, success ? R.string.groupSavedToast [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
PhoneStatusBar.java | 249 mDisplay = ((WindowManager)mContext.getSystemService(Context.WINDOW_SERVICE)) 262 mIconPolicy = new PhoneStatusBarPolicy(mContext); 269 final Context context = mContext; 350 mLocationController = new LocationController(mContext); // will post a notification 351 mBatteryController = new BatteryController(mContext); 353 mNetworkController = new NetworkController(mContext); 407 LinearLayout tmpRoot = new LinearLayout(mContext); 408 mRecentsPanel = (RecentsPanelView) LayoutInflater.from(mContext).inflate( 430 final Resources res = mContext.getResources(); 505 lp.packageName = mContext.getPackageName() [all...] |
/frameworks/base/core/java/android/webkit/ |
BrowserFrame.java | 74 private final Context mContext; 242 mContext = context; 361 description = ErrorStrings.getString(errorCode, mContext); 659 InputStream stream = mContext.getContentResolver() 680 InputStream stream = mContext.getContentResolver() 733 final Class<?> d = mContext.getApplicationContext() 735 mContext.getPackageName() + ".R$" 740 mContext.getResources().getValue(id, value, true); 742 return mContext.getAssets().openNonAsset( 759 AssetManager assets = mContext.getAssets() [all...] |
CallbackProxy.java | 78 private final Context mContext; 153 mContext = context; 234 mContext.getPackageName()); 236 mContext.startActivity(intent); 526 new AlertDialog.Builder(mContext) 562 new AlertDialog.Builder(mContext) 608 .from(mContext); 616 new AlertDialog.Builder(mContext) 663 final String m = mContext.getString( 665 new AlertDialog.Builder(mContext) [all...] |