OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:partitionIndex
(Results
1 - 10
of
10
) sorted by null
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ContactListAdapter.java
158
int
partitionIndex
= getPartitionForPosition(position);
160
return item != null ? getContactUri(
partitionIndex
, item) : null;
163
public Uri getContactUri(int
partitionIndex
, Cursor cursor) {
167
long directoryId = ((DirectoryPartition)getPartition(
partitionIndex
)).getDirectoryId();
181
public boolean isSelectedContact(int
partitionIndex
, Cursor cursor) {
182
long directoryId = ((DirectoryPartition)getPartition(
partitionIndex
)).getDirectoryId();
229
protected void bindPhoto(final ContactListItemView view, int
partitionIndex
, Cursor cursor) {
230
if (!isPhotoSupported(
partitionIndex
)) {
277
int
partitionIndex
= -1;
282
partitionIndex
= i
[
all
...]
ContactEntryListAdapter.java
419
public void changeCursor(int
partitionIndex
, Cursor cursor) {
420
if (
partitionIndex
>= getPartitionCount()) {
425
Partition partition = getPartition(
partitionIndex
);
430
if (mDisplayPhotos && mPhotoLoader != null && isPhotoSupported(
partitionIndex
)) {
434
super.changeCursor(
partitionIndex
, cursor);
436
if (isSectionHeaderDisplayEnabled() &&
partitionIndex
== getIndexedPartition()) {
473
public int getItemViewType(int
partitionIndex
, int position) {
474
int type = super.getItemViewType(
partitionIndex
, position);
477
&&
partitionIndex
== getIndexedPartition()) {
551
protected void bindHeaderView(View view, int
partitionIndex
, Cursor cursor)
[
all
...]
ContactEntryListFragment.java
336
private void startLoadingDirectoryPartition(int
partitionIndex
) {
337
DirectoryPartition partition = (DirectoryPartition)mAdapter.getPartition(
partitionIndex
);
342
loadDirectoryPartition(
partitionIndex
, partition);
344
loadDirectoryPartitionDelayed(
partitionIndex
, partition);
349
getLoaderManager().initLoader(
partitionIndex
, args, this);
358
private void loadDirectoryPartitionDelayed(int
partitionIndex
, DirectoryPartition partition) {
361
DIRECTORY_SEARCH_MESSAGE,
partitionIndex
, 0, partition);
368
protected void loadDirectoryPartition(int
partitionIndex
, DirectoryPartition partition) {
371
getLoaderManager().restartLoader(
partitionIndex
, args, this);
414
protected void onPartitionLoaded(int
partitionIndex
, Cursor data)
[
all
...]
PhoneNumberListAdapter.java
260
final int
partitionIndex
= getPartitionForPosition(position);
262
return item != null ? getDataUri(
partitionIndex
, item) : null;
265
public Uri getDataUri(int
partitionIndex
, Cursor cursor) {
267
((DirectoryPartition)getPartition(
partitionIndex
)).getDirectoryId();
412
protected void bindPhoto(final ContactListItemView view, int
partitionIndex
, Cursor cursor) {
413
if (!isPhotoSupported(
partitionIndex
)) {
510
protected Uri getContactUri(int
partitionIndex
, Cursor cursor,
512
final DirectoryPartition directory = (DirectoryPartition) getPartition(
partitionIndex
);
515
return super.getContactUri(
partitionIndex
, cursor, contactIdColumn, lookUpKeyColumn);
/frameworks/ex/common/java/com/android/common/contacts/
BaseEmailAddressAdapter.java
215
public DirectoryPartitionFilter(int
partitionIndex
, long directoryId) {
216
this.mPartitionIndex =
partitionIndex
;
308
protected int getItemViewType(int
partitionIndex
, int position) {
309
DirectoryPartition partition = (DirectoryPartition)getPartition(
partitionIndex
);
314
protected View newView(Context context, int
partitionIndex
, Cursor cursor,
316
DirectoryPartition partition = (DirectoryPartition)getPartition(
partitionIndex
);
348
protected boolean isEnabled(int
partitionIndex
, int position) {
350
return !isLoading(
partitionIndex
);
353
private boolean isLoading(int
partitionIndex
) {
354
return ((DirectoryPartition)getPartition(
partitionIndex
)).loading
[
all
...]
/frameworks/ex/common/java/com/android/common/widget/
CompositeCursorAdapter.java
100
public void removePartition(int
partitionIndex
) {
101
Cursor cursor = mPartitions.get(
partitionIndex
).cursor;
105
mPartitions.remove(
partitionIndex
);
139
public void setHasHeader(int
partitionIndex
, boolean flag) {
140
mPartitions.get(
partitionIndex
).hasHeader = flag;
144
public void setShowIfEmpty(int
partitionIndex
, boolean flag) {
145
mPartitions.get(
partitionIndex
).showIfEmpty = flag;
149
public Partition getPartition(int
partitionIndex
) {
150
return mPartitions.get(
partitionIndex
);
/packages/apps/Dialer/src/com/android/dialer/list/
RegularSearchListAdapter.java
54
final int
partitionIndex
= getPartitionForPosition(position);
56
(DirectoryPartition) getPartition(
partitionIndex
);
/packages/apps/Gallery2/src/com/android/gallery3d/data/
TimeClustering.java
269
int
partitionIndex
= -1;
294
partitionIndex
= i;
297
partitionIndex
= i + 1;
303
return
partitionIndex
;
/packages/apps/Contacts/src/com/android/contacts/list/
JoinContactListAdapter.java
163
protected void bindHeaderView(View view, int
partitionIndex
, Cursor cursor) {
203
public Uri getContactUri(int
partitionIndex
, Cursor cursor) {
DefaultContactBrowseListFragment.java
180
protected void showCount(int
partitionIndex
, Cursor data) {
Completed in 204 milliseconds