/packages/apps/Dialer/java/com/android/contacts/common/list/ |
ContactEntryListAdapter.java | 110 Context context, int partition, Cursor cursor, int position, ViewGroup parent) { 118 protected void bindView(View itemView, int partition, Cursor cursor, int position) { 121 bindWorkProfileIcon(view, partition); 142 DirectoryPartition partition = new DirectoryPartition(true, true); local 143 partition.setDirectoryId(SUGGESTIONS_LOADER_ID); 144 partition.setDirectoryType(getContext().getString(R.string.contact_suggestions)); 145 partition.setPriorityDirectory(true); 146 partition.setPhotoSupported(true); 147 partition.setLabel(getContext().getString(R.string.local_suggestions_search_label)); 148 return partition; 152 DirectoryPartition partition = new DirectoryPartition(true, true); local 173 final Partition partition = getPartition(i); local 186 Partition partition = getPartition(i); local 199 Partition partition = getPartition(i); local 217 Partition partition = getPartition(i); local 235 Partition partition = getPartition(i); local 400 DirectoryPartition partition = new DirectoryPartition(false, true); local 428 Partition partition = getPartition(i); local 448 Partition partition = getPartition(partitionIndex); local 546 Partition partition = getPartition(i); local 568 Partition partition = getPartition(i); local 592 final Partition partition = getPartition(partitionId); local 603 Partition partition = getPartition(partitionIndex); local 638 int partition = getPartitionForPosition(position); local 658 Partition partition = getPartition(partitionIndex); local [all...] |
ContactEntryListFragment.java | 45 import com.android.common.widget.CompositeCursorAdapter.Partition; 308 Partition partition = mAdapter.getPartition(i); local 309 if (partition instanceof DirectoryPartition) { 310 DirectoryPartition directoryPartition = (DirectoryPartition) partition; 363 DirectoryPartition partition = (DirectoryPartition) mAdapter.getPartition(partitionIndex); 364 partition.setStatus(DirectoryPartition.STATUS_LOADING); 365 long directoryId = partition.getDirectoryId(); 368 loadDirectoryPartition(partitionIndex, partition); 370 loadDirectoryPartitionDelayed(partitionIndex, partition); [all...] |
PhoneNumberListAdapter.java | 295 Context context, int partition, Cursor cursor, int position, ViewGroup parent) { 296 ContactListItemView view = super.newView(context, partition, cursor, position, parent); 307 protected void bindView(View itemView, int partition, Cursor cursor, int position) { 308 super.bindView(itemView, partition, cursor, position); 337 partition, 346 bindPhoto(view, partition, cursor); 355 final DirectoryPartition directory = (DirectoryPartition) getPartition(partition); 357 position += getPositionForPartition(partition) + 1; 446 protected void bindWorkProfileIcon(final ContactListItemView view, int partition) { 447 final DirectoryPartition directory = (DirectoryPartition) getPartition(partition); 525 final DirectoryPartition partition = (DirectoryPartition) getPartition(i); local [all...] |
/developers/build/prebuilts/gradle/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/ |
CustomVirtualView.java | 76 private final SparseArray<Partition> mPartitionsByAutofillId = new SparseArray<>(); 77 private final ArrayMap<String, Partition> mPartitionsByName = new ArrayMap<>(); 128 // same partition 135 Partition partition = mPartitionsByAutofillId.get(id); local 136 if (partition == null) { 141 partitions.add(partition.mName); 296 * Creates a new partition with the given name. 298 * @throws IllegalArgumentException if such partition already exists. 300 public Partition addPartition(String name) 304 Partition partition = new Partition(name); local [all...] |
/developers/samples/android/input/autofill/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/view/autofillable/ |
CustomVirtualView.java | 78 private final SparseArray<Partition> mPartitionsByAutofillId = new SparseArray<>(); 79 private final ArrayMap<String, Partition> mPartitionsByName = new ArrayMap<>(); 130 // same partition 137 Partition partition = mPartitionsByAutofillId.get(id); local 138 if (partition == null) { 143 partitions.add(partition.mName); 298 * Creates a new partition with the given name. 300 * @throws IllegalArgumentException if such partition already exists. 302 public Partition addPartition(String name) 306 Partition partition = new Partition(name); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
vktTextureMipmapTests.cpp | 476 const bool partition = rnd.getFloat() > 0.4f; local 477 const bool partitionX = partition && width > minWidth && rnd.getBool(); 478 const bool partitionY = partition && height > minHeight && !partitionX; [all...] |
/external/deqp/modules/gles2/functional/ |
es2fTextureMipmapTests.cpp | 556 bool partition = rnd.getFloat() > 0.4f; local 557 bool partitionX = partition && width > minWidth && rnd.getBool(); 558 bool partitionY = partition && height > minHeight && !partitionX; [all...] |
/external/eigen/bench/ |
analyze-blocking-sizes.cpp | 402 const vector<vector<size_t>>& partition) 405 for (auto s = partition.begin(); s != partition.end(); ++s) { 570 const vector<vector<size_t>>& partition) 572 float efficiency = efficiency_of_partition(preprocessed_inputfiles, partition); 573 cout << "Partition into " << partition.size() << " subsets for " << efficiency * 100.0f << "% efficiency" << endl; 574 for (auto subset = partition.begin(); subset != partition.end(); ++subset) { 575 cout << " Subset " << (subset - partition.begin() 632 vector<vector<size_t>> partition; variable [all...] |
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
ListsTest.java | 555 Lists.partition(source, 0); 563 List<List<Integer>> partitions = Lists.partition(source, 1); 570 List<List<Integer>> partitions = Lists.partition(source, 1); 577 List<List<Integer>> partitions = Lists.partition(source, 2); 584 List<List<Integer>> partitions = Lists.partition(source, 1); 592 List<List<Integer>> partitions = Lists.partition(source, 2); 600 List<List<Integer>> partitions = Lists.partition(source, 2); 610 List<List<Integer>> partitions = Lists.partition(list, 3); 612 // Changes before the partition is retrieved are reflected 617 // Changes before the partition is retrieved are reflecte [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
ListsTest.java | 800 Lists.partition(source, 0); 808 List<List<Integer>> partitions = Lists.partition(source, 1); 815 List<List<Integer>> partitions = Lists.partition(source, 1); 822 List<List<Integer>> partitions = Lists.partition(source, 2); 829 List<List<Integer>> partitions = Lists.partition(source, 1); 837 List<List<Integer>> partitions = Lists.partition(source, 2); 846 List<List<Integer>> partitions = Lists.partition(source, 2); 848 assertTrue("partition should be RandomAccess, but not: " 852 assertTrue("partition[0] should be RandomAccess, but not: " 856 assertTrue("partition[1] should be RandomAccess, but not: [all...] |
/external/python/cpython3/Lib/collections/ |
__init__.py | 1213 def partition(self, sep): member in class:UserString [all...] |
/frameworks/base/core/java/com/android/server/ |
BootReceiver.java | 553 * @param partition partition name 561 public static int fixFsckFsStat(String partition, int statOrg, String[] lines, 588 Slog.i(TAG, "fs_stat, partition:" + partition + " found tree optimization:" 596 Slog.i(TAG, "fs_stat, partition:" + partition + " found quota warning:" 608 Slog.i(TAG, "fs_stat, partition:" + partition + " found timestamp adjustment:" 627 Slog.i(TAG, "fs_stat, partition:" + partition + " fix:" + otherFixLine) 643 String partition = match.group(1); local [all...] |
/frameworks/ex/common/java/com/android/common/contacts/ |
BaseEmailAddressAdapter.java | 94 * Model object for a {@link Directory} row. There is a partition in the 98 public final static class DirectoryPartition extends CompositeCursorAdapter.Partition { 309 DirectoryPartition partition = (DirectoryPartition)getPartition(partitionIndex); local 310 return partition.loading ? 1 : 0; 316 DirectoryPartition partition = (DirectoryPartition)getPartition(partitionIndex); local 317 if (partition.loading) { 325 protected void bindView(View v, int partition, Cursor cursor, int position) { 326 DirectoryPartition directoryPartition = (DirectoryPartition)getPartition(partition); 381 DirectoryPartition partition = new DirectoryPartition(); local 382 partition.directoryId = id 443 DirectoryPartition partition = (DirectoryPartition) getPartition(i); local 463 DirectoryPartition partition = (DirectoryPartition) getPartition(i); local 484 DirectoryPartition partition = (DirectoryPartition) getPartition(partitionIndex); local 503 DirectoryPartition partition = (DirectoryPartition) getPartition(partitionIndex); local [all...] |
/packages/apps/Contacts/src/com/android/contacts/list/ |
ContactBrowseListFragment.java | 37 import com.android.common.widget.CompositeCursorAdapter.Partition; 440 Partition partition = adapter.getPartition(i); local 441 if (partition instanceof DirectoryPartition) { 442 DirectoryPartition directory = (DirectoryPartition) partition;
|
ContactEntryListFragment.java | 49 import com.android.common.widget.CompositeCursorAdapter.Partition; 334 Partition partition = mAdapter.getPartition(i); local 335 if (partition instanceof DirectoryPartition) { 336 DirectoryPartition directoryPartition = (DirectoryPartition)partition; 386 DirectoryPartition partition = (DirectoryPartition)mAdapter.getPartition(partitionIndex); 387 partition.setStatus(DirectoryPartition.STATUS_LOADING); 388 long directoryId = partition.getDirectoryId(); 391 loadDirectoryPartition(partitionIndex, partition); 393 loadDirectoryPartitionDelayed(partitionIndex, partition); [all...] |
PhoneNumberListAdapter.java | 375 Context context, int partition, Cursor cursor, int position, ViewGroup parent) { 376 ContactListItemView view = super.newView(context, partition, cursor, position, parent); 408 protected void bindView(View itemView, int partition, Cursor cursor, int position) { 409 super.bindView(itemView, partition, cursor, position); 448 bindQuickContact(view, partition, cursor, PhoneQuery.PHOTO_ID, 453 bindPhoto(view, partition, cursor); 462 final DirectoryPartition directory = (DirectoryPartition) getPartition(partition); 522 protected void bindWorkProfileIcon(final ContactListItemView view, int partition) { 523 final DirectoryPartition directory = (DirectoryPartition) getPartition(partition); 608 final DirectoryPartition partition = (DirectoryPartition) getPartition(i) local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/bits/ |
stl_algo.h | 810 * @brief Find the partition point of a partitioned range. 5251 partition(_ForwardIterator __first, _ForwardIterator __last, function [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/bits/ |
stl_algo.h | 810 * @brief Find the partition point of a partitioned range. 5251 partition(_ForwardIterator __first, _ForwardIterator __last, function [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/ |
AndroidXmlFormattingStrategy.java | 131 TypedPosition partition = mPartitions.poll(); local 133 if (document != null && partition != null && mRegion != null) { 638 TypedPosition partition = (TypedPosition) context.getProperty(CONTEXT_PARTITION); local 640 mPartitions.offer(partition); [all...] |
/system/update_engine/payload_consumer/ |
delta_performer.cc | 301 << " in partition \"" 325 PLOG(ERROR) << "Error closing source partition"; 334 PLOG(ERROR) << "Error closing target partition"; 347 const PartitionUpdate& partition = partitions_[current_partition_]; local 350 const InstallPlan::Partition& install_part = 359 LOG(ERROR) << "Unable to open source partition " 360 << partition.partition_name() << " on slot " 374 LOG(INFO) << "Opening " << target_path_ << " partition with" 379 LOG(ERROR) << "Unable to open target partition " 380 << partition.partition_name() << " on slot [all...] |
/bionic/libc/kernel/uapi/linux/genwqe/ |
genwqe_card.h | 197 __u32 partition; member in struct:genwqe_bitstream
|
/bootable/recovery/ |
recovery.cpp | 463 // We can do nothing for now if there's no /cache partition. 801 ui->Print("No /cache partition found.\n"); 817 // Secure-wipe a given partition. It uses BLKSECDISCARD, if supported. Otherwise, it goes with 819 static bool secure_wipe_partition(const std::string& partition) { 820 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(partition.c_str(), O_WRONLY))); 822 PLOG(ERROR) << "Failed to open \"" << partition << "\""; 828 PLOG(ERROR) << "Failed to get partition size"; 831 LOG(INFO) << "Secure-wiping \"" << partition << "\" from " << range[0] << " to " << range[1]; 934 std::string partition = android::base::Trim(line); local 936 if (android::base::StartsWith(partition, "#") || partition.empty()) [all...] |
/bootable/recovery/updater/ |
blockimg.cpp | 888 // Creates a directory for storing stash files and checks if the /cache partition 898 // Stash directory should be different for each partition to avoid conflicts 1797 const char* partition = strrchr(blockdev_filename->data.c_str(), '\/'); local [all...] |
/external/deqp/modules/gles3/functional/ |
es3fTextureMipmapTests.cpp | 595 bool partition = rnd.getFloat() > 0.4f; local 596 bool partitionX = partition && width > minWidth && rnd.getBool(); 597 bool partitionY = partition && height > minHeight && !partitionX; [all...] |
/external/flac/libFLAC/ |
stream_decoder.c | 2752 unsigned partition, sample, u; local [all...] |