Home
last modified time | relevance | path

Searched refs:getContext (Results 1 – 25 of 993) sorted by relevance

12345678910>>...40

/packages/apps/TV/tests/unit/src/com/android/tv/util/
DUtilsTest_GetDurationString.java80 assertEquals("3:00 AM", Utils.getDurationString(getContext(), DATE_THIS_YEAR_2_1_MS, in testSameDateAndTime()
83 assertEquals("03:00", Utils.getDurationString(getContext(), DATE_THIS_YEAR_2_1_MS, in testSameDateAndTime()
90 Utils.getDurationString(getContext(), DATE_THIS_YEAR_2_1_MS, DATE_THIS_YEAR_2_1_MS, in testDurationWithinToday()
94 Utils.getDurationString(getContext(), DATE_THIS_YEAR_2_1_MS, DATE_THIS_YEAR_2_1_MS, in testDurationWithinToday()
101 Utils.getDurationString(getContext(), DATE_THIS_YEAR_2_1_MS, in testDurationFromYesterdayToToday()
105 Utils.getDurationString(getContext(), DATE_THIS_YEAR_2_1_MS, in testDurationFromYesterdayToToday()
109 Utils.getDurationString(getContext(), DATE_THIS_YEAR_2_1_MS, in testDurationFromYesterdayToToday()
113 Utils.getDurationString(getContext(), DATE_THIS_YEAR_2_1_MS, in testDurationFromYesterdayToToday()
120 Utils.getDurationString(getContext(), DATE_THIS_YEAR_2_1_MS, in testDurationFromTodayToTomorrow()
124 Utils.getDurationString(getContext(), DATE_THIS_YEAR_2_1_MS, in testDurationFromTodayToTomorrow()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DCaptionCustomFragment.java199 final String typeface = Settings.Secure.getString(getContext().getContentResolver(), in getCaptionsFontFamily()
206 Settings.Secure.putString(getContext().getContentResolver(), in setCaptionsFontFamily()
209 Settings.Secure.putString(getContext().getContentResolver(), in setCaptionsFontFamily()
215 return Integer.toHexString(Settings.Secure.getInt(getContext().getContentResolver(), in getCaptionsTextColor()
221 final int alpha = Settings.Secure.getInt(getContext().getContentResolver(), in setCaptionsTextColor()
223 Settings.Secure.putInt(getContext().getContentResolver(), in setCaptionsTextColor()
228 return opacityToString(Settings.Secure.getInt(getContext().getContentResolver(), in getCaptionsTextOpacity()
233 final int color = Settings.Secure.getInt(getContext().getContentResolver(), in setCaptionsTextOpacity()
236 Settings.Secure.putInt(getContext().getContentResolver(), in setCaptionsTextOpacity()
241 return Integer.toString(Settings.Secure.getInt(getContext().getContentResolver(), in getCaptionsEdgeType()
[all …]
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DHelpersTest.java36 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/Contacts/tests/src/com/android/contacts/editor/
DEditorUiUtilsTest.java71 final Pair pair = EditorUiUtils.getLocalAccountInfo(getContext(), in testGetProfileAccountInfo_AccountName()
76 assertEquals(getContext().getString(R.string.external_profile_title, DISPLAY_LABEL), in testGetProfileAccountInfo_AccountName()
81 final Pair pair = EditorUiUtils.getLocalAccountInfo(getContext(), in testGetProfileAccountInfo_NoAccountName()
86 assertEquals(getContext().getString(R.string.local_profile_title), in testGetProfileAccountInfo_NoAccountName()
91 final Pair pair = EditorUiUtils.getAccountInfo(getContext(), in testGetAccountInfo_AccountName_DisplayLabel()
95 assertEquals(getContext().getString(R.string.from_account_format, ACCOUNT_NAME), in testGetAccountInfo_AccountName_DisplayLabel()
97 assertEquals(getContext().getString(R.string.account_type_format, DISPLAY_LABEL), in testGetAccountInfo_AccountName_DisplayLabel()
104 final Pair pair = EditorUiUtils.getAccountInfo(getContext(), in testGetAccountInfo_AccountName_DisplayLabel_GoogleAccountType()
108 assertEquals(getContext().getString(R.string.from_account_format, GOOGLE_ACCOUNT_NAME), in testGetAccountInfo_AccountName_DisplayLabel_GoogleAccountType()
111 getContext().getString(R.string.google_account_type_format, GOOGLE_DISPLAY_LABEL), in testGetAccountInfo_AccountName_DisplayLabel_GoogleAccountType()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/
DContactInteractionUtilTest.java71 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/apps/Settings/src/com/android/settings/dashboard/conditional/
DDndCondition.java47 mManager.getContext().getSystemService(NotificationManager.class); in refreshState()
78 return mManager.getContext().getString(R.string.zen_mode_option_alarms); in getZenState()
80 return mManager.getContext().getString( in getZenState()
83 return mManager.getContext().getString(R.string.zen_mode_option_no_interruptions); in getZenState()
90 return Icon.createWithResource(mManager.getContext(), R.drawable.ic_zen); in getIcon()
95 return mManager.getContext().getString(R.string.condition_zen_title, getZenState()); in getTitle()
102 …return isForever ? mManager.getContext().getString(com.android.internal.R.string.zen_mode_forever_… in getSummary()
103 : ZenModeConfig.getConditionSummary(mManager.getContext(), mConfig, in getSummary()
110 return new CharSequence[] { mManager.getContext().getString(R.string.condition_turn_off) }; in getActions()
115 StatusBarManager statusBar = mManager.getContext().getSystemService(StatusBarManager.class); in onPrimaryClick()
[all …]
DCellularDataCondition.java32 ConnectivityManager connectivity = mManager.getContext().getSystemService( in refreshState()
34 TelephonyManager telephony = mManager.getContext().getSystemService(TelephonyManager.class); in refreshState()
50 return Icon.createWithResource(mManager.getContext(), R.drawable.ic_cellular_off); in getIcon()
55 return mManager.getContext().getString(R.string.condition_cellular_title); in getTitle()
60 return mManager.getContext().getString(R.string.condition_cellular_summary); in getSummary()
65 return new CharSequence[] { mManager.getContext().getString(R.string.condition_turn_on) }; in getActions()
70 mManager.getContext().startActivity(new Intent(mManager.getContext(), in onPrimaryClick()
77 TelephonyManager telephony = mManager.getContext().getSystemService( in onActionClick()
DBackgroundDataCondition.java33 setActive(NetworkPolicyManager.from(mManager.getContext()).getRestrictBackground()); in refreshState()
38 return Icon.createWithResource(mManager.getContext(), R.drawable.ic_data_saver); in getIcon()
43 return mManager.getContext().getString(R.string.condition_bg_data_title); in getTitle()
48 return mManager.getContext().getString(R.string.condition_bg_data_summary); in getSummary()
53 return new CharSequence[] { mManager.getContext().getString(R.string.condition_turn_off) }; in getActions()
58 mManager.getContext().startActivity(new Intent(mManager.getContext(), in onPrimaryClick()
70 NetworkPolicyManager.from(mManager.getContext()).setRestrictBackground(false); in onActionClick()
DAirplaneModeCondition.java36 setActive(WirelessUtils.isAirplaneModeOn(mManager.getContext())); in refreshState()
46 return Icon.createWithResource(mManager.getContext(), R.drawable.ic_airplane); in getIcon()
51 return mManager.getContext().getString(R.string.condition_airplane_title); in getTitle()
56 return mManager.getContext().getString(R.string.condition_airplane_summary); in getSummary()
61 return new CharSequence[] { mManager.getContext().getString(R.string.condition_turn_off) }; in getActions()
66 mManager.getContext().startActivity(new Intent(mManager.getContext(), in onPrimaryClick()
73 ConnectivityManager.from(mManager.getContext()).setAirplaneMode(false); in onActionClick()
DBatterySaverCondition.java32 PowerManager powerManager = mManager.getContext().getSystemService(PowerManager.class); in refreshState()
38 return Icon.createWithResource(mManager.getContext(), R.drawable.ic_settings_battery); in getIcon()
43 return mManager.getContext().getString(R.string.condition_battery_title); in getTitle()
48 return mManager.getContext().getString(R.string.condition_battery_summary); in getSummary()
53 return new CharSequence[] { mManager.getContext().getString(R.string.condition_turn_off) }; in getActions()
58 Utils.startWithFragment(mManager.getContext(), BatterySaverSettings.class.getName(), null, in onPrimaryClick()
65 mManager.getContext().getSystemService(PowerManager.class).setPowerSaveMode(false); in onActionClick()
DHotspotCondition.java41 mWifiManager = mManager.getContext().getSystemService(WifiManager.class); in HotspotCondition()
57 return Icon.createWithResource(mManager.getContext(), R.drawable.ic_hotspot); in getIcon()
63 return mManager.getContext().getString( in getSsid()
72 return mManager.getContext().getString(R.string.condition_hotspot_title); in getTitle()
77 return mManager.getContext().getString(R.string.condition_hotspot_summary, getSsid()); in getSummary()
82 final Context context = mManager.getContext(); in getActions()
92 Utils.startWithFragment(mManager.getContext(), TetherSettings.class.getName(), null, null, in onPrimaryClick()
99 final Context context = mManager.getContext(); in onActionClick()
DWorkModeCondition.java38 mUm = (UserManager) mManager.getContext().getSystemService(Context.USER_SERVICE); in WorkModeCondition()
63 return Icon.createWithResource(mManager.getContext(), in getIcon()
69 return mManager.getContext().getString(R.string.condition_work_title); in getTitle()
74 return mManager.getContext().getString(R.string.condition_work_summary); in getSummary()
80 mManager.getContext().getString(R.string.condition_turn_on) in getActions()
86 mManager.getContext().startActivity(new Intent(mManager.getContext(), in onPrimaryClick()
/packages/apps/Settings/src/com/android/settings/applications/
DDefaultAssistPreference.java71 Settings.Secure.putString(getContext().getContentResolver(), in setAssistNone()
73 Settings.Secure.putString(getContext().getContentResolver(), in setAssistNone()
75 Settings.Secure.putString(getContext().getContentResolver(), in setAssistNone()
78 setSummary(getContext().getText(R.string.default_assist_none)); in setAssistNone()
89 Settings.Secure.putString(getContext().getContentResolver(), in setAssistService()
91 Settings.Secure.putString(getContext().getContentResolver(), in setAssistService()
93 Settings.Secure.putString(getContext().getContentResolver(), in setAssistService()
105 Settings.Secure.putString(getContext().getContentResolver(), in setAssistActivity()
107 Settings.Secure.putString(getContext().getContentResolver(), in setAssistActivity()
109 Settings.Secure.putString(getContext().getContentResolver(), in setAssistActivity()
[all …]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DQsbApplication.java83 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/EmergencyInfo/src/com/android/emergency/preferences/
DContactPreference.java81 mContact = EmergencyContactManager.getContact(getContext(), contactUri); in setUri()
88 getContext().getResources().getString(R.string.phone_type_and_phone_number), in setUri()
97 String.format(getContext().getString(R.string.remove_contact), in setUri()
105 (int) getContext().getResources().getDimension(R.dimen.circle_avatar_size)); in setUri()
107 icon = getContext().getResources().getDrawable(R.drawable.ic_person_black_24dp); in setUri()
124 AlertDialog.Builder builder = new AlertDialog.Builder(getContext()); in setRemoveContactPreferenceListener()
125 builder.setNegativeButton(getContext().getString(R.string.cancel), null); in setRemoveContactPreferenceListener()
126 builder.setPositiveButton(getContext().getString(R.string.remove), in setRemoveContactPreferenceListener()
137 builder.setMessage(String.format(getContext().getString(R.string.remove_contact), in setRemoveContactPreferenceListener()
179 MetricsLogger.action(getContext(), MetricsEvent.ACTION_CALL_EMERGENCY_CONTACT); in callContact()
[all …]
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DBlockedNumberProvider.java108 mDbHelper = BlockedNumberDatabaseHelper.getInstance(getContext()); in onCreate()
109 mBackupManager = new BackupManager(getContext()); in onCreate()
134 getContext().getContentResolver().notifyChange(blockedUri, null); in insert()
157 final String e164Number = Utils.getE164Number(getContext(), phoneNumber, in insertBlockedNumber()
205 getContext().getContentResolver().notifyChange(uri, null); in delete()
266 cursor.setNotificationUri(getContext().getContentResolver(), uri); in query()
360 final String e164Number = Utils.getE164Number(getContext(), phoneNumber, null); in unblock()
378 final String e164Number = Utils.getE164Number(getContext(), phoneNumber, null); in isEmergencyNumber()
388 final String inE164 = Utils.getE164Number(getContext(), phoneNumber, null); // may be empty. in isBlocked()
422 UserManager userManager = getContext().getSystemService(UserManager.class); in canCurrentUserBlockUsers()
[all …]
/packages/apps/Dialer/InCallUI/tests/src/com/android/incallui/
DContactsPreferencesFactoryTest.java31 if (!UserManagerCompat.isUserUnlocked(getContext())) { in testNewContactsPreferences_Unlocked()
34 assertNotNull(ContactsPreferencesFactory.newContactsPreferences(getContext())); in testNewContactsPreferences_Unlocked()
38 if (UserManagerCompat.isUserUnlocked(getContext())) { in testNewContactsPreferences_Locked()
41 assertNull(ContactsPreferencesFactory.newContactsPreferences(getContext())); in testNewContactsPreferences_Locked()
48 assertSame(testInstance, ContactsPreferencesFactory.newContactsPreferences(getContext())); in testNewContactsPreferences_TestInstance()
49 assertSame(testInstance, ContactsPreferencesFactory.newContactsPreferences(getContext())); in testNewContactsPreferences_TestInstance()
/packages/apps/Email/tests/src/com/android/email/
DVendorPolicyLoaderTest.java34 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/ContactsCommon/tests/src/com/android/contacts/common/util/
DContactDisplayUtilTests.java62 "expected sms label", ContactDisplayUtils.INTERACTION_SMS, getContext()); in testGetLabelForCallOrSmsReturnsCustomLabel()
66 "expected call label", ContactDisplayUtils.INTERACTION_CALL, getContext()); in testGetLabelForCallOrSmsReturnsCustomLabel()
72 ContactDisplayUtils.INTERACTION_CALL, getContext()); in testGetLabelForCallOrSmsReturnsCallLabels()
73 CharSequence expected = getContext().getResources().getText(R.string.call_home); in testGetLabelForCallOrSmsReturnsCallLabels()
77 ContactDisplayUtils.INTERACTION_CALL, getContext()); in testGetLabelForCallOrSmsReturnsCallLabels()
78 expected = getContext().getResources().getText(R.string.call_mobile); in testGetLabelForCallOrSmsReturnsCallLabels()
84 ContactDisplayUtils.INTERACTION_SMS, getContext()); in testGetLabelForCallOrSmsReturnsSmsLabels()
85 CharSequence expected = getContext().getResources().getText(R.string.sms_home); in testGetLabelForCallOrSmsReturnsSmsLabels()
89 ContactDisplayUtils.INTERACTION_SMS, getContext()); in testGetLabelForCallOrSmsReturnsSmsLabels()
90 expected = getContext().getResources().getText(R.string.sms_mobile); in testGetLabelForCallOrSmsReturnsSmsLabels()
/packages/services/Telephony/tests/src/com/android/phone/common/mail/
DMailTransportTest.java77 new MailTransport(getContext(), createMockImapHelper(), null, HOST_ADDRESS, in testCreateSocket_anyNetwork()
87 new MailTransport(getContext(), createMockImapHelper(), mockNetwork, HOST_ADDRESS, in testCreateSocket_networkSpecified()
107 MailTransport(getContext(), createMockImapHelper(), null, HOST_ADDRESS, HOST_PORT, in testCreateSocket_socketCreator()
117 MailTransport transport = new MailTransport(getContext(), createMockImapHelper(), null, in testOpen()
128 MailTransport transport = new MailTransport(getContext(), createMockImapHelper(), null, in testOpen_Ssl()
139 MailTransport transport = new MailTransport(getContext(), createMockImapHelper(), network, in testOpen_MultiIp()
150 MailTransport transport = new MailTransport(getContext(), createMockImapHelper(), network, in testOpen_MultiIp_SSL()
168 MailTransport transport = new MailTransport(getContext(), createMockImapHelper(), network, in testOpen_network_hostResolutionFailed()
182 MailTransport transport = new MailTransport(getContext(), createMockImapHelper(), null, in testOpen_createSocketFailed()
213 MailTransport transport = new MailTransport(getContext(), createMockImapHelper(), network, in testOpen_network_createSocketFailed()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DMainFragment.java106 mAuthenticatorHelper = new AuthenticatorHelper(getContext(), in onCreate()
115 mConnectivityListener = new ConnectivityListener(getContext(), in onCreate()
123 final TvInputManager manager = (TvInputManager) getContext().getSystemService( in onCreate()
161 LocalBroadcastManager.getInstance(getContext()).registerReceiver(mBCMReceiver, filter); in onStart()
185 LocalBroadcastManager.getInstance(getContext()).unregisterReceiver(mBCMReceiver); in onStop()
196 return SecurityFragment.isRestrictedProfileInEffect(getContext()); in isRestricted()
206 final AccountManager am = AccountManager.get(getContext()); in updateAccounts()
209 final Context themedContext = getPreferenceManager().getContext(); in updateAccounts()
214 targetContext = getContext().createPackageContext(authDesc.packageName, 0); in updateAccounts()
316 BluetoothConnectionsManager.getConnectedSet(getContext()); in updateAccessories()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DDictionaryProvider.java235 final Cursor c = MetadataDbHelper.queryDictionaries(getContext(), clientId); in query()
242 if (!MetadataDbHelper.isClientKnown(getContext(), clientId)) return null; in query()
249 DictionaryService.updateNowIfNotUpdatedInAVeryLongTime(getContext()); in query()
271 final Context context = getContext(); in getWordlistMetadataForWordlistId()
313 final AssetFileDescriptor afd = getContext().getResources().openRawResourceFd( in openAssetFile()
319 final File f = getContext().getFileStreamPath(localFilename); in openAssetFile()
344 final Context context = getContext(); in getDictionaryWordListsForLocale()
402 final File f = getContext().getFileStreamPath(wordListLocalFilename); in getDictionaryWordListsForLocale()
442 if (MetadataDbHelper.deleteClient(getContext(), getClientId(uri))) { in delete()
461 UpdateHandler.markAsDeleted(getContext(), clientId, wordlistId, version, status); in deleteDataFile()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DCaptionFragment.java76 LocalePicker.getAllAssetLocales(getContext(), false); in onCreatePreferences()
191 return Settings.Secure.getInt(getContext().getContentResolver(), in getCaptionsEnabled()
196 Settings.Secure.putInt(getContext().getContentResolver(), in setCaptionsEnabled()
201 return Settings.Secure.getInt(getContext().getContentResolver(), in getCaptionsStyle()
206 Settings.Secure.putInt(getContext().getContentResolver(), in setCaptionsStyle()
208 LocalBroadcastManager.getInstance(getContext()) in setCaptionsStyle()
213 return Settings.Secure.getString(getContext().getContentResolver(), in getCaptionsLocale()
218 Settings.Secure.putString(getContext().getContentResolver(), in setCaptionsLocale()
223 final float textSize = Settings.Secure.getFloat(getContext().getContentResolver(), in getCaptionsTextSize()
242 Settings.Secure.putFloat(getContext().getContentResolver(), in setCaptionsTextSize()
/packages/apps/Messaging/src/com/android/messaging/util/
DDates.java55 private static Context getContext() { in getContext() method in Dates
69 return getContext().getResources().getText(R.string.posted_just_now); in getRelativeTimeSpanString()
101 final Context context = getContext(); in getMessageDetailsTimeString()
115 final Context context = getContext(); in getTimeString()
149 return getContext().getResources().getText( in getLessThanAMinuteOldTimeString()
156 final String format = getContext().getResources().getQuantityString( in getLessThanAnHourOldTimeString()
162 return DateUtils.formatDateTime(getContext(), time, in getTodayTimeStamp()
179 final Context context = getContext(); in getThisWeekTimestamp()
197 final Context context = getContext(); in getThisYearTimestamp()
217 final Context context = getContext(); in getOlderThanAYearTimestamp()
[all …]
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardSummary.java89 Context context = getContext(); in onCreate()
93 mSuggestionsChecks = new SuggestionsChecks(getContext()); in onCreate()
121 MetricsLogger.visible(getContext(), c.getMetricsConstant()); in onStart()
126 MetricsLogger.action(getContext(), MetricsEvent.ACTION_SHOW_SETTINGS_SUGGESTION, in onStart()
127 DashboardAdapter.getSuggestionIdentifier(getContext(), suggestion)); in onStart()
142 MetricsLogger.hidden(getContext(), c.getMetricsConstant()); in onStop()
149 MetricsLogger.action(getContext(), MetricsEvent.ACTION_HIDE_SETTINGS_SUGGESTION, in onStop()
150 DashboardAdapter.getSuggestionIdentifier(getContext(), suggestion)); in onStop()
184 mLayoutManager = new LinearLayoutManager(getContext()); in onViewCreated()
193 mDashboard.addItemDecoration(new DashboardDecorator(getContext())); in onViewCreated()
[all …]

12345678910>>...40