HomeSort by relevance Sort by last modified time
    Searched refs:partitionIndex (Results 1 - 8 of 8) sorted by null

  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ContactListAdapter.java 147 int partitionIndex = getPartitionForPosition(position);
149 return item != null ? getContactUri(partitionIndex, item) : null;
152 public Uri getContactUri(int partitionIndex, Cursor cursor) {
156 long directoryId = ((DirectoryPartition)getPartition(partitionIndex)).getDirectoryId();
170 public boolean isSelectedContact(int partitionIndex, Cursor cursor) {
171 long directoryId = ((DirectoryPartition)getPartition(partitionIndex)).getDirectoryId();
215 protected void bindPhoto(final ContactListItemView view, int partitionIndex, Cursor cursor) {
216 if (!isPhotoSupported(partitionIndex)) {
257 int partitionIndex = -1;
262 partitionIndex = i
    [all...]
ContactEntryListAdapter.java 392 public void changeCursor(int partitionIndex, Cursor cursor) {
393 if (partitionIndex >= getPartitionCount()) {
398 Partition partition = getPartition(partitionIndex);
403 if (mDisplayPhotos && mPhotoLoader != null && isPhotoSupported(partitionIndex)) {
407 super.changeCursor(partitionIndex, cursor);
409 if (isSectionHeaderDisplayEnabled() && partitionIndex == getIndexedPartition()) {
446 public int getItemViewType(int partitionIndex, int position) {
447 int type = super.getItemViewType(partitionIndex, position);
450 && partitionIndex == getIndexedPartition()) {
524 protected void bindHeaderView(View view, int partitionIndex, Cursor cursor)
    [all...]
ContactEntryListFragment.java 335 private void startLoadingDirectoryPartition(int partitionIndex) {
336 DirectoryPartition partition = (DirectoryPartition)mAdapter.getPartition(partitionIndex);
341 loadDirectoryPartition(partitionIndex, partition);
343 loadDirectoryPartitionDelayed(partitionIndex, partition);
348 getLoaderManager().initLoader(partitionIndex, args, this);
357 private void loadDirectoryPartitionDelayed(int partitionIndex, DirectoryPartition partition) {
360 DIRECTORY_SEARCH_MESSAGE, partitionIndex, 0, partition);
367 protected void loadDirectoryPartition(int partitionIndex, DirectoryPartition partition) {
370 getLoaderManager().restartLoader(partitionIndex, args, this);
413 protected void onPartitionLoaded(int partitionIndex, Cursor data)
    [all...]
  /frameworks/ex/common/java/com/android/common/widget/
CompositeCursorAdapter.java 99 public void removePartition(int partitionIndex) {
100 Cursor cursor = mPartitions[partitionIndex].cursor;
105 System.arraycopy(mPartitions, partitionIndex + 1, mPartitions, partitionIndex,
106 mSize - partitionIndex - 1);
139 public void setHasHeader(int partitionIndex, boolean flag) {
140 mPartitions[partitionIndex].hasHeader = flag;
144 public void setShowIfEmpty(int partitionIndex, boolean flag) {
145 mPartitions[partitionIndex].showIfEmpty = flag;
149 public Partition getPartition(int partitionIndex) {
    [all...]
  /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...]
  /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 173 protected void showCount(int partitionIndex, Cursor data) {

Completed in 85 milliseconds