/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | ImportantNoticeUtilsTests.java | 100 mImportantNoticePreferences = new ImportantNoticePreferences(getContext()); in setUp() 112 ImportantNoticeUtils.getCurrentImportantNoticeVersion(getContext())); in testCurrentVersion() 119 ImportantNoticeUtils.shouldShowImportantNotice(getContext())); in testUpdateVersion() 121 ImportantNoticeUtils.getLastImportantNoticeVersion(getContext())); in testUpdateVersion() 123 ImportantNoticeUtils.getNextImportantNoticeVersion(getContext())); in testUpdateVersion() 125 ImportantNoticeUtils.getNextImportantNoticeTitle(getContext()))); in testUpdateVersion() 127 ImportantNoticeUtils.getNextImportantNoticeContents(getContext()))); in testUpdateVersion() 129 ImportantNoticeUtils.updateLastImportantNoticeVersion(getContext()); in testUpdateVersion() 132 ImportantNoticeUtils.shouldShowImportantNotice(getContext())); in testUpdateVersion() 134 ImportantNoticeUtils.getLastImportantNoticeVersion(getContext())); in testUpdateVersion() [all …]
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | HelpersTest.java | 36 IoUtils.deleteContents(getContext().getFilesDir()); in tearDown() 37 IoUtils.deleteContents(getContext().getCacheDir()); in tearDown() 43 final File expected = new File(getContext().getFilesDir(), "file.mp4"); in testGenerateSaveFile() 44 final String actual = Helpers.generateSaveFile(getContext(), in testGenerateSaveFile() 51 final File expected1 = new File(getContext().getFilesDir(), "file.txt"); in testGenerateSaveFileDupes() 52 final String actual1 = Helpers.generateSaveFile(getContext(), "http://example.com/file.txt", in testGenerateSaveFileDupes() 55 final File expected2 = new File(getContext().getFilesDir(), "file-1.txt"); in testGenerateSaveFileDupes() 56 final String actual2 = Helpers.generateSaveFile(getContext(), "http://example.com/file.txt", in testGenerateSaveFileDupes() 64 final File expected = new File(getContext().getFilesDir(), "file.mp4"); in testGenerateSaveFileNoExtension() 65 final String actual = Helpers.generateSaveFile(getContext(), in testGenerateSaveFileNoExtension() [all …]
|
/packages/apps/Email/tests/src/com/android/email/activity/ |
D | UiUtilitiesTests.java | 35 assertEquals("0B", UiUtilities.formatSize(getContext(), 0)); in brokentestFormatSize() 36 assertEquals("1B", UiUtilities.formatSize(getContext(), 1)); in brokentestFormatSize() 37 assertEquals("1023B", UiUtilities.formatSize(getContext(), 1023)); in brokentestFormatSize() 38 assertEquals("1KB", UiUtilities.formatSize(getContext(), 1024)); in brokentestFormatSize() 39 assertEquals("1023KB", UiUtilities.formatSize(getContext(), 1024 * 1024 - 1)); in brokentestFormatSize() 40 assertEquals("1MB", UiUtilities.formatSize(getContext(), 1024 * 1024)); in brokentestFormatSize() 41 assertEquals("1023MB", UiUtilities.formatSize(getContext(), 1024 * 1024 * 1024 - 1)); in brokentestFormatSize() 42 assertEquals("1GB", UiUtilities.formatSize(getContext(), 1024 * 1024 * 1024)); in brokentestFormatSize() 43 assertEquals("5GB", UiUtilities.formatSize(getContext(), 5L * 1024 * 1024 * 1024)); in brokentestFormatSize() 47 final Context c = getContext(); in brokentestGetMessageCountForUi() [all …]
|
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ |
D | ContactInteractionUtilTest.java | 71 calendar.getTimeInMillis(), getContext())); in testFormatDateStringFromTimestamp_todaySingleMinuteAm() 80 getContext())); in testFormatDateStringFromTimestamp_todayDoubleMinutePm() 86 assertEquals(getContext().getResources().getString(R.string.yesterday), in testFormatDateStringFromTimestamp_yesterday() 88 getContext())); in testFormatDateStringFromTimestamp_yesterday() 98 assertEquals(getContext().getResources().getString(R.string.yesterday), in testFormatDateStringFromTimestamp_yesterdayLastYear() 100 getContext(), calendar)); in testFormatDateStringFromTimestamp_yesterdayLastYear() 105 assertEquals(getContext().getResources().getString(R.string.tomorrow), in testFormatDateStringFromTimestamp_tomorrow() 107 getContext())); in testFormatDateStringFromTimestamp_tomorrow() 115 assertEquals(getContext().getResources().getString(R.string.tomorrow), in testFormatDateStringFromTimestamp_tomorrowNewYear() 117 getContext(), calendar)); in testFormatDateStringFromTimestamp_tomorrowNewYear() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | DictionaryProvider.java | 234 final Cursor c = MetadataDbHelper.queryDictionaries(getContext(), clientId); in query() 241 if (!MetadataDbHelper.isClientKnown(getContext(), clientId)) return null; in query() 254 DictionaryService.updateNowIfNotUpdatedInAVeryLongTime(getContext()); in query() 277 final Context context = getContext(); in getWordlistMetadataForWordlistId() 319 final AssetFileDescriptor afd = getContext().getResources().openRawResourceFd( in openAssetFile() 325 final File f = getContext().getFileStreamPath(localFilename); in openAssetFile() 352 final Context context = getContext(); in getDictionaryWordListsForLocale() 410 final File f = getContext().getFileStreamPath(wordListLocalFilename); in getDictionaryWordListsForLocale() 451 if (MetadataDbHelper.deleteClient(getContext(), getClientId(uri))) { in delete() 468 UpdateHandler.markAsDeleted(getContext(), clientId, wordlistId, version, status); in deleteDataFile() [all …]
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
D | ContactListItemView.java | 237 TypedArray a = getContext().obtainStyledAttributes(attrs, R.styleable.ContactListItemView); in ContactListItemView() 285 a = getContext().obtainStyledAttributes(R.styleable.Theme); in ContactListItemView() 729 mHeaderTextView = new TextView(getContext()); in setSectionHeader() 730 mHeaderTextView.setTextAppearance(getContext(), R.style.SectionHeaderStyle); in setSectionHeader() 755 mQuickContact = new QuickContactBadge(getContext()); in getQuickContact() 759 mQuickContact.setContentDescription(getContext().getString( in getQuickContact() 774 mPhotoView = new ImageView(getContext()); in getPhotoView() 855 mNameTextView = new TextView(getContext()); in getNameTextView() 893 mPhoneticNameTextView = new TextView(getContext()); in getPhoneticNameTextView() 896 … mPhoneticNameTextView.setTextAppearance(getContext(), android.R.style.TextAppearance_Small); in getPhoneticNameTextView() [all …]
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | QsbApplication.java | 83 protected Context getContext() { in getContext() method in QsbApplication 90 PackageManager pm = getContext().getPackageManager(); in getVersionCode() 91 PackageInfo pkgInfo = pm.getPackageInfo(getContext().getPackageName(), 0); in getVersionCode() 163 return new Config(getContext()); in createConfig() 175 return new SearchSettingsImpl(getContext(), getConfig()); in createSettings() 260 return new DefaultSuggestionViewFactory(getContext()); 276 return new GoogleSuggestClient(getContext(), getMainThreadHandler(), 292 return new VoiceSearch(getContext()); 308 return new EventLogLogger(getContext(), getConfig()); 330 return new TextAppearanceFactory(getContext()); [all …]
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/ |
D | RawContactModifierTests.java | 84 mContext = getContext(); in setUp() 776 AccountType oldAccountType = new GoogleAccountType(getContext(), ""); in testMigrateWithDisplayNameFromGoogleToExchange1() 777 AccountType newAccountType = new ExchangeAccountType(getContext(), "", EXCHANGE_ACCT_TYPE); in testMigrateWithDisplayNameFromGoogleToExchange1() 780 ContactsMockContext context = new ContactsMockContext(getContext()); in testMigrateWithDisplayNameFromGoogleToExchange1() 812 AccountType oldAccountType = new GoogleAccountType(getContext(), ""); in testMigrateWithDisplayNameFromGoogleToExchange2() 813 AccountType newAccountType = new ExchangeAccountType(getContext(), "", EXCHANGE_ACCT_TYPE); in testMigrateWithDisplayNameFromGoogleToExchange2() 816 ContactsMockContext context = new ContactsMockContext(getContext()); in testMigrateWithDisplayNameFromGoogleToExchange2() 853 AccountType oldAccountType = new ExchangeAccountType(getContext(), "", EXCHANGE_ACCT_TYPE); in testMigrateWithStructuredNameFromExchangeToGoogle() 854 AccountType newAccountType = new GoogleAccountType(getContext(), ""); in testMigrateWithStructuredNameFromExchangeToGoogle() 857 ContactsMockContext context = new ContactsMockContext(getContext()); in testMigrateWithStructuredNameFromExchangeToGoogle() [all …]
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | UtilsTests.java | 155 timezoneUtils.setTimeZone(dbUtils.getContext(), tz); in setTimezone() 510 false, dbUtils.getContext()); in testGetDisplayedDatetime_differentYear() 517 false, dbUtils.getContext()); in testGetDisplayedDatetime_differentYear() 527 false, dbUtils.getContext()); in testGetDisplayedDatetime_sameYear() 537 false, dbUtils.getContext()); in testGetDisplayedDatetime_today() 547 false, dbUtils.getContext()); in testGetDisplayedDatetime_todayMidnight() 557 false, dbUtils.getContext()); in testGetDisplayedDatetime_tomorrow() 567 false, dbUtils.getContext()); in testGetDisplayedDatetime_yesterday() 577 false, dbUtils.getContext()); in testGetDisplayedDatetime_multiDay() 587 true, dbUtils.getContext()); in testGetDisplayedDatetime_allDay() [all …]
|
/packages/apps/Email/src/com/android/email/provider/ |
D | EmailProvider.java | 621 final Context context = getContext(); in delete() 870 final Context context = getContext(); in insert() 905 writeBodyFiles(getContext(), messageId, values); in insert() 963 mAttachmentService.attachmentChanged(getContext(), longId, flags); in insert() 1011 Context context = getContext(); in onCreate() 1229 final File databaseFile = getContext().getDatabasePath(DATABASE_NAME); in checkDatabases() 1230 final File bodyFile = getContext().getDatabasePath(BODY_DATABASE_NAME); in checkDatabases() 1235 getContext().deleteDatabase(DATABASE_NAME); in checkDatabases() 1238 getContext().deleteDatabase(BODY_DATABASE_NAME); in checkDatabases() 1273 Context context = getContext(); in query() [all …]
|
D | AttachmentProvider.java | 84 final File[] files = getContext().getCacheDir().listFiles(); in onCreate() 113 Cursor c = getContext().getContentResolver().query(uri, MIME_TYPE_PROJECTION, null, in getType() 148 Context context = getContext(); in openFile() 176 File dir = getContext().getCacheDir(); in openFile() 194 String type = getContext().getContentResolver().getType(attachmentUri); in openFile() 197 getContext().getContentResolver().openInputStream(attachmentUri); in openFile() 221 new File(getContext().getDatabasePath(accountId + ".db_att"), id), in openFile() 268 Cursor c = getContext().getContentResolver().query(uri, PROJECTION_QUERY, in query()
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/ |
D | ContactDisplayUtilTests.java | 46 "expected sms label", ContactDisplayUtils.INTERACTION_SMS, getContext()); in testGetLabelForCallOrSmsReturnsCustomLabel() 50 "expected call label", ContactDisplayUtils.INTERACTION_CALL, getContext()); in testGetLabelForCallOrSmsReturnsCustomLabel() 56 ContactDisplayUtils.INTERACTION_CALL, getContext()); in testGetLabelForCallOrSmsReturnsCallLabels() 57 CharSequence expected = getContext().getResources().getText(R.string.call_home); in testGetLabelForCallOrSmsReturnsCallLabels() 61 ContactDisplayUtils.INTERACTION_CALL, getContext()); in testGetLabelForCallOrSmsReturnsCallLabels() 62 expected = getContext().getResources().getText(R.string.call_mobile); in testGetLabelForCallOrSmsReturnsCallLabels() 68 ContactDisplayUtils.INTERACTION_SMS, getContext()); in testGetLabelForCallOrSmsReturnsSmsLabels() 69 CharSequence expected = getContext().getResources().getText(R.string.sms_home); in testGetLabelForCallOrSmsReturnsSmsLabels() 73 ContactDisplayUtils.INTERACTION_SMS, getContext()); in testGetLabelForCallOrSmsReturnsSmsLabels() 74 expected = getContext().getResources().getText(R.string.sms_mobile); in testGetLabelForCallOrSmsReturnsSmsLabels()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaDocumentsProvider.java | 106 result.setNotificationUri(getContext().getContentResolver(), cursor.getNotificationUri()); in copyNotificationUri() 200 final ContentResolver resolver = getContext().getContentResolver(); in queryDocument() 292 final ContentResolver resolver = getContext().getContentResolver(); in queryChildDocuments() 382 final ContentResolver resolver = getContext().getContentResolver(); in queryRecentDocuments() 440 return getContext().getContentResolver().openFileDescriptor(target, mode); in openDocument() 449 final ContentResolver resolver = getContext().getContentResolver(); in openDocumentThumbnail() 473 final ContentResolver resolver = getContext().getContentResolver(); in isEmpty() 496 row.add(Root.COLUMN_TITLE, getContext().getString(R.string.root_images)); in includeImagesRoot() 511 row.add(Root.COLUMN_TITLE, getContext().getString(R.string.root_videos)); in includeVideosRoot() 526 row.add(Root.COLUMN_TITLE, getContext().getString(R.string.root_audio)); in includeAudioRoot() [all …]
|
D | MediaProvider.java | 531 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext()); in createDefaultFolders() 559 final Context context = getContext(); in onCreate() 2283 c.addRow(new Integer[] {getDatabaseVersion(getContext())}); in query() 2648 c.setNotificationUri(getContext().getContentResolver(), uri); in query() 2863 getContext().getContentResolver().notifyChange(uri, null); in bulkInsert() 2878 getContext().getContentResolver().notifyChange(uri, null); in insert() 2923 getContext().getContentResolver().notifyChange(uri, null); in playlistBulkInsert() 3417 getContext(), volumeName, FileColumns.MEDIA_TYPE_IMAGE, rowId); in insertInternal() 3455 getContext(), volumeName, FileColumns.MEDIA_TYPE_AUDIO, rowId); in insertInternal() 3542 getContext(), volumeName, FileColumns.MEDIA_TYPE_VIDEO, rowId); in insertInternal() [all …]
|
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/ |
D | CallLogListItemHelperTest.java | 61 Context context = getContext(); in setUp() 236 CharSequence description = mHelper.getCallDescription(getContext(), details); in testGetCallDescription_NoVoicemailOutgoing() 250 CharSequence description = mHelper.getCallDescription(getContext(), details); in testGetCallDescription_NoVoicemailIncoming() 264 CharSequence description = mHelper.getCallDescription(getContext(), details); in testGetCallDescription_NoVoicemailMissed() 278 CharSequence description = mHelper.getCallDescription(getContext(), details); in testGetCallDescription_Voicemail() 292 CharSequence description = mHelper.getCallDescription(getContext(), details); in testGetCallDescription_NumCallsSingle() 311 CharSequence description = mHelper.getCallDescription(getContext(), details); in testGetCallDescription_NumCallsMultiple() 327 CharSequence description = mHelper.getCallDescription(getContext(), details); in testGetCallDescription_Video() 349 mHelper.setPhoneCallDetails(getContext(), mViews, in setPhoneCallDetailsWithNumberAndType() 358 mHelper.setPhoneCallDetails(getContext() ,mViews, in setPhoneCallDetailsWithTypes() [all …]
|
D | CallLogAdapterTest.java | 56 new ContactInfoHelper(getContext(), TEST_COUNTRY_ISO) { in setUp() 66 mAdapter = new TestCallLogAdapter(getContext(), fakeCallFetcher, fakeContactInfoHelper); in setUp() 71 mView = new CallLogListItemView(getContext()); in setUp() 72 mView.setTag(CallLogListItemViews.createForTest(getContext())); in setUp() 87 mAdapter.bindStandAloneView(mView, getContext(), mCursor); in testBindView_NoCallLogCacheNorMemoryCache_EnqueueRequest() 105 mAdapter.bindStandAloneView(mView, getContext(), mCursor); in testBindView_CallLogCacheButNoMemoryCache_EnqueueRequest() 123 mAdapter.bindStandAloneView(mView, getContext(), mCursor); in testBindView_NoCallLogButMemoryCache_EnqueueRequest() 138 mAdapter.bindStandAloneView(mView, getContext(), mCursor); in testBindView_BothCallLogAndMemoryCache_NoEnqueueRequest() 153 mAdapter.bindStandAloneView(mView, getContext(), mCursor); in testBindView_MismatchBetwenCallLogAndMemoryCache_EnqueueRequest()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadProvider.java | 441 mSystemFacade = new RealSystemFacade(getContext()); in onCreate() 446 mOpenHelper = new DatabaseHelper(getContext()); in onCreate() 453 appInfo = getContext().getPackageManager(). in onCreate() 463 Context context = getContext(); in onCreate() 535 if (getContext().checkCallingOrSelfPermission(Downloads.Impl.PERMISSION_ACCESS_ADVANCED) in insert() 546 getContext().checkCallingOrSelfPermission( in insert() 554 getContext().enforcePermission( in insert() 560 getContext().enforcePermission( in insert() 633 if (getContext().checkCallingOrSelfPermission(Downloads.Impl.PERMISSION_ACCESS_ADVANCED) in insert() 681 final Context context = getContext(); in insert() [all …]
|
D | DownloadStorageProvider.java | 69 mDm = (DownloadManager) getContext().getSystemService(Context.DOWNLOAD_SERVICE); in onCreate() 83 result.setNotificationUri(getContext().getContentResolver(), cursor.getNotificationUri()); in copyNotificationUri() 99 row.add(Root.COLUMN_TITLE, getContext().getString(R.string.root_downloads)); in queryRoots() 266 final ContentResolver resolver = getContext().getContentResolver(); in openDocument() 315 summary = getContext().getString(R.string.download_queued); in includeDownloadFromCursor() 318 summary = getContext().getString(R.string.download_queued); in includeDownloadFromCursor() 325 summary = getContext().getString(R.string.download_running_percent, percent); in includeDownloadFromCursor() 327 summary = getContext().getString(R.string.download_running); in includeDownloadFromCursor() 332 summary = getContext().getString(R.string.download_error); in includeDownloadFromCursor()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | RunningProcessesView.java | 175 PackageManager pm = rootView.getContext().getPackageManager(); in bind() 193 description.setText(rootView.getContext().getText(R.string.cached)); in bind() 198 icon.setImageDrawable(item.loadIcon(rootView.getContext(), state)); in bind() 200 ai.updateTime(rootView.getContext(), builder); in bind() 222 mInflater = (LayoutInflater)getContext().getSystemService( in ServiceListAdapter() 382 Formatter.formatShortFileSize(getContext(), lowRam)); in refreshUi() 386 Formatter.formatShortFileSize(getContext(), medRam)); in refreshUi() 390 Formatter.formatShortFileSize(getContext(), highRam)); in refreshUi() 435 mAm = (ActivityManager)getContext().getSystemService(Context.ACTIVITY_SERVICE); in doCreate() 436 mState = RunningState.getInstance(getContext()); in doCreate() [all …]
|
/packages/apps/Email/tests/src/com/android/email/ |
D | VendorPolicyLoaderTest.java | 34 mTestApkPackageName = getContext().getPackageName() + ".tests"; in setUp() 47 VendorPolicyLoader pl = new VendorPolicyLoader(getContext(), "no.such.package", in testPackageNotExist() 55 final Context c = getContext(); in testIsSystemPackage() 66 MockVendorPolicy.inject(getContext()); in testGetPolicy() 67 VendorPolicyLoader pl = VendorPolicyLoader.getInstance(getContext()); in testGetPolicy() 94 VendorPolicyLoader pl = new VendorPolicyLoader(getContext(), mTestApkPackageName, in testGetPolicyNonSystem() 115 VendorPolicyLoader pl = VendorPolicyLoader.getInstance(getContext()); in testGetImapIdValues() 147 VendorPolicyLoader pl = VendorPolicyLoader.getInstance(getContext()); in testFindProviderForDomain()
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | MessageHeaderView.java | 238 mEmailCopyMenu = new EmailCopyContextMenu(getContext()); in MessageHeaderView() 542 title = SendersView.getSingularDraftString(getContext()); in getHeaderTitle() 557 mMessageHeaderItem.recipientSummaryText = getRecipientSummaryText(getContext(), in setRecipientSummary() 858 mLetterTileProvider = new LetterTileProvider(getContext()); in makeLetterTile() 930 ComposeActivity.reply(getContext(), getAccount(), mMessage); in onClick() 932 ComposeActivity.replyAll(getContext(), getAccount(), mMessage); in onClick() 934 ComposeActivity.forward(getContext(), getAccount(), mMessage); in onClick() 938 final String text = getContext().getString(R.string.report_rendering_problem_desc); in onClick() 939 ComposeActivity.reportRenderingFeedback(getContext(), getAccount(), mMessage, in onClick() 942 final String text = getContext().getString(R.string.report_rendering_improvement_desc); in onClick() [all …]
|
D | MessageAttachmentBar.java | 153 AttachmentUtils.convertToHumanReadableSize(getContext(), attachment.size)); in render() 155 AttachmentUtils.getDisplayType(getContext(), attachment)); in render() 225 mPopup = new PopupMenu(getContext(), v); in onClick() 268 getContext(), mAttachment.contentUri, mAttachment.getContentType())) { in onClick() 281 AlertDialog.Builder builder = new AlertDialog.Builder(getContext()); in onClick() 346 intent.setPackage(getContext().getPackageName()); in viewAttachment() 352 getContext().startActivity(intent); in viewAttachment() 363 getContext().startActivity(previewIntent); in previewAttachment()
|
/packages/services/Telephony/src/com/android/phone/ |
D | MobileNetworkSettings.java | 156 int settingsNetworkMode = android.provider.Settings.Global.getInt(mPhone.getContext(). in onPreferenceTreeClick() 180 int settingsNetworkMode = android.provider.Settings.Global.getInt(mPhone.getContext(). in onPreferenceTreeClick() 263 int settingsNetworkMode = android.provider.Settings.Global.getInt(mPhone.getContext(). in onCreate() 317 mPhone.getContext().getContentResolver(), in onCreate() 410 mPhone.getContext().getContentResolver(), in onPreferenceChange() 439 android.provider.Settings.Global.putInt(mPhone.getContext().getContentResolver(), in onPreferenceChange() 452 mPhone.getContext().getContentResolver(), in onPreferenceChange() 475 android.provider.Settings.Global.putInt(mPhone.getContext().getContentResolver(), in onPreferenceChange() 552 mPhone.getContext().getContentResolver(), in handleGetPreferredNetworkTypeResponse() 611 android.provider.Settings.Global.putInt(mPhone.getContext().getContentResolver(), in handleSetPreferredNetworkTypeResponse() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/ |
D | SettingsLayoutAdapter.java | 127 mInflater = (LayoutInflater) parent.getContext().getSystemService( in onCreateViewHolder() 268 contentLp.width = itemView.getContext().getResources() in bind() 271 contentLp.width = itemView.getContext().getResources() in bind() 278 final Resources res = itemView.getContext().getResources(); in bind() 283 getDescriptionMaxHeight(itemView.getContext(), mTitle)); in bind() 298 Context context = indicatorView.getContext(); in setIndicator() 318 v.getContext().getResources().getInteger( in fadeIn() 402 final Resources res = v.getContext().getResources(); in changeFocus() 522 playSound(v.getContext(), AudioManager.FX_KEYPRESS_INVALID); in onKey() 533 playSound(v.getContext(), AudioManager.FX_KEY_CLICK); in onKey()
|
D | DialogActionAdapter.java | 89 mInflater = (LayoutInflater) parent.getContext().getSystemService( in onCreateViewHolder() 177 itemView.getContext()).cancelDownload(mPendingBitmapCallback); in init() 193 contentLp.width = itemView.getContext().getResources() in init() 196 contentLp.width = itemView.getContext().getResources() in init() 204 final Resources res = itemView.getContext().getResources(); in init() 208 getDescriptionMaxHeight(itemView.getContext(), title)); in init() 224 Context context = indicatorView.getContext(); in setIndicator() 265 v.getContext().getResources().getInteger( in fadeIn() 343 final Resources res = v.getContext().getResources(); in changeFocus() 469 playSound(v.getContext(), AudioManager.FX_KEY_CLICK); in onKey()
|