OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getPositionForSection
(Results
1 - 25
of
33
) sorted by null
1
2
/frameworks/base/core/java/android/widget/
SectionIndexer.java
59
int
getPositionForSection
(int sectionIndex);
AlphabetIndexer.java
31
* cursor changes. {@link #
getPositionForSection
} method does the binary search for the starting
146
public int
getPositionForSection
(int sectionIndex) {
FastScroller.java
[
all
...]
/cts/tests/tests/widget/src/android/widget/cts/
AlphabetIndexerTest.java
57
// test
getPositionForSection
60
assertEquals(INDEX_OF_ARGENTINA, indexer.
getPositionForSection
(index));
64
assertEquals(INDEX_OF_CHINA, indexer.
getPositionForSection
(index));
68
assertEquals(INDEX_OF_UNITED_STATES, indexer.
getPositionForSection
(index));
72
assertEquals(COUNTRIES_LIST.length, indexer.
getPositionForSection
(index));
85
// test
getPositionForSection
in Name Cursor
88
assertEquals(INDEX_OF_BERGKAMP, indexer.
getPositionForSection
(index));
92
assertEquals(INDEX_OF_MESSI, indexer.
getPositionForSection
(index));
96
assertEquals(INDEX_OF_STEVEN, indexer.
getPositionForSection
(index));
100
assertEquals(NAMES_LIST.length, indexer.
getPositionForSection
(index))
[
all
...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
IndexerListAdapter.java
109
public int
getPositionForSection
(int sectionIndex) {
114
return mIndexer.
getPositionForSection
(sectionIndex);
190
int nextSectionPosition = partitionStart +
getPositionForSection
(section + 1);
210
if (section != -1 &&
getPositionForSection
(section) == position) {
218
mPlacementCache.lastInSection = (
getPositionForSection
(section + 1) - 1 == position);
ContactsSectionIndexer.java
73
public int
getPositionForSection
(int section) {
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/
MtpAdapter.java
121
if (position ==
getPositionForSection
(getSectionForPosition(position))) {
164
public int
getPositionForSection
(int section) {
/packages/apps/Settings/src/com/android/settings/
UserDictionarySettings.java
272
public int
getPositionForSection
(int section) {
273
return null == mIndexer ? 0 : mIndexer.
getPositionForSection
(section);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
UserDictionarySettings.java
327
public int
getPositionForSection
(int section) {
328
return null == mIndexer ? 0 : mIndexer.
getPositionForSection
(section);
/packages/apps/Contacts/src/com/android/contacts/list/
EmailAddressListAdapter.java
159
if (
getPositionForSection
(section) == position) {
PostalAddressListAdapter.java
150
if (
getPositionForSection
(section) == position) {