Home
last modified time | relevance | path

Searched refs:visibleCount (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DDropTargetBar.java145 int visibleCount = getVisibleButtons(mTempTargets); in onMeasure() local
146 if (visibleCount == 1) { in onMeasure()
156 } else if (visibleCount == 2) { in onMeasure()
232 int visibleCount = getVisibleButtons(mTempTargets); in onLayout() local
233 if (visibleCount == 0) { in onLayout()
252 if (visibleCount == 1) { in onLayout()
256 } else if (visibleCount == 2) { in onLayout()
288 int visibleCount = 0; in getVisibleButtons() local
291 outVisibleButtons[visibleCount] = button; in getVisibleButtons()
292 visibleCount++; in getVisibleButtons()
[all …]
/packages/apps/Settings/src/com/android/settings/system/
DSystemDashboardFragment.java67 int visibleCount = 0; in getVisiblePreferenceCount() local
71 visibleCount += getVisiblePreferenceCount((PreferenceGroup) preference); in getVisiblePreferenceCount()
73 visibleCount++; in getVisiblePreferenceCount()
76 return visibleCount; in getVisiblePreferenceCount()
/packages/apps/Contacts/src/com/android/contacts/model/
DRawContactModifier.java90 final int visibleCount = state.getMimeEntriesCount(kind.mimeType, true); in canInsert() local
93 || (visibleCount < kind.typeOverallMax); in canInsert()