HomeSort by relevance Sort by last modified time
    Searched full:getcontext (Results 251 - 275 of 7204) sorted by null

<<11121314151617181920>>

  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
AdapterViewBehavior.java 66 View emptyView = new View(adapterView.getContext());
76 View emptyView = new View(adapterView.getContext());
86 View emptyView = new View(adapterView.getContext());
97 View emptyView = new View(adapterView.getContext());
115 View emptyView = new View(adapterView.getContext());
  /frameworks/base/core/tests/coretests/src/android/app/activity/
BroadcastTest.java 181 getContext().registerReceiver(mReceiver, filter, permission, null);
193 getContext().unregisterReceiver(mReceiver);
280 getContext().sendOrderedBroadcast(
315 Intent sticky = getContext().registerReceiver(null, filter);
331 Intent sticky = getContext().registerReceiver(null, filter);
345 Intent sticky = getContext().registerReceiver(null, filter);
377 getContext().sendBroadcast(makeBroadcastIntent(BROADCAST_REGISTERED));
392 getContext().sendOrderedBroadcast(
402 getContext().sendBroadcast(
419 getContext().sendOrderedBroadcast
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
RadioListPreference.java 68 Dialog d = new Dialog(getContext(), android.R.style.Theme_DeviceDefault_Settings);
70 View v = new View(getContext());
74 t.setNavigationIcon(Utils.getDrawable(d.getContext(), android.R.attr.homeAsUpIndicator));
108 Context context = getPreferenceManager().getContext();
117 Context context = getPreferenceManager().getContext();
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
SysuiTestCase.java 52 InstrumentationRegistry.getContext(), getLeakCheck());
66 when(inst.getContext()).thenAnswer(invocation -> {
68 "SysUI Tests should use SysuiTestCase#getContext or SysuiTestCase#mContext");
72 "SysUI Tests should use SysuiTestCase#getContext or SysuiTestCase#mContext");
88 public SysuiTestableContext getContext() {
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/
FramedTextButton.java 64 setText(getContext().getString(R.string.curves_channel_rgb));
68 setText(getContext().getString(R.string.curves_channel_red));
72 setText(getContext().getString(R.string.curves_channel_green));
76 setText(getContext().getString(R.string.curves_channel_blue));
92 TypedArray a = getContext().obtainStyledAttributes(
  /packages/apps/Settings/src/com/android/settings/accounts/
AccountPreference.java 142 return getContext().getString(R.string.accessibility_sync_enabled);
144 return getContext().getString(R.string.accessibility_sync_disabled);
146 return getContext().getString(R.string.accessibility_sync_error);
148 return getContext().getString(R.string.accessibility_sync_in_progress);
151 return getContext().getString(R.string.accessibility_sync_error);
  /packages/apps/Settings/src/com/android/settings/applications/defaultapps/
DefaultEmergencyPicker.java 55 final Context context = getContext();
82 return Utils.isPackageDirectBootAware(getContext(), info.getKey()) ? null
83 : getContext().getString(R.string.direct_boot_unaware_dialog_message);
88 return Settings.Secure.getString(getContext().getContentResolver(),
94 final ContentResolver contentResolver = getContext().getContentResolver();
  /packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
ConfirmDeletionDialog.java 62 final Context context = getContext();
84 MetricsLogger.action(getContext(),
87 getContext(), System.currentTimeMillis())) {
99 MetricsLogger.action(getContext(),
122 return getContext().getSharedPreferences(Constants.SHARED_PREFERENCE_NAME,
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessibility/
AccessibilityShortcutFragment.java 57 boolean shortcutEnabled = Settings.Secure.getInt(getContext().getContentResolver(),
67 final List<AccessibilityServiceInfo> installedServices = getContext()
70 final PackageManager packageManager = getContext().getPackageManager();
71 final String currentService = getCurrentService(getContext());
81 Settings.Secure.putInt(getContext().getContentResolver(),
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/accounts/
AccountsChangedReceiverTests.java 41 mPrefs = PreferenceManager.getDefaultSharedPreferences(getContext());
56 reciever.onReceive(getContext(), new Intent("some-random-action"));
69 reciever.onReceive(getContext(), new Intent(AccountManager.LOGIN_ACCOUNTS_CHANGED_ACTION));
82 reciever.onReceive(getContext(), new Intent(AccountManager.LOGIN_ACCOUNTS_CHANGED_ACTION));
95 reciever.onReceive(getContext(), new Intent(AccountManager.LOGIN_ACCOUNTS_CHANGED_ACTION));
  /packages/services/BuiltInPrintService/src/com/android/bips/ui/
AddP2pPrinterDialog.java 43 super(fragment.getContext());
54 setTitle(getContext().getString(R.string.connecting_to, mPeer.deviceName));
55 setButton(AlertDialog.BUTTON_NEGATIVE, getContext().getString(android.R.string.cancel),
92 new AlertDialog.Builder(getContext())
93 .setTitle(getContext().getString(R.string.failed_connection,
AddPrintersFragment.java 79 getContext().bindService(new Intent(getContext(), BuiltInPrintService.class), this,
88 getContext().unbindService(this);
129 PrinterPreference pref = new PrinterPreference(getContext(), mPrintService,
148 new AlertDialog.Builder(getContext())
  /packages/services/Telephony/src/com/android/phone/
NetworkOperatorPreference.java 71 networkTitle += " " + getContext().getResources().getString(R.string.forbidden_network);
105 Context context = getContext();
111 SignalDrawable signalDrawable = new SignalDrawable(getContext());
120 : getContext()
121 .getResources().getDrawable(iconType, getContext().getTheme());
  /frameworks/support/media/version-compat-tests/current/service/src/androidTest/java/android/support/mediacompat/service/
MediaSessionCompatCallbackTest.java 62 import static android.support.test.InstrumentationRegistry.getContext;
145 mAudioManager = (AudioManager) getContext().getSystemService(Context.AUDIO_SERVICE);
174 assertEquals(errorMsg, getContext().getPackageName(), controller.getPackageName());
212 getContext(), mSession.getMediaSession());
302 getContext(), (MediaSession.Token) mSession.getSessionToken().getToken());
319 callTransportControlsMethod(PLAY, null, getContext(), mSession.getSessionToken());
336 SEND_COMMAND, arguments, getContext(), mSession.getSessionToken());
358 ADD_QUEUE_ITEM, itemDescription1, getContext(), mSession.getSessionToken());
371 ADD_QUEUE_ITEM_WITH_INDEX, arguments, getContext(), mSession.getSessionToken());
381 REMOVE_QUEUE_ITEM, itemDescription1, getContext(), mSession.getSessionToken())
    [all...]
  /packages/apps/Car/Settings/src/com/android/car/settings/wifi/
AddWifiFragment.java 67 Toast.makeText(getContext(),
95 mAccessPoint = new AccessPoint(getContext(), getArguments().getBundle(EXTRA_AP_STATE));
97 mWifiManager = getContext().getSystemService(WifiManager.class);
118 getContext().getText(R.string.wifi_ssid), mAccessPoint.getSsid());
122 getContext().getText(R.string.wifi_ssid));
131 AccessPointSecurity.getSecurityTypes(getContext());
133 getContext(),
136 getContext().getText(R.string.wifi_security),
143 mWifiPasswordInput = new PasswordLineItem(getContext().getText(R.string.wifi_password));
208 Toast.makeText(getContext(),
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/calllog/ui/
NewCallLogFragment.java 65 refreshAnnotatedCallLogReceiver = new RefreshAnnotatedCallLogReceiver(getContext());
122 CallLogComponent.get(getContext())
163 CallLogComponent.get(getContext()).getClearMissedCalls().clearAll(),
178 MetricsComponent.get(getContext()).metrics(), Metrics.NEW_CALL_LOG_JANK_EVENT_NAME));
188 LocalBroadcastManager.getInstance(getContext())
197 CallLogComponent.get(getContext()).getRefreshAnnotatedCallLogNotifier().cancel();
199 LocalBroadcastManager.getInstance(getContext())
206 return new CoalescedAnnotatedCallLogCursorLoader(getContext());
222 recyclerView.setLayoutManager(new LinearLayoutManager(getContext()));
224 new NewCallLogAdapter(getContext(), newCursor, System::currentTimeMillis))
    [all...]
  /packages/apps/Settings/src/com/android/settings/datausage/
CellDataPreference.java 68 mTelephonyManager = TelephonyManager.from(getContext());
90 mDataStateListener.setListener(true, mSubId, getContext());
98 mDataStateListener.setListener(false, mSubId, getContext());
111 mSubscriptionManager = SubscriptionManager.from(getContext());
112 mTelephonyManager = TelephonyManager.from(getContext());
136 final Context context = getContext();
145 if (!Utils.showSimCardTile(getContext()) ||
161 if (Utils.showSimCardTile(getContext())) {
221 ? getContext().getResources().getString(R.string.sim_selection_required_pref)
225 builder.setMessage(getContext().getString(R.string.sim_change_data_message
    [all...]
  /external/swiftshader/src/OpenGL/libGLESv2/
libGLESv2.cpp 61 es2::Context *context = es2::getContext();
78 es2::Context *context = es2::getContext();
134 es2::Context *context = es2::getContext();
151 es2::Context *context = es2::getContext();
182 es2::Context *context = es2::getContext();
253 es2::Context *context = es2::getContext();
278 es2::Context *context = es2::getContext();
294 es2::Context *context = es2::getContext();
342 es2::Context* context = es2::getContext();
383 es2::Context *context = es2::getContext();
    [all...]
  /cts/tests/autofillservice/src/android/autofillservice/cts/
SessionLifecycleTest.java 24 import static android.autofillservice.cts.Helper.getContext;
102 return getStoppedMarker(getContext()).exists();
114 final Intent outOfProcessAcvitityStartIntent = new Intent(getContext(),
116 getStartedMarker(getContext()).delete();
117 getContext().startActivity(outOfProcessAcvitityStartIntent);
119 return getStartedMarker(getContext()).exists();
121 getStartedMarker(getContext()).delete();
143 IntentSender authentication = PendingIntent.getActivity(getContext(), 0,
144 new Intent(getContext(), ManualAuthenticationActivity.class),
179 getStoppedMarker(getContext()).delete()
    [all...]
  /external/swiftshader/src/OpenGL/libGLES_CM/
libGLES_CM.cpp 55 es1::Context *context = es1::getContext();
87 es1::Context *context = es1::getContext();
104 es1::Context *context = es1::getContext();
131 es1::Context *context = es1::getContext();
148 es1::Context *context = es1::getContext();
165 es1::Context *context = es1::getContext();
180 es1::Context *context = es1::getContext();
240 es1::Context *context = es1::getContext();
330 es1::Context *context = es1::getContext();
359 es1::Context *context = es1::getContext();
    [all...]
  /external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DatabaseContentProvider.java 227 sendStorageFullIntent(getContext());
235 sendStorageFullIntent(getContext());
243 getContext().getContentResolver().notifyChange(uri, null);
274 sendStorageFullIntent(getContext());
282 sendStorageFullIntent(getContext());
289 getContext().getContentResolver().notifyChange(uri, null);
296 mDbHelper = new DatabaseHelper(getContext(), mDbName);
357 sendStorageFullIntent(getContext());
365 sendStorageFullIntent(getContext());
372 getContext().getContentResolver().notifyChange(uri, null)
    [all...]
  /external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
VideoCapturerAndroidTest.java 46 getInstrumentation().getContext(), true, true, true));
60 new Camera2Enumerator(getInstrumentation().getContext());
169 capturer, cameraEvents, getInstrumentation().getContext());
179 getInstrumentation().getContext());
190 getInstrumentation().getContext());
219 getInstrumentation().getContext());
229 getInstrumentation().getContext());
241 capturer, getInstrumentation().getContext());
252 capturer, getInstrumentation().getContext());
263 capturer, getInstrumentation().getContext());
    [all...]
  /packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DvrDetailsFragment.java 155 getContext().getResources().getDrawable(R.drawable.dvr_default_poster, null);
160 getContext().getResources().getDrawable(R.drawable.dvr_default_poster, null);
172 getContext(),
175 this, LOAD_LOGO_IMAGE | LOAD_BACKGROUND_IMAGE, getContext()));
183 getContext(),
187 new MyImageLoaderCallback(this, LOAD_LOGO_IMAGE, getContext()));
191 getContext(),
193 new MyImageLoaderCallback(this, LOAD_BACKGROUND_IMAGE, getContext()));
203 getContext(),
204 getContext().getResources().getString(R.string.dvr_toast_recording_deleted)
    [all...]
  /frameworks/support/media/version-compat-tests/previous/service/src/androidTest/java/android/support/mediacompat/service/
MediaSessionCompatCallbackTest.java 62 import static android.support.test.InstrumentationRegistry.getContext;
143 mAudioManager = (AudioManager) getContext().getSystemService(Context.AUDIO_SERVICE);
172 assertEquals(errorMsg, getContext().getPackageName(), controller.getPackageName());
210 getContext(), mSession.getMediaSession());
300 getContext(), (MediaSession.Token) mSession.getSessionToken().getToken());
317 callTransportControlsMethod(PLAY, null, getContext(), mSession.getSessionToken());
334 SEND_COMMAND, arguments, getContext(), mSession.getSessionToken());
356 ADD_QUEUE_ITEM, itemDescription1, getContext(), mSession.getSessionToken());
369 ADD_QUEUE_ITEM_WITH_INDEX, arguments, getContext(), mSession.getSessionToken());
379 REMOVE_QUEUE_ITEM, itemDescription1, getContext(), mSession.getSessionToken())
    [all...]
  /cts/tests/tests/location/src/android/location/cts/
GeocoderTest.java 35 new Geocoder(getContext());
37 new Geocoder(getContext(), Locale.ENGLISH);
40 new Geocoder(getContext(), null);
48 Geocoder geocoder = new Geocoder(getContext());
57 Context context = getContext();
67 Geocoder geocoder = new Geocoder(getContext());
120 Geocoder geocoder = new Geocoder(getContext(), Locale.US);

Completed in 1099 milliseconds

<<11121314151617181920>>