Searched refs:newPreference (Results 1 – 8 of 8) sorted by relevance
11 newPreference: Preference in arePreferenceItemsTheSame()14 (oldPreference as ComparablePreference).isSameItem(newPreference) in arePreferenceItemsTheSame()15 } else comparePreference(oldPreference, newPreference) == 0 in arePreferenceItemsTheSame()20 newPreference: Preference in arePreferenceContentsTheSame()23 (oldPreference as ComparablePreference).hasSameContents(newPreference) in arePreferenceContentsTheSame()24 } else comparePreference(oldPreference, newPreference) == 0 in arePreferenceContentsTheSame()27 private fun comparePreference(oldPreference: Preference, newPreference: Preference): Int { in comparePreference()28 return if (oldPreference.title == newPreference.title) { in comparePreference()
30 public boolean arePreferenceItemsTheSame(Preference oldPreference, Preference newPreference) { in arePreferenceItemsTheSame() argument32 return ((ComparablePreference) oldPreference).isSameItem(newPreference); in arePreferenceItemsTheSame()34 return super.arePreferenceItemsTheSame(oldPreference, newPreference); in arePreferenceItemsTheSame()39 Preference oldPreference, Preference newPreference) { in arePreferenceContentsTheSame() argument41 return ((ComparablePreference) oldPreference).hasSameContents(newPreference); in arePreferenceContentsTheSame()43 return super.arePreferenceContentsTheSame(oldPreference, newPreference); in arePreferenceContentsTheSame()
83 private void updateOrder(Preference newPreference) { in updateOrder() argument92 && preference != newPreference in updateOrder()98 newPreference.setOrder(preferenceOrder + mInsertedPreferences); in updateOrder()
137 Preference newPreference = new Preference(mContext); in createPreference() local138 newPreference.setKey(key); in createPreference()139 return newPreference; in createPreference()
171 val newPreference = in <lambda>() constant194 mRecentAccessTodayPreferenceGroup?.addPreference(newPreference) in <lambda>()200 mRecentAccessYesterdayPreferenceGroup?.addPreference(newPreference) in <lambda>()
54 private CameraPreference newPreference(String tagName, Object[] args) { in newPreference() method in PreferenceInflater85 CameraPreference pref = newPreference(parser.getName(), args); in inflate()
87 val newPreference = in <lambda>() constant108 mAllDataCategories?.addPreference(newPreference) in <lambda>()
355 newPreference -> in <lambda>() method357 newPreference.setOnPreferenceClickListener { in <lambda>()