Home
last modified time | relevance | path

Searched refs:PRIMARY (Results 1 – 25 of 32) sorted by relevance

12

/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsFullSheet.java166 mAdapters.put(AdapterHolder.PRIMARY, new AdapterHolder(AdapterHolder.PRIMARY)); in WidgetsFullSheet()
225 mAdapters.get(AdapterHolder.PRIMARY).setup(findViewById(R.id.primary_widgets_list_view)); in setupViews()
234 mViewPager.getPageIndicator().setActiveMarker(AdapterHolder.PRIMARY); in setupViews()
305 mAdapters.get(AdapterHolder.PRIMARY).mWidgetsRecyclerView.scrollToTop(); in reset()
318 if (!mHasWorkProfile || mViewPager.getCurrentPage() == AdapterHolder.PRIMARY) { in getRecyclerView()
319 return mAdapters.get(AdapterHolder.PRIMARY).mWidgetsRecyclerView; in getRecyclerView()
339 mAdapters.get(AdapterHolder.PRIMARY).mWidgetsRecyclerView in onDetachedFromWindow()
351 setBottomPadding(mAdapters.get(AdapterHolder.PRIMARY).mWidgetsRecyclerView, mBottomPadding); in setInsets()
390 mAdapters.get(AdapterHolder.PRIMARY).mWidgetsRecyclerView, in onContentHorizontalMarginChanged()
394 mAdapters.get(AdapterHolder.PRIMARY).mWidgetsRecyclerView, in onContentHorizontalMarginChanged()
[all …]
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DNetworkRankerTest.kt25 import android.net.NetworkScore.POLICY_TRANSPORT_PRIMARY as PRIMARY in <lambda>()
131 val primaryBadWifi = TestScore(score(EVER_EVALUATED, EVER_VALIDATED, PRIMARY), CAPS_WIFI) in testYieldToBadWiFi_oneCellTwoBadWiFi()
151 val badWifi = TestScore(score(EVER_EVALUATED, EVER_VALIDATED, PRIMARY), CAPS_WIFI) in testYieldToBadWiFi_oneCellOneBadWiFiOneGoodWiFi()
169 val badWifi = TestScore(score(EVER_EVALUATED, EVER_VALIDATED, PRIMARY), CAPS_WIFI) in testYieldToBadWiFi_twoCellsOneBadWiFi()
178 val badWifi = TestScore(score(EVER_EVALUATED, EVER_VALIDATED, PRIMARY), CAPS_WIFI) in testYieldToBadWiFi_twoCellsOneBadWiFiOneGoodWiFi()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/service/
DSafetyCenterSearchIndexablesProvider.kt198 addIndexableRow(it.value.title, ProfileType.PRIMARY) in <lambda>()
207 addIndexableRow(title = it, ProfileType.PRIMARY) in <lambda>()
268 keysToRemove.add(safetySource.id.addSuffix(ProfileType.PRIMARY)) in <lambda>()
318 keysToRemove.remove(entryId.safetySourceId.addSuffix(ProfileType.PRIMARY)) in <lambda>()
374 PRIMARY, in <lambda>()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DMedicalDataSourceHelper.java22 import static com.android.server.healthconnect.storage.utils.StorageUtils.PRIMARY;
54 Pair.create(PRIMARY_COLUMN_NAME, PRIMARY), in getColumnInfo()
DMigrationEntityHelper.java21 import static com.android.server.healthconnect.storage.utils.StorageUtils.PRIMARY;
67 columnInfo.add(new Pair<>(PRIMARY_COLUMN_NAME, PRIMARY)); in getColumnInfo()
DChangeLogsRequestHelper.java22 import static com.android.server.healthconnect.storage.utils.StorageUtils.PRIMARY;
116 columnInfo.add(new Pair<>(PRIMARY_COLUMN_NAME, PRIMARY)); in getColumnInfo()
DDeviceInfoHelper.java22 import static com.android.server.healthconnect.storage.utils.StorageUtils.PRIMARY;
204 columnInfo.add(new Pair<>(RecordHelper.PRIMARY_COLUMN_NAME, PRIMARY)); in getColumnInfo()
DHealthDataCategoryPriorityHelper.java26 import static com.android.server.healthconnect.storage.utils.StorageUtils.PRIMARY;
386 columnInfo.add(new Pair<>(RecordHelper.PRIMARY_COLUMN_NAME, PRIMARY)); in getColumnInfo()
DAppInfoHelper.java24 import static com.android.server.healthconnect.storage.utils.StorageUtils.PRIMARY;
677 columnInfo.add(new Pair<>(RecordHelper.PRIMARY_COLUMN_NAME, PRIMARY)); in getColumnInfo()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/
DMedicalDataSourceHelperTest.java25 import static com.android.server.healthconnect.storage.utils.StorageUtils.PRIMARY;
46 Pair.create(PRIMARY_COLUMN_NAME, PRIMARY), in getCreateTableRequest_correctResult()
/packages/apps/Dialer/java/com/android/dialer/contacts/displaypreference/
DContactDisplayPreferences.java63 PRIMARY(R.string.display_options_view_given_name_first_value), enumConstant
141 case PRIMARY: in getDisplayName()
DContactDisplayPreferencesImpl.java51 return DisplayOrder.PRIMARY; in getDisplayOrder()
106 return DisplayOrder.PRIMARY.getValue(appContext); in translateLegacyDisplayOrder()
DContactDisplayPreferencesStub.java32 return DisplayOrder.PRIMARY; in getDisplayOrder()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/profileselector/
DProfileSelector.kt184 UserProfile.ProfileType.PRIMARY -> in getLabelForProfile()
202 UserProfile.ProfileType.PRIMARY -> Icons.Filled.AccountCircle in getIconForProfile()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/user/
DUserProfile.kt57 PRIMARY, // For parent // base user profiles
DUserMonitor.kt403 isParentProfile -> UserProfile.ProfileType.PRIMARY in <lambda>()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/profileselector/
DProfileSelectorViewModelTest.kt191 .isEqualTo(listOf(UserProfile.ProfileType.PRIMARY, UserProfile.ProfileType.MANAGED)) in testExposesUserProfileFlowsForUi()
195 .isEqualTo(UserProfile.ProfileType.PRIMARY) in testExposesUserProfileFlowsForUi()
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/
DContactsCursorLoader.java65 case PRIMARY: in getProjection()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DNameNormalizer.java50 sCachedCompressingCollator.setStrength(Collator.PRIMARY); in ensureCollators()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/user/
DUserMonitorTest.kt75 profileType = UserProfile.ProfileType.PRIMARY, in <lambda>()
621 profileType = UserProfile.ProfileType.PRIMARY, in <lambda>()
627 profileType = UserProfile.ProfileType.PRIMARY, in <lambda>()
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DPhoneCallDetails.java186 if (nameDisplayOrder == DisplayOrder.PRIMARY || TextUtils.isEmpty(nameAlternative)) { in getPreferredName()
/packages/apps/Launcher3/src/com/android/launcher3/search/
DStringMatcherUtility.java118 mCollator.setStrength(Collator.PRIMARY);
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/
DSearchContactsCursorLoader.java62 == DisplayOrder.PRIMARY); in getProjection()
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
DContactRecipientAdapter.java252 mCollator.setStrength(Collator.PRIMARY); in RecipientEntryComparator()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupMembersFragment.java328 public static final int PRIMARY = 2; field in GroupMembersFragment.Query
391 final boolean isPrimary = cursor.getInt(Query.PRIMARY) != 0; in sendToGroup()

12