OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:getcontext
(Results
576 - 600
of
7204
) sorted by null
<<
21
22
23
24
25
26
27
28
29
30
>>
/frameworks/support/media/version-compat-tests/previous/client/src/androidTest/java/android/support/mediacompat/client/
MediaControllerCompatCallbackTest.java
53
import static android.support.test.InstrumentationRegistry.
getContext
;
185
callMediaSessionMethod(SET_EXTRAS, extras,
getContext
());
203
callMediaSessionMethod(SET_FLAGS, TEST_FLAGS,
getContext
());
227
callMediaSessionMethod(SET_METADATA, metadata,
getContext
());
263
callMediaSessionMethod(SET_METADATA, metadata,
getContext
());
296
callMediaSessionMethod(SET_PLAYBACK_STATE, state,
getContext
());
333
callMediaSessionMethod(SET_QUEUE, queue,
getContext
());
337
callMediaSessionMethod(SET_QUEUE_TITLE, TEST_VALUE,
getContext
());
348
callMediaSessionMethod(SET_QUEUE, null,
getContext
());
352
callMediaSessionMethod(SET_QUEUE_TITLE, null,
getContext
());
[
all
...]
/frameworks/support/preference/src/main/java/androidx/preference/
DialogPreference.java
116
setDialogTitle(
getContext
().getString(dialogTitleResId));
146
setDialogMessage(
getContext
().getString(dialogMessageResId));
173
mDialogIcon = ContextCompat.getDrawable(
getContext
(), dialogIconRes);
199
setPositiveButtonText(
getContext
().getString(positiveButtonTextResId));
227
setNegativeButtonText(
getContext
().getString(negativeButtonTextResId));
/packages/apps/Calendar/tests/src/com/android/calendar/widget/
CalendarAppWidgetServiceTest.java
99
CalendarAppWidgetModel expected = new CalendarAppWidgetModel(
getContext
(), Time
113
eventInfo.when = Utils.formatDateRange(
getContext
(), now + ONE_HOUR, now + TWO_HOURS,
121
getContext
(), cursor, Time.getCurrentTimezone());
128
Context context =
getContext
();
129
CalendarAppWidgetModel expected = new CalendarAppWidgetModel(
getContext
(), Time
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/
ContactListFragment.java
76
getContext
().getString(R.string.contacts_title));
83
getContext
(),
97
String number = PhoneLoader.getPhoneNumber(cursor,
getContext
().getContentResolver());
113
ListItemAdapter contactListAdapter = new ListItemAdapter(
getContext
(),
114
new ContactListItemProvider(
getContext
(), contactItems, ContactListFragment.this));
/packages/apps/Car/Settings/src/com/android/car/settings/security/
ChooseLockTypeFragment.java
50
new LockPatternUtils(
getContext
()).clearLock(mCurrPassword, userId);
99
TextListItem item = new TextListItem(
getContext
());
115
TextListItem item = new TextListItem(
getContext
());
125
TextListItem item = new TextListItem(
getContext
());
137
TextListItem item = new TextListItem(
getContext
());
/packages/apps/Car/Settings/src/com/android/car/settings/users/
UserDetailsFragment.java
118
mUserInfo,
getContext
().getString(R.string.user_guest))) {
142
mCarUserManagerHelper = new CarUserManagerHelper(
getContext
());
182
TextListItem item = new TextListItem(
getContext
());
183
item.setPrimaryActionIcon(mUserIconProvider.getUserIcon(mUserInfo,
getContext
()),
189
item.setBody(
getContext
().getString(R.string.user_summary_not_set_up));
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
PlaybackFragment.java
76
mActiveMediaSourceManager = new ActiveMediaSourceManager(
getContext
());
77
mModel = new PlaybackModel(
getContext
());
91
intent =
getContext
().getPackageManager()
140
metadata.getAlbumArt(
getContext
(),
145
//bitmap = ImageUtils.blur(
getContext
(), bitmap, 1f, 10f);
/packages/apps/Contacts/src/com/android/contacts/list/
DirectoryListLoader.java
111
getContext
().getContentResolver().
119
getContext
().getContentResolver().unregisterContentObserver(mObserver);
129
Context context =
getContext
();
199
getContext
().getString(R.string.contactsList),
205
getContext
().getString(R.string.local_invisible_directory),
/packages/apps/Dialer/java/com/android/dialer/blocking/
FilteredNumberProvider.java
46
dialerDatabaseHelper = Database.get(
getContext
()).getDatabaseHelper(
getContext
());
80
getContext
().getContentResolver(), FilteredNumberContract.FilteredNumber.CONTENT_URI);
111
values.put(FilteredNumberColumns.COUNTRY_ISO, GeoUtil.getCurrentCountryIso(
getContext
()));
173
getContext
().getContentResolver().notifyChange(uri, null);
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/
CameraPreview.java
71
if (tabHasBeenShown && visible && PermissionsUtil.hasCameraPermissions(
getContext
())) {
103
final int orientation =
getContext
().getResources().getConfiguration().orientation;
121
if (PermissionsUtil.hasCameraPermissions(
getContext
())) {
130
public Context
getContext
() {
131
return host.getView().
getContext
();
/packages/apps/Dialer/java/com/android/dialer/calldetails/
ReportDialogFragment.java
65
cachedNumberLookupService = PhoneNumberCache.get(
getContext
()).getCachedNumberLookupService();
85
reportDialog.setOnShowListener(dialog -> onShow(
getContext
(), reportDialog));
102
number1 -> cachedNumberLookupService.lookupCachedContactFromNumber(
getContext
(), number1);
104
DialerExecutorComponent.get(
getContext
())
126
DialerExecutorComponent.get(
getContext
())
/packages/apps/Dialer/java/com/android/dialer/preferredsim/impl/
PreferredSimFallbackProvider.java
46
databaseHelper = new PreferredSimDatabaseHelper(
getContext
());
104
if (!TextUtils.equals(
getContext
().getPackageName(), getCallingPackage())) {
144
getContext
().getContentResolver().notifyChange(PreferredSimFallbackContract.CONTENT_URI, null);
149
if (
getContext
().checkCallingOrSelfPermission(permission.READ_CONTACTS)
156
if (
getContext
().checkCallingOrSelfPermission(permission.WRITE_CONTACTS)
/packages/apps/Launcher3/src/com/android/launcher3/widget/
WidgetsBottomSheet.java
69
((TextView) findViewById(R.id.title)).setText(
getContext
().getString(
109
View leftPaddingView = LayoutInflater.from(
getContext
()).inflate(
118
LayoutInflater.from(
getContext
()).inflate(R.layout.widget_list_divider, parent, true);
122
WidgetCell widget = (WidgetCell) LayoutInflater.from(
getContext
()).inflate(
173
return Pair.create(findViewById(R.id.title),
getContext
().getString(
/packages/apps/Settings/src/com/android/settings/applications/assist/
DefaultVoiceInputPicker.java
66
final Context context =
getContext
();
95
Settings.Secure.putString(
getContext
().getContentResolver(),
97
Settings.Secure.putString(
getContext
().getContentResolver(),
108
Settings.Secure.putString(
getContext
().getContentResolver(),
110
Settings.Secure.putString(
getContext
().getContentResolver(),
/packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothDevicePreference.java
66
mResources =
getContext
().getResources();
132
.getBtClassDrawableWithDescription(
getContext
(), mCachedDevice);
196
Context context =
getContext
();
223
Context context =
getContext
();
243
Utils.showError(
getContext
(), mCachedDevice.getName(),
/packages/apps/Settings/src/com/android/settings/notification/
NotificationLockscreenPreference.java
63
final Context context =
getContext
();
82
mAllowRemoteInput = Settings.Secure.getInt(
getContext
().getContentResolver(),
120
return new RestrictedArrayAdapter(
getContext
(), getEntries(), -1);
126
Settings.Secure.putInt(
getContext
().getContentResolver(),
174
RestrictedLockUtils.sendShowAdminSupportDetailsIntent(
getContext
(),
/packages/apps/Settings/src/com/android/settings/password/
SetupChooseLockGeneric.java
84
layout.setDividerItemDecoration(new SettingsDividerItemDecoration(
getContext
()));
85
layout.setDividerInset(
getContext
().getResources().getDimensionPixelSize(
88
layout.setIcon(
getContext
().getDrawable(R.drawable.ic_lock));
175
getContext
(), super.getLockPasswordIntent(quality, minLength, maxLength));
183
getContext
(), super.getLockPatternIntent());
/packages/apps/TV/src/com/android/tv/dialog/
DvrHistoryDialogFragment.java
56
TvSingletons singletons = TvSingletons.getSingletons(
getContext
());
65
LayoutInflater inflater = LayoutInflater.from(
getContext
());
68
getContext
(),
82
getContext
(), schedule, 0));
123
getContext
(),
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DateTimeFragment.java
93
final boolean isRestricted = SecurityFragment.isRestrictedProfileInEffect(
getContext
());
195
getContext
().sendBroadcast(timeChanged);
199
Settings.System.putString(
getContext
().getContentResolver(),
205
Settings.Global.putInt(
getContext
().getContentResolver(),
214
int value = Settings.Global.getInt(
getContext
().getContentResolver(),
InputOptionsFragment.java
70
final Context context =
getContext
();
87
getPreferenceScreen().setTitle(mInputInfo.loadLabel(
getContext
()));
102
final CharSequence defaultLabel = mInputInfo.loadLabel(
getContext
());
171
.putCustomLabels(
getContext
(), mCustomLabels, UserHandle.USER_SYSTEM);
188
.putHiddenTvInputs(
getContext
(), mHiddenIds, UserHandle.USER_SYSTEM);
/packages/services/BuiltInPrintService/src/com/android/bips/ui/
AddManualPrinterDialog.java
81
setButton(AlertDialog.BUTTON_NEGATIVE,
getContext
().getString(android.R.string.cancel),
83
setButton(AlertDialog.BUTTON_POSITIVE,
getContext
().getString(R.string.add),
118
InputMethodManager imm = (InputMethodManager)
getContext
()
155
error(
getContext
().getString(R.string.printer_not_supported));
161
error(
getContext
().getString(R.string.no_printer_found));
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/
InstrumentClusterFragment.java
75
mCarApi = Car.createCar(
getContext
(), mCarConnectionCallback);
106
Toast.makeText(
getContext
(), "Failed to get CarInstrumentClusterManager",
118
Toast.makeText(
getContext
(), "Failed to start activity in cluster",
155
new AlertDialog.Builder(
getContext
())
156
.setTitle(
getContext
().getApplicationInfo().name)
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/Analysis/
OptimizationRemarkEmitter.h
47
/// F->
getContext
().getDiagnosticsHotnessRequested() is on or not. If it's off
81
if (F->
getContext
().getDiagnosticsOutputFile() ||
82
F->
getContext
().getDiagHandlerPtr()->isAnyRemarkEnabled()) {
96
return (F->
getContext
().getDiagnosticsOutputFile() ||
97
F->
getContext
().getDiagHandlerPtr()->isAnyRemarkEnabled(PassName));
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/Analysis/
OptimizationRemarkEmitter.h
47
/// F->
getContext
().getDiagnosticsHotnessRequested() is on or not. If it's off
81
if (F->
getContext
().getDiagnosticsOutputFile() ||
82
F->
getContext
().getDiagHandlerPtr()->isAnyRemarkEnabled()) {
96
return (F->
getContext
().getDiagnosticsOutputFile() ||
97
F->
getContext
().getDiagHandlerPtr()->isAnyRemarkEnabled(PassName));
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/Analysis/
OptimizationRemarkEmitter.h
47
/// F->
getContext
().getDiagnosticsHotnessRequested() is on or not. If it's off
81
if (F->
getContext
().getDiagnosticsOutputFile() ||
82
F->
getContext
().getDiagHandlerPtr()->isAnyRemarkEnabled()) {
96
return (F->
getContext
().getDiagnosticsOutputFile() ||
97
F->
getContext
().getDiagHandlerPtr()->isAnyRemarkEnabled(PassName));
Completed in 850 milliseconds
<<
21
22
23
24
25
26
27
28
29
30
>>