Searched refs:comparePreference (Results 1 – 5 of 5) sorted by relevance
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/ |
D | HealthPreferenceComparisonCallback.kt | 15 } else comparePreference(oldPreference, newPreference) == 0 in arePreferenceItemsTheSame() 24 } else comparePreference(oldPreference, newPreference) == 0 in arePreferenceContentsTheSame() 27 private fun comparePreference(oldPreference: Preference, newPreference: Preference): Int { in comparePreference() method in com.android.healthconnect.controller.shared.HealthPreferenceComparisonCallback
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/ |
D | AutoPermissionAppsFragment.java | 287 KotlinUtils.INSTANCE.sortPreferenceGroup(category, this::comparePreference, false); in onPackagesLoaded() 329 private int comparePreference(Preference lhs, Preference rhs) { in comparePreference() method in AutoPermissionAppsFragment 330 return mViewModel.comparePreference(mCollator, lhs, rhs); in comparePreference()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/ |
D | PermissionAppsFragment.java | 513 KotlinUtils.INSTANCE.sortPreferenceGroup(full, this::comparePreference, false); in onPackagesLoaded() 514 KotlinUtils.INSTANCE.sortPreferenceGroup(scoped, this::comparePreference, false); in onPackagesLoaded() 516 KotlinUtils.INSTANCE.sortPreferenceGroup(category, this::comparePreference, false); in onPackagesLoaded() 545 private int comparePreference(Preference lhs, Preference rhs) { in comparePreference() method in PermissionAppsFragment
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/ |
D | UnusedAppsFragment.kt | 283 KotlinUtils.sortPreferenceGroup(category, this::comparePreference, false) in <lambda>() 314 private fun comparePreference(lhs: Preference, rhs: Preference): Int { in <lambda>() method
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/ |
D | PermissionAppsViewModel.kt | 416 fun comparePreference(collator: Collator, lhs: Preference, rhs: Preference): Int { in <lambda>() method
|