Home
last modified time | relevance | path

Searched refs:shouldCollapse (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/
DMoreContactUtilsTest.java78 assertEquals("100", true, MoreContactUtils.shouldCollapse(Phone.CONTENT_ITEM_TYPE, in testShouldCollapse()
80 assertEquals("101", true, MoreContactUtils.shouldCollapse(Phone.CONTENT_ITEM_TYPE, in testShouldCollapse()
82 assertEquals("102", false, MoreContactUtils.shouldCollapse(Phone.CONTENT_ITEM_TYPE, in testShouldCollapse()
84 assertEquals("103", false, MoreContactUtils.shouldCollapse(Phone.CONTENT_ITEM_TYPE, in testShouldCollapse()
87 assertEquals("104", false, MoreContactUtils.shouldCollapse(Phone.CONTENT_ITEM_TYPE, in testShouldCollapse()
89 assertEquals("105", false, MoreContactUtils.shouldCollapse(Phone.CONTENT_ITEM_TYPE, in testShouldCollapse()
91 assertEquals("106", false, MoreContactUtils.shouldCollapse(Phone.CONTENT_ITEM_TYPE, in testShouldCollapse()
93 assertEquals("107", false, MoreContactUtils.shouldCollapse(Phone.CONTENT_ITEM_TYPE, in testShouldCollapse()
95 assertEquals("108", false, MoreContactUtils.shouldCollapse(Phone.CONTENT_ITEM_TYPE, in testShouldCollapse()
97 assertEquals("109", false, MoreContactUtils.shouldCollapse(Phone.CONTENT_ITEM_TYPE, in testShouldCollapse()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DProgressiveDisclosureTest.java89 assertThat(mMixin.shouldCollapse(mScreen)).isFalse(); in shouldNotCollapse_lessPreferenceThanLimit()
98 assertThat(mMixin.shouldCollapse(mScreen)).isFalse(); in shouldNotCollapse_preferenceCountSameAsThreshold()
109 assertThat(mMixin.shouldCollapse(mScreen)).isFalse(); in shouldNotCollapse_whenStartAsExpanded()
117 assertThat(mMixin.shouldCollapse(mScreen)).isTrue(); in shouldCollapse_morePreferenceThanLimit()
/packages/apps/Settings/src/com/android/settings/dashboard/
DProgressiveDisclosureMixin.java122 public boolean shouldCollapse(PreferenceScreen screen) { in shouldCollapse() method in ProgressiveDisclosureMixin
131 if (!shouldCollapse(screen)) { in collapse()
170 } else if (shouldCollapse(screen)) { in addPreference()
/packages/apps/Dialer/java/com/android/contacts/common/
DMoreContactUtils.java40 public static boolean shouldCollapse( in shouldCollapse() method in MoreContactUtils
/packages/apps/Contacts/src/com/android/contacts/
DMoreContactUtils.java47 public static boolean shouldCollapse(CharSequence mimetype1, CharSequence data1, in shouldCollapse() method in MoreContactUtils
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/
DDataItem.java245 return MoreContactUtils.shouldCollapse(getMimeType(), buildDataString(context, mKind), in shouldCollapseWith()
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/
DDataItem.java238 return MoreContactUtils.shouldCollapse( in shouldCollapseWith()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DDataAction.java332 if (!MoreContactUtils.shouldCollapse(mMimeType, mBody, that.mMimeType, that.mBody)) { in shouldCollapseWith()
/packages/apps/Dialer/java/com/android/dialer/interactions/
DPhoneNumberInteraction.java433 return MoreContactUtils.shouldCollapse( in shouldCollapseWith()