HomeSort by relevance Sort by last modified time
    Searched full:mcontext (Results 151 - 175 of 1623) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
InputDialogContainer.java 64 private Context mContext;
91 mContext = context;
124 DatePickerDialog dialog = new DatePickerDialog(mContext,
129 dialog.setTitle(mContext.getText(R.string.date_picker_dialog_title));
132 mDialog = TimeDialog.create(mContext, new TimeListener(dialogType),
133 time.hour, time.minute, DateFormat.is24HourFormat(mContext),
137 mDialog = new DateTimePickerDialog(mContext,
140 time.hour, time.minute, DateFormat.is24HourFormat(mContext),
143 mDialog = new MonthPickerDialog(mContext, new MonthOrWeekListener(dialogType),
151 mDialog = new WeekPickerDialog(mContext, new MonthOrWeekListener(dialogType)
    [all...]
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
SettingsHelper.java 39 private Context mContext;
43 mContext = context;
106 ringtoneUri = mContext.getContentResolver().uncanonicalize(canonicalUri);
114 RingtoneManager.setActualDefaultRingtoneUri(mContext, ringtoneType, ringtoneUri);
119 final Uri canonicalUri = mContext.getContentResolver().canonicalize(ringtoneUri);
133 return Settings.Secure.getInt(mContext.getContentResolver(), name, 0) != 0;
137 mContext.getContentResolver(), name));
153 UserManager um = (UserManager) mContext.getSystemService(Context.USER_SERVICE);
164 mContext.getContentResolver(), GPS, enabled);
188 Configuration conf = mContext.getResources().getConfiguration()
    [all...]
  /frameworks/base/policy/src/com/android/internal/policy/impl/
PhoneFallbackEventHandler.java 42 Context mContext;
51 mContext = context;
125 mContext.startActivity(intent);
146 mContext.sendOrderedBroadcastAsUser(intent, UserHandle.CURRENT_OR_SELF,
159 Configuration config = mContext.getResources().getConfiguration();
169 mContext.startActivity(intent);
200 AudioManager audioManager = (AudioManager)mContext.getSystemService(
253 mContext.startActivity(intent);
261 mSearchManager = (SearchManager) mContext.getSystemService(Context.SEARCH_SERVICE);
268 mTelephonyManager = (TelephonyManager)mContext.getSystemService
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
Config.java 77 private final Context mContext;
86 mContext = context;
90 return mContext;
103 String[] items = mContext.getResources().getStringArray(res);
122 return mContext.getResources().getInteger(R.integer.num_suggestions_above_keyboard);
129 return mContext.getResources().getInteger(R.integer.max_promoted_suggestions);
133 return mContext.getResources().getInteger(R.integer.max_promoted_results);
147 return mContext.getResources().getInteger(R.integer.max_shortcuts_per_web_source);
154 return mContext.getResources().getInteger(R.integer.max_shortcuts_per_non_web_source);
268 return mContext.getResources().getBoolean(R.bool.show_zero_query_suggestions)
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/handover/
BluetoothHeadsetHandover.java 79 final Context mContext;
104 mContext = context;
134 mContext.registerReceiver(mReceiver, filter);
204 toast(mContext.getString(R.string.disconnecting_headset ) + " " +
216 toast(mContext.getString(R.string.disconnected_headset) + " " + mName);
225 if(!mBluetoothAdapter.getProfileProxy(mContext, this, BluetoothProfile.HEADSET))
228 if(!mBluetoothAdapter.getProfileProxy(mContext, this, BluetoothProfile.A2DP))
268 toast(mContext.getString(R.string.connecting_headset) + " " + mName + "...");
280 toast(mContext.getString(R.string.connected_headset) + " " + mName);
284 toast (mContext.getString(R.string.connect_headset_failed) + " " + mName)
    [all...]
  /cts/tests/tests/content/src/android/content/pm/cts/
ActivityInfoTest.java 50 ComponentName componentName = new ComponentName(mContext, MockActivity.class);
52 mActivityInfo = mContext.getPackageManager().getActivityInfo(
77 ComponentName componentName = new ComponentName(mContext, MockActivity.class);
79 mActivityInfo = mContext.getPackageManager().getActivityInfo(
96 ComponentName componentName = new ComponentName(mContext, MockActivity.class);
98 mActivityInfo = mContext.getPackageManager().getActivityInfo(
ApplicationInfoTest.java 51 mApplicationInfo = mContext.getPackageManager().getApplicationInfo(mPackageName, 0);
80 mApplicationInfo = mContext.getPackageManager().getApplicationInfo(mPackageName, 0);
99 mApplicationInfo = mContext.getPackageManager().getApplicationInfo(mPackageName, 0);
101 assertNull(mApplicationInfo.loadDescription(mContext.getPackageManager()));
104 assertEquals(mContext.getResources().getString(R.string.hello_world),
105 mApplicationInfo.loadDescription(mContext.getPackageManager()));
  /external/chromium_org/media/base/android/java/src/org/chromium/media/
AudioManagerAndroid.java 35 private final Context mContext;
59 mContext = context;
60 mAudioManager = (AudioManager)mContext.getSystemService(Context.AUDIO_SERVICE);
86 mContext.registerReceiver(mReceiver, filter);
91 mContext.unregisterReceiver(mReceiver);
156 return mContext.getPackageManager().hasSystemFeature(
  /frameworks/base/core/java/com/android/internal/view/
StandaloneActionMode.java 34 private Context mContext;
45 mContext = context;
66 setTitle(mContext.getString(resId));
71 setSubtitle(mContext.getString(resId));
129 return new MenuInflater(mContext);
144 new MenuPopupHelper(mContext, subMenu).show();
  /frameworks/base/services/java/com/android/server/
DeviceStorageMonitorService.java 89 private Context mContext;
317 mContext = context;
318 mResolver = mContext.getContentResolver();
366 (NotificationManager)mContext.getSystemService(
368 CharSequence title = mContext.getText(
370 CharSequence details = mContext.getText(
372 PendingIntent intent = PendingIntent.getActivityAsUser(mContext, 0, lowMemIntent, 0,
378 notification.setLatestEventInfo(mContext, title, details, intent);
381 mContext.sendStickyBroadcastAsUser(mStorageLowIntent, UserHandle.ALL);
390 (NotificationManager)mContext.getSystemService
    [all...]
UpdateLockService.java 43 Context mContext;
66 mContext = context;
82 mContext.sendStickyBroadcastAsUser(intent, UserHandle.ALL);
94 mContext.enforceCallingOrSelfPermission(PERMISSION, "acquireUpdateLock");
104 mContext.enforceCallingOrSelfPermission(PERMISSION, "releaseUpdateLock");
116 if (mContext.checkCallingOrSelfPermission(android.Manifest.permission.DUMP)
  /packages/apps/Contacts/src/com/android/contacts/detail/
ContactDetailPhotoSetter.java 48 private final Context mContext;
56 mContext = context;
71 mContext.getResources().getCompatibilityInfo().applicationScale;
86 Intent photoSelectionIntent = PhotoSelectionActivity.buildIntent(mContext,
92 ContactPhotoManager.getInstance(mContext).cacheBitmap(
95 mContext.startActivity(photoSelectionIntent);
  /packages/apps/Mms/src/com/android/mms/transaction/
SmsSingleRecipientSender.java 59 mDest = Conversation.verifySingleRecipient(mContext, mThreadId, mDest);
69 boolean moved = Sms.moveMessageToFolder(mContext, mUri, Sms.MESSAGE_TYPE_OUTBOX, 0);
87 mContext, 0,
91 mContext,
99 mContext,
113 sentIntents.add(PendingIntent.getBroadcast(mContext, requestCode, intent, 0));
NotificationTransaction.java 185 PduPersister p = PduPersister.getPduPersister(mContext);
187 MessagingPreferenceActivity.getIsGroupMmsEnabled(mContext), null);
192 SqliteWrapper.update(mContext, mContext.getContentResolver(),
197 SqliteWrapper.delete(mContext, mContext.getContentResolver(),
201 SqliteWrapper.delete(mContext, mContext.getContentResolver(),
230 Recycler.getMmsRecycler().deleteOldMessagesInSameThreadAsMessage(mContext, mUri);
231 MmsWidgetProvider.notifyDatasetChanged(mContext);
    [all...]
  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothEnabler.java 38 private final Context mContext;
55 mContext = context;
79 mContext.registerReceiver(mReceiver, mIntentFilter);
89 mContext.unregisterReceiver(mReceiver);
111 !WirelessSettings.isRadioAllowed(mContext, Settings.Global.RADIO_BLUETOOTH)) {
112 Toast.makeText(mContext, R.string.wifi_in_airplane_mode, Toast.LENGTH_SHORT).show();
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/widget/
WidgetCtsService.java 44 Context mContext;
47 mContext = context;
61 RemoteViews rv = new RemoteViews(mContext.getPackageName(), R.layout.list_item);
  /cts/tests/tests/text/src/android/text/format/cts/
DateFormatTest.java 36 private Context mContext;
54 mContext = getContext();
55 mContentResolver = mContext.getContentResolver();
56 mIs24HourFormat = DateFormat.is24HourFormat(mContext);
58 mDefaultFormat = Settings.System.getString(mContext.getContentResolver(),
77 assertTrue(DateFormat.is24HourFormat(mContext));
79 assertFalse(DateFormat.is24HourFormat(mContext));
126 java.text.DateFormat dateFormat = DateFormat.getDateFormat(mContext);
135 dateFormat = DateFormat.getLongDateFormat(mContext);
139 dateFormat = DateFormat.getMediumDateFormat(mContext);
    [all...]
  /development/samples/SampleSyncAdapter/tests/src/com/example/android/samplesync/authenticator/
AuthenticatorActivityTest.java 37 private Context mContext;
53 mContext = mInstrumentation.getTargetContext();
70 Intent intent = new Intent(mContext, AuthenticatorActivity.class);
  /external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/identity/
SettingsSecureBasedIdentificationGeneratorTest.java 63 private final AdvancedMockContext mContext;
68 mContext = context;
74 mContext.setFlag(FLAG_ANDROID_ID);
  /frameworks/base/services/java/com/android/server/net/
LockdownVpnTracker.java 66 private final Context mContext;
89 mContext = Preconditions.checkNotNull(context);
97 mConfigIntent = PendingIntent.getActivity(mContext, 0, configIntent, 0);
101 mResetIntent = PendingIntent.getBroadcast(mContext, 0, resetIntent, 0);
212 mContext.registerReceiver(mResetReceiver, resetFilter, CONNECTIVITY_INTERNAL, null);
251 mContext.unregisterReceiver(mResetReceiver);
307 final Notification.Builder builder = new Notification.Builder(mContext);
310 builder.setContentTitle(mContext.getString(titleRes));
311 builder.setContentText(mContext.getString(R.string.vpn_lockdown_config));
316 R.drawable.ic_menu_refresh, mContext.getString(R.string.reset), mResetIntent)
    [all...]
  /frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
Service.java 34 private final Context mContext;
39 mContext = context;
45 return mContext;
  /frameworks/base/tests/BiDiTests/src/com/android/bidi/
BiDiTestGalleryImages.java 27 private Context mContext;
43 mContext = c;
63 ImageView i = new ImageView(mContext);
  /frameworks/compile/slang/
slang_rs_pragma_handler.h 36 RSContext *mContext;
40 mContext(Context) {
44 return this->mContext;
  /packages/apps/Dialer/src/com/android/dialer/util/
EmptyLoader.java 41 private final Context mContext;
44 mContext = context.getApplicationContext();
49 return new EmptyLoader(mContext);
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
SelectionMenu.java 31 private final Context mContext;
36 mContext = context;
53 item.setTitle(mContext.getString(

Completed in 1405 milliseconds

1 2 3 4 5 67 8 91011>>