OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:partitionindex
(Results
1 - 8
of
8
) sorted by null
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ContactListAdapter.java
168
int
partitionIndex
= getPartitionForPosition(position);
170
return item != null ? getContactUri(
partitionIndex
, item) : null;
173
public Uri getContactUri(int
partitionIndex
, Cursor cursor) {
177
long directoryId = ((DirectoryPartition)getPartition(
partitionIndex
)).getDirectoryId();
200
public boolean isSelectedContact(int
partitionIndex
, Cursor cursor) {
201
long directoryId = ((DirectoryPartition)getPartition(
partitionIndex
)).getDirectoryId();
240
protected void bindPhoto(final ContactListItemView view, int
partitionIndex
, Cursor cursor) {
241
if (!isPhotoSupported(
partitionIndex
)) {
292
int
partitionIndex
= -1;
297
partitionIndex
= i
[
all
...]
ContactEntryListAdapter.java
461
public void changeCursor(int
partitionIndex
, Cursor cursor) {
462
if (
partitionIndex
>= getPartitionCount()) {
467
Partition partition = getPartition(
partitionIndex
);
472
if (mDisplayPhotos && mPhotoLoader != null && isPhotoSupported(
partitionIndex
)) {
476
super.changeCursor(
partitionIndex
, cursor);
478
if (isSectionHeaderDisplayEnabled() &&
partitionIndex
== getIndexedPartition()) {
538
public int getItemViewType(int
partitionIndex
, int position) {
539
int type = super.getItemViewType(
partitionIndex
, position);
542
&&
partitionIndex
== getIndexedPartition()) {
634
protected void bindHeaderView(View view, int
partitionIndex
, Cursor cursor)
[
all
...]
ContactEntryListFragment.java
371
private void startLoadingDirectoryPartition(int
partitionIndex
) {
372
DirectoryPartition partition = (DirectoryPartition)mAdapter.getPartition(
partitionIndex
);
377
loadDirectoryPartition(
partitionIndex
, partition);
379
loadDirectoryPartitionDelayed(
partitionIndex
, partition);
384
getLoaderManager().initLoader(
partitionIndex
, args, this);
393
private void loadDirectoryPartitionDelayed(int
partitionIndex
, DirectoryPartition partition) {
396
DIRECTORY_SEARCH_MESSAGE,
partitionIndex
, 0, partition);
403
protected void loadDirectoryPartition(int
partitionIndex
, DirectoryPartition partition) {
406
getLoaderManager().restartLoader(
partitionIndex
, args, this);
449
protected void onPartitionLoaded(int
partitionIndex
, Cursor data)
[
all
...]
PhoneNumberListAdapter.java
338
final int
partitionIndex
= getPartitionForPosition(position);
340
return item != null ? getDataUri(
partitionIndex
, item) : null;
343
public Uri getDataUri(int
partitionIndex
, Cursor cursor) {
345
((DirectoryPartition)getPartition(
partitionIndex
)).getDirectoryId();
533
protected void bindPhoto(final ContactListItemView view, int
partitionIndex
, Cursor cursor) {
534
if (!isPhotoSupported(
partitionIndex
)) {
634
protected Uri getContactUri(int
partitionIndex
, Cursor cursor,
636
final DirectoryPartition directory = (DirectoryPartition) getPartition(
partitionIndex
);
639
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
104
public void removePartition(int
partitionIndex
) {
105
Cursor cursor = mPartitions.get(
partitionIndex
).cursor;
109
mPartitions.remove(
partitionIndex
);
143
public void setHasHeader(int
partitionIndex
, boolean flag) {
144
mPartitions.get(
partitionIndex
).hasHeader = flag;
148
public void setShowIfEmpty(int
partitionIndex
, boolean flag) {
149
mPartitions.get(
partitionIndex
).showIfEmpty = flag;
153
public Partition getPartition(int
partitionIndex
) {
154
return mPartitions.get(
partitionIndex
);
/packages/apps/Contacts/src/com/android/contacts/list/
JoinContactListAdapter.java
164
protected void bindHeaderView(View view, int
partitionIndex
, Cursor cursor) {
205
public Uri getContactUri(int
partitionIndex
, Cursor cursor) {
/packages/apps/Gallery2/src/com/android/gallery3d/data/
TimeClustering.java
269
int
partitionIndex
= -1;
294
partitionIndex
= i;
297
partitionIndex
= i + 1;
303
return
partitionIndex
;
Completed in 126 milliseconds