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
26
) 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
907
int targetIndex = mSectionIndexer.
getPositionForSection
(targetSection);
923
nextIndex = mSectionIndexer.
getPositionForSection
(targetSection + 1);
[
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
119
public int
getPositionForSection
(int sectionIndex) {
124
return mIndexer.
getPositionForSection
(sectionIndex);
200
int nextSectionPosition = partitionStart +
getPositionForSection
(section + 1);
220
if (section != -1 &&
getPositionForSection
(section) == position) {
228
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
114
if (position ==
getPositionForSection
(getSectionForPosition(position))) {
156
public int
getPositionForSection
(int section) {
/packages/apps/Contacts/src/com/android/contacts/list/
EmailAddressListAdapter.java
157
if (
getPositionForSection
(section) == position) {
166
if (
getPositionForSection
(section + 1) - 1 == position) {
PostalAddressListAdapter.java
147
if (
getPositionForSection
(section) == position) {
156
if (
getPositionForSection
(section + 1) - 1 == position) {
/packages/apps/Settings/src/com/android/settings/
UserDictionarySettings.java
273
public int
getPositionForSection
(int section) {
274
return null == mIndexer ? 0 : mIndexer.
getPositionForSection
(section);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
UserDictionarySettings.java
322
public int
getPositionForSection
(int section) {
323
return null == mIndexer ? 0 : mIndexer.
getPositionForSection
(section);
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/
ContactsListFragment.java
[
all
...]
/packages/apps/Music/src/com/android/music/
MusicPicker.java
349
public int
getPositionForSection
(int section) {
356
return mIndexer.
getPositionForSection
(section);
AlbumBrowserActivity.java
661
public int
getPositionForSection
(int section) {
662
return mIndexer.
getPositionForSection
(section);
ArtistAlbumBrowserActivity.java
[
all
...]
TrackBrowserActivity.java
[
all
...]
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/
CitiesActivity.java
419
public int
getPositionForSection
(int section) {
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/
IngestActivity.java
135
int nextSectionStart = mAdapter.
getPositionForSection
(
/prebuilts/sdk/12/
android.jar
/prebuilts/sdk/14/
android.jar
/prebuilts/sdk/15/
android.jar
/prebuilts/sdk/17/
android.jar
/prebuilts/sdk/4/
android.jar
/prebuilts/sdk/5/
android.jar
/prebuilts/sdk/6/
android.jar
Completed in 543 milliseconds
1
2