/packages/apps/Email/src/com/android/email/ |
D | NotificationController.java | 83 private final Context mContext; field in NotificationController 93 mContext = context.getApplicationContext(); in NotificationController() 142 mContext, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT); in createBaseAccountNotificationBuilder() 146 final NotificationCompat.Builder builder = new NotificationCompat.Builder(mContext) in createBaseAccountNotificationBuilder() 158 Account account = Account.restoreAccountWithId(mContext, accountId); in createBaseAccountNotificationBuilder() 196 ContentResolver resolver = mContext.getContentResolver(); in watchForMessages() 203 mAccountObserver = new AccountContentObserver(sNotificationHandler, mContext); in watchForMessages() 268 ContentResolver resolver = mContext.getContentResolver(); in registerMessageNotification() 286 sNotificationHandler, mContext, accountId); in registerMessageNotification() 303 ContentResolver resolver = mContext.getContentResolver(); in unregisterMessageNotification() [all …]
|
D | SecurityPolicy.java | 59 private Context mContext; field in SecurityPolicy 87 mContext = context.getApplicationContext(); in SecurityPolicy() 97 mContext = context; in setContext() 136 Cursor c = mContext.getContentResolver().query(Policy.CONTENT_URI, in computeAggregatePolicy() 213 mDPM = (DevicePolicyManager) mContext.getSystemService(Context.DEVICE_POLICY_SERVICE); in getDPM() 488 Account account = Account.restoreAccountWithId(mContext, accountId); in policiesRequired() 492 Policy policy = Policy.restorePolicyWithId(mContext, account.mPolicyKey); in policiesRequired() 499 setAccountHoldFlag(mContext, account, true); in policiesRequired() 503 NotificationController.getInstance(mContext).showSecurityNeededNotification(account); in policiesRequired() 505 NotificationController.getInstance(mContext).showSecurityUnsupportedNotification( in policiesRequired() [all …]
|
/packages/services/Telephony/src/com/android/phone/ |
D | NotificationMgr.java | 103 private Context mContext; field in NotificationMgr 134 mContext = app; in NotificationMgr() 268 mQueryHandler = new QueryHandler(mContext.getContentResolver()); in updateNotificationsAtStartup() 393 0, mContext, personUri, this, n); in onQueryComplete() 480 mContext); in notifyMissedCall() 515 callName = mContext.getString(R.string.unknown); in notifyMissedCall() 526 expandedText = mContext.getString(R.string.notification_missedCallsMsg, in notifyMissedCall() 530 Notification.Builder builder = new Notification.Builder(mContext); in notifyMissedCall() 532 .setTicker(mContext.getString(R.string.notification_missedCallTicker, callName)) in notifyMissedCall() 534 .setContentTitle(mContext.getText(titleResId)) in notifyMissedCall() [all …]
|
/packages/apps/Email/src/com/android/email/service/ |
D | EmailServiceStub.java | 86 protected Context mContext; field in EmailServiceStub 89 mContext = context; in init() 99 final Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, mailboxId); in requestSync() 101 final Account account = Account.restoreAccountWithId(mContext, mailbox.mAccountKey); in requestSync() 104 EmailServiceUtils.getServiceInfoForAccount(mContext, account.mId); in requestSync() 128 Attachment.restoreAttachmentWithId(mContext, attachmentId); in loadAttachment() 137 EmailContent.Message.restoreMessageWithId(mContext, attachment.mMessageKey); in loadAttachment() 145 if (Utility.attachmentExists(mContext, attachment) in loadAttachment() 156 final Account account = Account.restoreAccountWithId(mContext, message.mAccountKey); in loadAttachment() 157 Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, message.mMailboxKey); in loadAttachment() [all …]
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcService.java | 250 Context mContext; field in NfcService 297 mContext.enforceCallingOrSelfPermission(NFC_PERM, NFC_PERM_ERROR); in enforceNfceeAdminPerm() 450 mContext = nfcApplication; in NfcService() 451 mContentResolver = mContext.getContentResolver(); in NfcService() 452 mDeviceHost = new NativeNfcManager(mContext, this); in NfcService() 454 mHandoverManager = new HandoverManager(mContext); in NfcService() 457 isNfcProvisioningEnabled = mContext.getResources().getBoolean( in NfcService() 470 mNfcDispatcher = new NfcDispatcher(mContext, mHandoverManager, mInProvisionMode); in NfcService() 471 mP2pLinkManager = new P2pLinkManager(mContext, mHandoverManager, in NfcService() 474 mSecureElement = new NativeNfcSecureElement(mContext); in NfcService() [all …]
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
D | NotificationImportExportListener.java | 48 private final Activity mContext; field in NotificationImportExportListener 52 mContext = activity; in NotificationImportExportListener() 61 Toast.makeText(mContext, text, Toast.LENGTH_LONG).show(); in handleMessage() 72 message = mContext.getString(R.string.vcard_import_will_start_message, displayName); in onImportProcessed() 74 displayName = mContext.getString(R.string.vcard_unknown_filename); in onImportProcessed() 75 message = mContext.getString( in onImportProcessed() 87 final Notification notification = constructProgressNotification(mContext, in onImportProcessed() 101 mContext.getString(R.string.progress_notifier_message, in onImportParsed() 105 final String description = mContext.getString(R.string.importing_vcard_description, in onImportParsed() 109 mContext.getApplicationContext(), VCardService.TYPE_IMPORT, description, tickerText, in onImportParsed() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppNotification.java | 90 private Context mContext; field in BluetoothOppNotification 134 mContext = ctx; in BluetoothOppNotification() 135 mNotificationMgr = (NotificationManager)mContext in BluetoothOppNotification() 213 Cursor cursor = mContext.getContentResolver().query(BluetoothShare.CONTENT_URI, null, in updateActiveNotification() 254 fileName = mContext.getString(R.string.unknown_file); in updateActiveNotification() 269 item.description = mContext.getString(R.string.notification_sending, fileName); in updateActiveNotification() 271 item.description = mContext in updateActiveNotification() 311 mContext.sendBroadcast(intent, Constants.HANDOVER_STATUS_PERMISSION); in updateActiveNotification() 316 Notification.Builder b = new Notification.Builder(mContext); in updateActiveNotification() 335 b.setContentIntent(PendingIntent.getBroadcast(mContext, 0, intent, 0)); in updateActiveNotification() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/widget/ |
D | WidgetService.java | 207 private final Context mContext; field in WidgetService.MailFactory 230 mContext = context; in MailFactory() 255 BaseWidgetProvider.updateWidget(mContext, mAppWidgetId, mAccount, mFolderType, in MailFactory() 268 saveWidgetInformation(mContext, mAppWidgetId, mAccount, mFolderUri.toString()); in onCreate() 272 if (!mService.isWidgetConfigured(mContext, mAppWidgetId, mAccount)) { in onCreate() 273 BaseWidgetProvider.updateWidget(mContext, mAppWidgetId, mAccount, mFolderType, in onCreate() 294 final Resources res = mContext.getResources(); in onCreate() 295 mConversationCursorLoader = new CursorLoader(mContext, widgetConversationQueryUri, in onCreate() 303 mFolderLoader = new CursorLoader(mContext, mFolderUri, UIProvider.FOLDERS_PROJECTION, in onCreate() 310 mAccountLoader = new CursorLoader(mContext, mAccount.uri, in onCreate() [all …]
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/ |
D | RawContactDeltaListTests.java | 83 mContext = getContext(); in setUp() 315 final RawContactDelta updateFirst = getUpdate(mContext, CONTACT_FIRST); in testUpdateUpdate() 316 final RawContactDelta updateSecond = getUpdate(mContext, CONTACT_SECOND); in testUpdateUpdate() 326 final RawContactDelta update = getUpdate(mContext, CONTACT_FIRST); in testUpdateInsert() 338 final RawContactDelta update = getUpdate(mContext, CONTACT_FIRST); in testInsertUpdateInsert() 361 final RawContactDeltaList first = buildSet(buildBeforeEntity(mContext, CONTACT_BOB, in testMergeDataRemoteInsert() 363 final RawContactDeltaList second = buildSet(buildBeforeEntity(mContext, CONTACT_BOB, in testMergeDataRemoteInsert() 372 final RawContactDeltaList first = buildSet(buildBeforeEntity(mContext, CONTACT_BOB, in testMergeDataLocalUpdateRemoteInsert() 374 final RawContactDeltaList second = buildSet(buildBeforeEntity(mContext, CONTACT_BOB, in testMergeDataLocalUpdateRemoteInsert() 397 final RawContactDeltaList first = buildSet(buildBeforeEntity(mContext, CONTACT_BOB, in testMergeDataLocalUpdateRemoteDelete() [all …]
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
D | ActivityMusic.java | 159 private Context mContext; field in ActivityMusic 219 mContext = this; in onCreate() 241 ControlPanelEffect.initEffectsPreferences(mContext, mCallingPackageName, mAudioSession); in onCreate() 270 final int numPresets = ControlPanelEffect.getParameterInt(mContext, mCallingPackageName, in onCreate() 274 mEQPresetNames[i] = ControlPanelEffect.getParameterString(mContext, in onCreate() 294 ControlPanelEffect.setParameterBoolean(mContext, mCallingPackageName, in onCreate() 331 ControlPanelEffect.setParameterInt(mContext, mCallingPackageName, in onCreate() 339 ControlPanelEffect.setParameterBoolean(mContext, mCallingPackageName, in onCreate() 349 ControlPanelEffect.setParameterBoolean(mContext, mCallingPackageName, in onCreate() 360 ControlPanelEffect.setParameterBoolean(mContext, mCallingPackageName, in onCreate() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
D | CalendarAppWidgetService.java | 123 private Context mContext; field in CalendarAppWidgetService.CalendarFactory 168 mContext = context; 202 RemoteViews views = new RemoteViews(mContext.getPackageName(), 215 RemoteViews views = new RemoteViews(mContext.getPackageName(), 217 final Intent intent = CalendarAppWidgetProvider.getLaunchFillInIntent(mContext, 0, 224 RemoteViews views = new RemoteViews(mContext.getPackageName(), 226 final Intent intent = CalendarAppWidgetProvider.getLaunchFillInIntent(mContext, 0, 234 RemoteViews views = new RemoteViews(mContext.getPackageName(), 243 views = new RemoteViews(mContext.getPackageName(), 246 views = new RemoteViews(mContext.getPackageName(), R.layout.widget_item); [all …]
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountSettingsFragment.java | 128 private Context mContext; field in AccountSettingsFragment 189 mContext = activity; in onAttach() 264 HostAuth.restoreHostAuthWithId(mContext, mAccount.mHostAuthKeyRecv); in onResume() 266 HostAuth.restoreHostAuthWithId(mContext, mAccount.mHostAuthKeySend); in onResume() 269 Account refreshedAccount = Account.restoreAccountWithId(mContext, mAccount.mId); in onResume() 332 final String summary = mRingtone != null ? mRingtone.getTitle(mContext) in setRingtoneSummary() 333 : mContext.getString(R.string.silent_ringtone); in setRingtoneSummary() 456 Account account = Account.restoreAccountWithId(mContext, accountId); in doInBackground() 459 HostAuth.restoreHostAuthWithId(mContext, account.mHostAuthKeyRecv); in doInBackground() 461 HostAuth.restoreHostAuthWithId(mContext, account.mHostAuthKeySend); in doInBackground() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarViewAdapter.java | 72 private final Context mContext; field in CalendarViewAdapter 82 refresh(mContext); 91 mContext = context; in CalendarViewAdapter() 189 if (Utils.getShowWeekNumber(mContext)) { in getView() 321 dayOfWeek = mContext.getString(R.string.agenda_today, in buildDayOfWeek() 322 DateUtils.formatDateRange(mContext, mFormatter, mMilliTime, mMilliTime, in buildDayOfWeek() 325 dayOfWeek = mContext.getString(R.string.agenda_yesterday, in buildDayOfWeek() 326 DateUtils.formatDateRange(mContext, mFormatter, mMilliTime, mMilliTime, in buildDayOfWeek() 329 dayOfWeek = mContext.getString(R.string.agenda_tomorrow, in buildDayOfWeek() 330 DateUtils.formatDateRange(mContext, mFormatter, mMilliTime, mMilliTime, in buildDayOfWeek() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | ContactEditorFragment.java | 227 private Context mContext; field in ContactEditorFragment 350 mContext = activity; in onAttach() 351 mEditorUtils = ContactEditorUtils.getInstance(mContext); in onAttach() 525 AccountType accountType = rawContact.getAccountType(mContext); in setData() 543 if (!contact.isUserProfile() && !contact.isWritableContact(mContext)) { in setData() 608 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(mContext); in setIntentExtras() 613 RawContactModifier.parseExtras(mContext, type, state, extras); in setIntentExtras() 630 Intent intent = new Intent(mContext, ContactEditorAccountsChangedActivity.class); in selectAccountAndCreateContact() 651 AccountTypeManager.getInstance(mContext).getAccounts(true); in createContact() 669 final AccountTypeManager accountTypes = AccountTypeManager.getInstance(mContext); in createContact() [all …]
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
D | RetryScheduler.java | 48 private final Context mContext; field in RetryScheduler 52 mContext = context; in RetryScheduler() 66 mContext.getSystemService(Context.CONNECTIVITY_SERVICE); in isConnected() 99 setRetryAlarm(mContext); in update() 111 Cursor cursor = SqliteWrapper.query(mContext, mContentResolver, in scheduleRetry() 126 DefaultRetryScheme scheme = new DefaultRetryScheme(mContext, retryIndex); in scheduleRetry() 165 SqliteWrapper.delete(mContext, mContext.getContentResolver(), uri, in scheduleRetry() 189 … Cursor c = SqliteWrapper.query(mContext, mContext.getContentResolver(), uri, in scheduleRetry() 205 MessagingNotification.notifyDownloadFailed(mContext, threadId); in scheduleRetry() 214 SqliteWrapper.update(mContext, mContext.getContentResolver(), in scheduleRetry() [all …]
|
/packages/apps/Mms/src/com/android/mms/widget/ |
D | MmsWidgetService.java | 65 private final Context mContext; field in MmsWidgetService.MmsFactory 79 mContext = context; in MmsFactory() 133 return mContext.getContentResolver().query( in queryAllConversations() 142 cursor = mContext.getContentResolver().query( in queryUnreadCount() 224 Conversation conv = Conversation.from(mContext, mConversationCursor); 228 mContext.getPackageName(), R.layout.widget_conversation); 243 addColor(MessageUtils.formatTimeStampString(mContext, conv.getDate()), 254 from.append(mContext.getResources().getString(R.string.draft_separator)); 256 from.append(mContext.getResources().getString(R.string.has_draft)); 257 from.setSpan(new TextAppearanceSpan(mContext, [all …]
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WpsDialog.java | 65 private Context mContext; field in WpsDialog 79 mContext = context; in WpsDialog() 86 mContext.getString(R.string.wifi_wps_onstart_pin), pin)); in WpsDialog() 88 updateDialog(DialogState.WPS_START, mContext.getString( in WpsDialog() 94 mContext.getString(R.string.wifi_wps_complete)); in WpsDialog() 101 msg = mContext.getString(R.string.wifi_wps_failed_overlap); in WpsDialog() 104 msg = mContext.getString(R.string.wifi_wps_failed_wep); in WpsDialog() 107 msg = mContext.getString(R.string.wifi_wps_failed_tkip); in WpsDialog() 110 msg = mContext.getString(R.string.wifi_wps_in_progress); in WpsDialog() 113 msg = mContext.getString(R.string.wifi_wps_failed_generic); in WpsDialog() [all …]
|
/packages/apps/Browser/src/com/android/browser/ |
D | BrowserSettings.java | 107 private Context mContext; field in BrowserSettings 138 mContext = context.getApplicationContext(); in BrowserSettings() 139 mPrefs = PreferenceManager.getDefaultSharedPreferences(mContext); in BrowserSettings() 180 DisplayMetrics metrics = mContext.getResources().getDisplayMetrics(); 188 mWebStorageSizeManager = new WebStorageSizeManager(mContext, 223 sFactoryResetUrl = mContext.getResources().getString(R.string.homepage_base); 226 BrowserProvider.getClientId(mContext.getContentResolver())); 303 settings.setDatabasePath(mContext.getDir("databases", 0).getPath()); in syncStaticSettings() 304 settings.setGeolocationDatabasePath(mContext.getDir("geolocation", 0).getPath()); in syncStaticSettings() 389 mAppCachePath = mContext.getDir("appcache", 0).getPath(); in getAppCachePath() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
D | ContactDetailFragment.java | 146 private Context mContext; field in ContactDetailFragment 276 mContext = activity; in onAttach() 277 mViewEntryDimensions = new ViewEntryDimensions(mContext.getResources()); in onAttach() 325 return mContext; in getContext() 427 mContext, mContactData, photoView, expandPhotoOnClick); in bindData() 430 if (expandPhotoOnClick || mContactData.isWritableContact(mContext)) { in bindData() 519 final boolean hasPhone = PhoneCapabilityTester.isPhone(mContext); in buildEntries() 522 final boolean hasSip = PhoneCapabilityTester.isSipPhone(mContext); in buildEntries() 537 final AccountType accountType = rawContact.getAccountType(mContext); in buildEntries() 553 final DataKind kind = AccountTypeManager.getInstance(mContext) in buildEntries() [all …]
|
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
D | AlertServiceTest.java | 402 AlertService.generateAlerts(mContext, ntm, new MockAlarmManager(mContext), prefs, in testGenerateAlerts_none() 411 MockAlarmManager alarmMgr = new MockAlarmManager(mContext); in testGenerateAlerts_single() 422 … AlertService.generateAlerts(mContext, ntm, alarmMgr, prefs, at.getAlertCursor(), currentTime, in testGenerateAlerts_single() 431 … AlertService.generateAlerts(mContext, ntm, alarmMgr, prefs, at.getAlertCursor(), currentTime, in testGenerateAlerts_single() 439 … AlertService.generateAlerts(mContext, ntm, alarmMgr, prefs, at.getAlertCursor(), currentTime, in testGenerateAlerts_single() 448 MockAlarmManager alarmMgr = new MockAlarmManager(mContext); in testGenerateAlerts_multiple() 491 AlertService.generateAlerts(mContext, ntm, alarmMgr, prefs, at.getAlertCursor(), in testGenerateAlerts_multiple() 504 AlertService.generateAlerts(mContext, ntm, alarmMgr, prefs, at.getAlertCursor(), in testGenerateAlerts_multiple() 513 AlertService.generateAlerts(mContext, ntm, alarmMgr, prefs, at.getAlertCursor(), in testGenerateAlerts_multiple() 521 MockAlarmManager alarmMgr = new MockAlarmManager(mContext); in testGenerateAlerts_maxAlerts() [all …]
|
/packages/apps/Mms/src/com/android/mms/util/ |
D | DownloadManager.java | 62 private final Context mContext; field in DownloadManager 113 mContext = context; in DownloadManager() 190 NotificationInd nInd = (NotificationInd) PduPersister.getPduPersister(mContext) in markState() 196 Toast.makeText(mContext, R.string.service_message_not_found, in markState() 200 SqliteWrapper.delete(mContext, mContext.getContentResolver(), uri, null, null); in markState() 213 Toast.makeText(mContext, getMessage(uri), in markState() 228 SqliteWrapper.update(mContext, mContext.getContentResolver(), in markState() 237 Toast.makeText(mContext, errStr, Toast.LENGTH_LONG).show(); in showErrorCodeToast() 247 .getPduPersister(mContext).load(uri); in getMessage() 251 : mContext.getString(R.string.no_subject); in getMessage() [all …]
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
D | HandoverTransfer.java | 100 final Context mContext; field in HandoverTransfer 124 mContext = context; in HandoverTransfer() 146 mNotificationManager = (NotificationManager) mContext.getSystemService( in HandoverTransfer() 154 mContext.sendBroadcastAsUser(intent, UserHandle.CURRENT); in whitelistOppDevice() 180 mimeType = BluetoothOppHandover.getMimeTypeForUri(mContext, uri); in finishTransfer() 230 Builder notBuilder = new Notification.Builder(mContext); in updateNotification() 234 beamString = mContext.getString(R.string.beam_progress); in updateNotification() 236 beamString = mContext.getString(R.string.beam_outgoing); in updateNotification() 246 mContext.getString(R.string.cancel), mCancelIntent); in updateNotification() 261 notBuilder.setTicker(mContext.getString(R.string.beam_complete)); in updateNotification() [all …]
|
D | BluetoothHeadsetHandover.java | 79 final Context mContext; field in BluetoothHeadsetHandover 104 mContext = context; in BluetoothHeadsetHandover() 134 mContext.registerReceiver(mReceiver, filter); in start() 204 toast(mContext.getString(R.string.disconnecting_headset ) + " " + in nextStepDisconnect() 216 toast(mContext.getString(R.string.disconnected_headset) + " " + mName); in nextStepDisconnect() 225 if(!mBluetoothAdapter.getProfileProxy(mContext, this, BluetoothProfile.HEADSET)) in getProfileProxys() 228 if(!mBluetoothAdapter.getProfileProxy(mContext, this, BluetoothProfile.A2DP)) in getProfileProxys() 268 … toast(mContext.getString(R.string.connecting_headset) + " " + mName + "..."); in nextStepConnect() 280 toast(mContext.getString(R.string.connected_headset) + " " + mName); in nextStepConnect() 284 toast (mContext.getString(R.string.connect_headset_failed) + " " + mName); in nextStepConnect() [all …]
|
/packages/apps/Email/tests/src/com/android/email/ |
D | ControllerProviderOpsTests.java | 43 private Context mContext; field in ControllerProviderOpsTests 53 mContext = getContext(); in setUp() 68 Mailbox.getSystemMailboxName(mContext, -1); in testGetMailboxServerName() 74 assertEquals("Inbox", Mailbox.getSystemMailboxName(mContext, Mailbox.TYPE_INBOX)); in testGetMailboxServerName() 75 assertEquals("Outbox", Mailbox.getSystemMailboxName(mContext, Mailbox.TYPE_OUTBOX)); in testGetMailboxServerName() 76 assertEquals("Trash", Mailbox.getSystemMailboxName(mContext, Mailbox.TYPE_TRASH)); in testGetMailboxServerName() 77 assertEquals("Sent", Mailbox.getSystemMailboxName(mContext, Mailbox.TYPE_SENT)); in testGetMailboxServerName() 78 assertEquals("Junk", Mailbox.getSystemMailboxName(mContext, Mailbox.TYPE_JUNK)); in testGetMailboxServerName() 83 assertEquals("Inbox", Mailbox.getSystemMailboxName(mContext, Mailbox.TYPE_INBOX)); in testGetMailboxServerName() 84 assertEquals("Outbox", Mailbox.getSystemMailboxName(mContext, Mailbox.TYPE_OUTBOX)); in testGetMailboxServerName() [all …]
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | Config.java | 77 private final Context mContext; field in Config 86 mContext = context; in Config() 90 return mContext; in getContext() 103 String[] items = mContext.getResources().getStringArray(res); in loadResourceStringSet() 122 return mContext.getResources().getInteger(R.integer.num_suggestions_above_keyboard); in getNumSuggestionsAboveKeyboard() 129 return mContext.getResources().getInteger(R.integer.max_promoted_suggestions); in getMaxPromotedSuggestions() 133 return mContext.getResources().getInteger(R.integer.max_promoted_results); in getMaxPromotedResults() 147 return mContext.getResources().getInteger(R.integer.max_shortcuts_per_web_source); in getMaxShortcutsPerWebSource() 154 return mContext.getResources().getInteger(R.integer.max_shortcuts_per_non_web_source); in getMaxShortcutsPerNonWebSource() 268 return mContext.getResources().getBoolean(R.bool.show_zero_query_suggestions); in showSuggestionsForZeroQuery() [all …]
|