Searched refs:numberOfHeaders (Results 1 – 2 of 2) sorted by relevance
159 final int numberOfHeaders = sticky != null ? 1 : 0; in onInitializeAccessibilityEvent() local160 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()
233 final int numberOfHeaders = header != null ? 1 : 0; in onInitializeAccessibilityEvent() local234 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()