HomeSort by relevance Sort by last modified time
    Searched full:getcontext (Results 276 - 300 of 3316) sorted by null

<<11121314151617181920>>

  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowTabHost.java 96 if (getContext() instanceof Activity) {
97 v = ((Activity) getContext()).findViewById(viewId);
  /frameworks/base/core/java/android/preference/
PreferenceInflater.java 74 intent = Intent.parseIntent(getContext().getResources(), parser, attrs);
88 getContext().getResources().parseBundleExtra(EXTRA_TAG_NAME, attrs,
  /frameworks/base/core/java/android/widget/
DigitalClock.java 65 getContext().getContentResolver().registerContentObserver(
101 mFormat = DateFormat.getTimeFormatString(getContext());
  /frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
BluetoothInstrumentation.java 36 mUtils = new BluetoothTestUtils(getContext(),
44 mAdapter = ((BluetoothManager)getContext().getSystemService(
  /frameworks/base/core/tests/coretests/src/android/content/
RestrictionsManagerTest.java 37 String packageName = getContext().getPackageName();
66 String packageName = getContext().getPackageName();
  /frameworks/base/core/tests/coretests/src/android/os/
MessengerTest.java 96 getContext().bindService(new Intent(mContext, MessengerService.class),
111 getContext().unbindService(mConnection);
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
CarrierText.java 150 getContext().getText(R.string.keyguard_missing_sim_message_short),
158 getContext().getText(com.android.internal.R.string.emergency_calls_only);
159 Intent i = getContext().registerReceiver(null,
178 getContext().getText(R.string.keyguard_missing_sim_message_short), text);
185 displayText = getContext().getString(R.string.airplane_mode);
254 carrierText = getContext().getText(
264 getContext().getText(R.string.keyguard_sim_locked_message),
270 getContext().getText(R.string.keyguard_sim_puk_locked_message),
  /frameworks/base/services/tests/servicestests/src/com/android/server/
CountryDetectorServiceTest.java 68 CountryDetectorServiceTester serviceTester = new CountryDetectorServiceTester(getContext());
79 CountryDetectorServiceTester serviceTester = new CountryDetectorServiceTester(getContext());
LockSettingsStorageTests.java 42 mStorageDir = new File(getContext().getFilesDir(), "locksettings");
43 mDb = getContext().getDatabasePath("locksettings.db");
49 final Context ctx = getContext();
73 mStorage = new LockSettingsStorage(getContext(), new LockSettingsStorage.Callback() {
297 LockSettingsStorage storage = new LockSettingsStorage(getContext(), null);
304 LockSettingsStorage storage = new LockSettingsStorage(getContext(), null);
311 LockSettingsStorage storage = new LockSettingsStorage(getContext(), null);
318 LockSettingsStorage storage = new LockSettingsStorage(getContext(), null);
  /frameworks/compile/libbcc/include/bcc/
Source.h 67 inline BCCContext &getContext()
69 inline const BCCContext &getContext() const
  /frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
BottomScrollViewTest.java 65 final BottomScrollView bottomScrollView = new TestBottomScrollView(getContext());
68 final View child = new TestChildView(getContext(), childHeight);
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DcTesterDeactivateAll.java 81 phone.getContext().registerReceiver(sIntentReceiver, filter, null, handler);
87 mPhone.getContext().unregisterReceiver(sIntentReceiver);
  /frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
PropertyNodesVerifier.java 47 verify(mAndroidTestCase.getContext().getResources().openRawResource(resId), vcardType);
52 verify(mAndroidTestCase.getContext().getResources().openRawResource(resId),
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
SubMenuBuilder.java 104 super.setHeaderIconInt(ContextCompat.getDrawable(getContext(), iconRes));
114 super.setHeaderTitleInt(getContext().getResources().getString(titleRes));
  /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastListItem.java 73 mDateView.setText(message.getDateString(getContext()));
93 event.getText().add(mCbMessage.getSpokenDateString(getContext()));
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ContactListPinnedHeaderView.java 41 TypedArray a = getContext().obtainStyledAttributes(attrs, R.styleable.ContactListItemView);
54 setTextAppearance(getContext(), R.style.SectionHeaderStyle);
  /packages/apps/Email/provider_src/com/android/email/provider/
AttachmentProvider.java 84 final File[] files = getContext().getCacheDir().listFiles();
113 Cursor c = getContext().getContentResolver().query(uri, MIME_TYPE_PROJECTION, null,
148 Context context = getContext();
176 File dir = getContext().getCacheDir();
194 String type = getContext().getContentResolver().getType(attachmentUri);
197 getContext().getContentResolver().openInputStream(attachmentUri);
221 new File(getContext().getDatabasePath(accountId + ".db_att"), id),
268 Cursor c = getContext().getContentResolver().query(uri, PROJECTION_QUERY,
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
ProcessingTask.java 79 public Context getContext() {
80 return mTaskController.getContext();
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
EventLogLogger.java 48 protected Context getContext() {
53 return QsbApplication.get(getContext()).getVersionCode();
  /packages/apps/Settings/src/com/android/settings/vpn2/
AppDialog.java 62 setMessage(getContext().getString(R.string.vpn_version, mPackageInfo.versionName));
69 Context context = getContext();
  /packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/
DialogAdapter.java 44 View v = LayoutInflater.from(parent.getContext()).inflate(R.layout.dialog_setting, parent,
66 v.getContext().getResources()
  /packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/
EmlMessageLoaderTest.java 43 IsolatedContext context = new IsolatedContext(resolver, getContext());
68 EmlMessageLoader loader = new EmlMessageLoader(getContext(), emptyEmlUri);
MessageHeaderViewTest.java 34 String summary = MessageHeaderView.getRecipientSummaryText(getContext(), "", "", to, cc,
47 String summary = MessageHeaderView.getRecipientSummaryText(getContext(), "", "", to, cc,
  /packages/providers/DownloadProvider/tests/permission/src/com/android/providers/downloads/permission/tests/
DownloadProviderPermissionsTest.java 43 mContentResolver = getContext().getContentResolver();
97 getContext().startService(downloadServiceIntent);
  /packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
UserDictionaryProvider.java 140 mOpenHelper = new DatabaseHelper(getContext());
141 mBackupManager = new BackupManager(getContext());
142 mImeManager = getContext().getSystemService(InputMethodManager.class);
143 mTextServiceManager = getContext().getSystemService(TextServicesManager.class);
186 c.setNotificationUri(getContext().getContentResolver(), uri);
245 getContext().getContentResolver().notifyChange(wordUri, null);
277 getContext().getContentResolver().notifyChange(uri, null);
306 getContext().getContentResolver().notifyChange(uri, null);

Completed in 1342 milliseconds

<<11121314151617181920>>