Home
last modified time | relevance | path

Searched refs:numberOfHeaders (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DStickyHeaderListView.java159 final int numberOfHeaders = sticky != null ? 1 : 0; in onInitializeAccessibilityEvent() local
160 event.setItemCount(event.getItemCount() - numberOfHeaders); in onInitializeAccessibilityEvent()
161 event.setFromIndex(Math.max(event.getFromIndex() - numberOfHeaders, 0)); in onInitializeAccessibilityEvent()
163 event.setToIndex(Math.max(event.getToIndex() - numberOfHeaders, 0)); in onInitializeAccessibilityEvent()
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/view/
DHeaderRecyclerView.java233 final int numberOfHeaders = header != null ? 1 : 0; in onInitializeAccessibilityEvent() local
234 event.setItemCount(event.getItemCount() - numberOfHeaders); in onInitializeAccessibilityEvent()
235 event.setFromIndex(Math.max(event.getFromIndex() - numberOfHeaders, 0)); in onInitializeAccessibilityEvent()
237 event.setToIndex(Math.max(event.getToIndex() - numberOfHeaders, 0)); in onInitializeAccessibilityEvent()