/packages/apps/Nfc/src/com/android/nfc/ |
P2pEventManager.java | 38 final Context mContext; 54 mContext = context; 57 mStartSound = mSoundPool.load(mContext, R.raw.start, 1); 58 mEndSound = mSoundPool.load(mContext, R.raw.end, 1); 59 mErrorSound = mSoundPool.load(mContext, R.raw.error, 1); 61 mNotificationManager = (NotificationManager) mContext.getSystemService(
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
SearchableCorpusFactory.java | 36 private final Context mContext; 46 mContext = context; 60 return mContext; 120 return new WebCorpus(mContext, mConfig, mSettings, executor, webSource, browserSource); 125 return new AppsCorpus(mContext, mConfig, appsSource); 130 return new SingleSourceCorpus(mContext, mConfig, source);
|
Help.java | 30 private final Context mContext; 34 mContext = context; 45 MenuInflater inflater = new MenuInflater(mContext);
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
BluetoothEnabler.java | 38 private final Context mContext; 53 mContext = context; 76 mContext.registerReceiver(mReceiver, mIntentFilter); 85 mContext.unregisterReceiver(mReceiver); 106 !WirelessSettings.isRadioAllowed(mContext, Settings.System.RADIO_BLUETOOTH)) { 107 Toast.makeText(mContext, R.string.wifi_in_airplane_mode, Toast.LENGTH_SHORT).show();
|
/packages/apps/Settings/src/com/android/settings/wifi/p2p/ |
WifiP2pEnabler.java | 38 private final Context mContext; 57 mContext = context; 62 mChannel = mWifiP2pManager.initialize(mContext, mContext.getMainLooper(), null); 78 mContext.registerReceiver(mReceiver, mIntentFilter); 84 mContext.unregisterReceiver(mReceiver);
|
/cts/tests/tests/text/src/android/text/format/cts/ |
DateFormatTest.java | 40 private Context mContext; 57 mContext = getContext(); 58 mContentResolver = mContext.getContentResolver(); 59 mIs24HourFormat = DateFormat.is24HourFormat(mContext); 61 mDefaultFormat = Settings.System.getString(mContext.getContentResolver(), 85 assertTrue(DateFormat.is24HourFormat(mContext)); 87 assertFalse(DateFormat.is24HourFormat(mContext)); 138 java.text.DateFormat dateFormat = DateFormat.getDateFormat(mContext); 147 dateFormat = DateFormat.getLongDateFormat(mContext); 151 dateFormat = DateFormat.getMediumDateFormat(mContext); [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
ViewStubTest.java | 47 private Context mContext; 57 mContext = getInstrumentation().getContext(); 92 new ViewStub(mContext); 94 new ViewStub(mContext, 10); 96 new ViewStub(mContext, attrs); 98 new ViewStub(mContext, attrs, 30); 108 ViewStub viewStub = new ViewStub(mContext); 143 final ViewStub viewStub2 = new ViewStub(mContext); 166 ViewStub viewStub = new ViewStub(mContext); 185 ViewStub viewStub = new ViewStub(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);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
AutoRotateController.java | 36 private Context mContext; 42 mContext = context; 56 ContentResolver cr = mContext.getContentResolver();
|
VolumeController.java | 33 private Context mContext; 41 mContext = context; 57 boolean vibeInSilent = (1 == Settings.System.getInt(mContext.getContentResolver(),
|
BatteryController.java | 35 private Context mContext; 40 mContext = context; 67 v.setContentDescription(mContext.getString(R.string.accessibility_battery_level, 73 v.setText(mContext.getString(R.string.status_bar_settings_battery_meter_format,
|
/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/Contacts/src/com/android/contacts/list/ |
ContactListFilterController.java | 36 private Context mContext; 43 mContext = activity; 74 return PreferenceManager.getDefaultSharedPreferences(mContext);
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountSettingsEditQuickResponsesFragment.java | 61 private Context mContext; 72 private final Context mContext; 95 EmailContent.delete(mContext, quickResponse.getBaseUri(), 119 mContext = context; 144 private final Context mContext; 172 mContext = context; 181 mContext, mAccountId); 190 mContext, 196 mContext, 246 mContext = getActivity() [all...] |
/packages/apps/Email/src/com/android/email/service/ |
PolicyService.java | 31 private Context mContext; 47 SecurityPolicy.setAccountHoldFlag(mContext, accountId, newState); 70 mContext = this;
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
StateManager.java | 42 private GalleryActivity mContext; 48 mContext = context; 64 state.initialize(mContext, data); 84 state.initialize(mContext, data); 103 ((Activity) mContext).setProgressBarIndeterminateVisibility(false); 142 Activity activity = (Activity) mContext; 145 ((Activity) mContext).startActivity(intent); 177 mContext.getGLRoot().setContentPane(null); 182 Activity activity = (Activity) mContext.getAndroidContext(); 192 ((Gallery) mContext).startDefaultPage() [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/ |
ClearUserDictionaryDialogPreferenceEN.java | 32 protected Context mContext = null; 42 mContext = context; 62 Toast.makeText(mContext.getApplicationContext(), R.string.dialog_clear_user_dictionary_done,
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
ClearLearnDictionaryDialogPreferenceJAJP.java | 32 protected Context mContext = null; 42 mContext = context; 62 Toast.makeText(mContext.getApplicationContext(), R.string.dialog_clear_learning_dictionary_done,
|
ClearUserDictionaryDialogPreferenceJAJP.java | 32 protected Context mContext = null; 42 mContext = context; 62 Toast.makeText(mContext.getApplicationContext(), R.string.dialog_clear_user_dictionary_done,
|
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_VideoTest.java | 43 private Context mContext; 61 mContext = getInstrumentation().getTargetContext(); 62 mContentResolver = mContext.getContentResolver(); 63 mHelper = new FileCopyHelper(mContext);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
ButtonTest.java | 60 XmlPullParser parser = mContext.getResources().getXml(R.layout.togglebutton_layout); 63 new Button(mContext, attrs, 0); 64 new Button(mContext, attrs); 65 new Button(mContext);
|
CheckBoxTest.java | 56 XmlPullParser parser = mContext.getResources().getXml(R.layout.checkbox_layout); 59 new CheckBox(mContext, mAttrSet, 0); 60 new CheckBox(mContext, mAttrSet); 61 new CheckBox(mContext);
|
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/ |
UnfoldSelect.h | 30 TParseContext &mContext;
|
/frameworks/base/core/java/android/server/search/ |
SearchManagerService.java | 48 private final Context mContext; 62 mContext = context; 63 mContext.registerReceiver(new BootCompletedReceiver(), 66 mContext.getContentResolver()); 72 new MyPackageMonitor().register(mContext, true); 73 mSearchables = new Searchables(mContext); 89 mContext.unregisterReceiver(BootCompletedReceiver.this); 117 mContext.sendBroadcast(intent); 138 mContext.sendBroadcast(intent);
|