HomeSort by relevance Sort by last modified time
    Searched refs:partition (Results 1 - 25 of 487) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/ex/common/java/com/android/common/widget/
CompositeCursorAdapter.java 34 public static class Partition {
42 public Partition(boolean showIfEmpty, boolean hasHeader) {
64 private ArrayList<Partition> mPartitions;
76 mPartitions = new ArrayList<Partition>();
84 * Registers a partition. The cursor for that partition can be set later.
89 addPartition(new Partition(showIfEmpty, hasHeader));
92 public void addPartition(Partition partition) {
93 mPartitions.add(partition);
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
PinnedHeaderListAdapter.java 25 * A subclass of {@link CompositeCursorAdapter} that manages pinned partition headers.
60 protected boolean isPinnedPartitionHeaderVisible(int partition) {
61 return getPinnedPartitionHeadersEnabled() && hasHeader(partition)
62 && !isPartitionEmpty(partition);
67 * partition header.
70 public View getPinnedHeaderView(int partition, View convertView, ViewGroup parent) {
71 if (hasHeader(partition)) {
80 view = newHeaderView(getContext(), partition, null, parent);
85 bindHeaderView(view, partition, getCursor(partition));
121 int partition = getPartitionForPosition(position); local
144 int partition = getPartitionForPosition(position - 1); local
    [all...]
ContactEntryListAdapter.java 119 Context context, int partition, Cursor cursor, int position, ViewGroup parent) {
127 protected void bindView(View itemView, int partition, Cursor cursor, int position) {
147 DirectoryPartition partition = new DirectoryPartition(true, true); local
148 partition.setDirectoryId(Directory.DEFAULT);
149 partition.setDirectoryType(getContext().getString(R.string.contactsList));
150 partition.setPriorityDirectory(true);
151 partition.setPhotoSupported(true);
152 partition.setLabel(mDefaultFilterHeaderText.toString());
153 return partition;
168 final Partition partition = getPartition(i) local
181 Partition partition = getPartition(i); local
194 Partition partition = getPartition(i); local
215 Partition partition = getPartition(i); local
233 Partition partition = getPartition(i); local
415 DirectoryPartition partition = new DirectoryPartition(false, true); local
434 Partition partition = getPartition(i); local
454 Partition partition = getPartition(partitionIndex); local
556 Partition partition = getPartition(i); local
582 Partition partition = getPartition(i); local
612 Partition partition = getPartition(partitionIndex); local
655 int partition = getPartitionForPosition(position); local
686 Partition partition = getPartition(partitionIndex); local
    [all...]
  /external/chromium_org/chrome/browser/extensions/
data_deleter.cc 37 // |partition|.
39 StoragePartition* partition,
43 DCHECK(partition);
55 partition->ClearDataForOrigin(
64 partition->ClearDataForOrigin(
69 partition->GetURLRequestContext());
97 StoragePartition* partition = BrowserContext::GetStoragePartitionForSite( local
104 DeleteOrigin(profile, partition, launch_web_url_origin);
106 DeleteOrigin(profile, partition, extension->url());
  /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...]
  /external/chromium_org/content/browser/worker_host/
worker_storage_partition.cc 77 const WorkerStoragePartition& partition)
78 : url_request_context_(partition.url_request_context()),
79 media_url_request_context_(partition.media_url_request_context()),
80 appcache_service_(partition.appcache_service()),
81 quota_manager_(partition.quota_manager()),
82 filesystem_context_(partition.filesystem_context()),
83 database_tracker_(partition.database_tracker()),
84 indexed_db_context_(partition.indexed_db_context()),
85 service_worker_context_(partition.service_worker_context()) {
worker_message_filter.h 23 const WorkerStoragePartition& partition,
  /bootable/recovery/mtdutils/
mtdutils.c 39 const MtdPartition *partition; member in struct:MtdReadContext
46 const MtdPartition *partition; member in struct:MtdWriteContext
193 mtd_mount_partition(const MtdPartition *partition, const char *mount_point,
200 sprintf(devname, "/dev/block/mtdblock%d", partition->device_index);
238 mtd_partition_info(const MtdPartition *partition,
242 sprintf(mtddevname, "/dev/mtd/mtd%d", partition->device_index);
257 MtdReadContext *mtd_read_partition(const MtdPartition *partition)
262 ctx->buffer = malloc(partition->erase_size);
269 sprintf(mtddevname, "/dev/mtd/mtd%d", partition->device_index);
277 ctx->partition = partition
409 const MtdPartition *partition = ctx->partition; local
    [all...]
mtdutils.h 35 int mtd_mount_partition(const MtdPartition *partition, const char *mount_point,
38 /* get the partition and the minimum erase/write block size. NULL is ok.
40 int mtd_partition_info(const MtdPartition *partition,
43 /* read or write raw data from a partition, starting at the beginning.
flash_image.c 52 /* Read an image file and write it to a flash partition. */
61 fprintf(stderr, "usage: %s partition file.img\n", argv[0]);
66 const MtdPartition *partition = mtd_find_partition_by_name(argv[1]); local
67 if (partition == NULL) die("can't find %s partition", argv[1]);
69 // If the first part of the file matches the partition, skip writing
78 MtdReadContext *in = mtd_read_partition(partition);
98 MtdWriteContext *out = mtd_write_partition(partition);
117 out = mtd_write_partition(partition);
125 if (mtd_partition_info(partition, NULL, &block_size, NULL)
    [all...]
  /bionic/libc/kernel/uapi/linux/
fsl_hypervisor.h 25 __u32 partition; member in struct:fsl_hv_ioctl_restart
30 __u32 partition; member in struct:fsl_hv_ioctl_status
36 __u32 partition; member in struct:fsl_hv_ioctl_start
44 __u32 partition; member in struct:fsl_hv_ioctl_stop
  /development/ndk/platforms/android-L/include/linux/
fsl_hypervisor.h 25 __u32 partition; member in struct:fsl_hv_ioctl_restart
30 __u32 partition; member in struct:fsl_hv_ioctl_status
36 __u32 partition; member in struct:fsl_hv_ioctl_start
44 __u32 partition; member in struct:fsl_hv_ioctl_stop
  /external/chromium_org/content/browser/
storage_partition_impl_unittest.cc 247 void ClearQuotaData(content::StoragePartition* partition,
249 partition->ClearData(
257 content::StoragePartition* partition,
262 partition->ClearData(kAllQuotaRemoveMask,
269 content::StoragePartition* partition,
274 partition, remove_origin,
280 content::StoragePartition* partition,
286 partition->ClearData(
292 void ClearCookies(content::StoragePartition* partition,
296 partition->ClearData
479 StoragePartitionImpl* partition = static_cast<StoragePartitionImpl*>( local
506 StoragePartitionImpl* partition = static_cast<StoragePartitionImpl*>( local
533 StoragePartitionImpl* partition = static_cast<StoragePartitionImpl*>( local
558 StoragePartitionImpl* partition = static_cast<StoragePartitionImpl*>( local
585 StoragePartitionImpl* partition = static_cast<StoragePartitionImpl*>( local
614 StoragePartitionImpl* partition = static_cast<StoragePartitionImpl*>( local
645 StoragePartitionImpl* partition = static_cast<StoragePartitionImpl*>( local
678 StoragePartitionImpl* partition = static_cast<StoragePartitionImpl*>( local
714 StoragePartitionImpl* partition = static_cast<StoragePartitionImpl*>( local
753 StoragePartitionImpl* partition = static_cast<StoragePartitionImpl*>( local
784 StoragePartitionImpl* partition = static_cast<StoragePartitionImpl*>( local
808 StoragePartitionImpl* partition = static_cast<StoragePartitionImpl*>( local
828 StoragePartitionImpl* partition = static_cast<StoragePartitionImpl*>( local
856 StoragePartitionImpl* partition = static_cast<StoragePartitionImpl*>( local
888 StoragePartitionImpl* partition = static_cast<StoragePartitionImpl*>( local
917 StoragePartitionImpl* partition = static_cast<StoragePartitionImpl*>( local
    [all...]
storage_partition_impl_map.cc 96 // where renderers with a non-default storage partition keep their persistent
102 // for the "default" extension storage partition and one directory for each
103 // persistent partition used by a webview tag. Example:
106 // Storage/ext/ABCDEF/hash(partition name)
120 // Because partition names are user specified, they can be arbitrarily long
125 // 1 million partition domains.
128 // We assume that all partition names within one partition domain are
143 // An average partition domain is likely to have less than 10 unique
144 // partition names which is far lower than 75
394 StoragePartitionImpl* partition = local
    [all...]
storage_partition_impl_map.h 50 // partition.
63 // Each StoragePartition is uniquely identified by which partition domain
65 // partition name and the bit indicating whether it should be persisted on
80 const std::string& partition,
83 partition_name(partition),
114 // This must always be called *after* |partition| has been added to the
120 void PostCreateInitialization(StoragePartitionImpl* partition,
  /external/kernel-headers/original/uapi/linux/
fsl_hypervisor.h 46 * struct fsl_hv_ioctl_restart - restart a partition
48 * @partition: the ID of the partition to restart, or -1 for the
49 * calling partition
55 __u32 partition; member in struct:fsl_hv_ioctl_restart
59 * struct fsl_hv_ioctl_status - get a partition's status
61 * @partition: the ID of the partition to query, or -1 for the
62 * calling partition
63 * @status: The returned status of the partition
75 __u32 partition; member in struct:fsl_hv_ioctl_status
90 __u32 partition; member in struct:fsl_hv_ioctl_start
105 __u32 partition; member in struct:fsl_hv_ioctl_stop
    [all...]
  /prebuilts/ndk/9/platforms/android-19/arch-arm64/usr/include/linux/
fsl_hypervisor.h 25 __u32 partition; member in struct:fsl_hv_ioctl_restart
30 __u32 partition; member in struct:fsl_hv_ioctl_status
36 __u32 partition; member in struct:fsl_hv_ioctl_start
44 __u32 partition; member in struct:fsl_hv_ioctl_stop
  /prebuilts/ndk/9/platforms/android-19/arch-mips64/usr/include/linux/
fsl_hypervisor.h 25 __u32 partition; member in struct:fsl_hv_ioctl_restart
30 __u32 partition; member in struct:fsl_hv_ioctl_status
36 __u32 partition; member in struct:fsl_hv_ioctl_start
44 __u32 partition; member in struct:fsl_hv_ioctl_stop
  /prebuilts/ndk/9/platforms/android-19/arch-x86_64/usr/include/linux/
fsl_hypervisor.h 25 __u32 partition; member in struct:fsl_hv_ioctl_restart
30 __u32 partition; member in struct:fsl_hv_ioctl_status
36 __u32 partition; member in struct:fsl_hv_ioctl_start
44 __u32 partition; member in struct:fsl_hv_ioctl_stop
  /external/libcxx/test/algorithms/alg.modifying.operations/alg.partitions/
partition.pass.cpp 16 // partition(Iter first, Iter last, Pred pred);
38 Iter r = std::partition(Iter(ia), Iter(ia + sa), is_odd());
45 r = std::partition(Iter(ia), Iter(ia), is_odd());
50 r = std::partition(Iter(ia), Iter(ia+sa), is_odd());
55 r = std::partition(Iter(ia), Iter(ia+sa), is_odd());
61 r = std::partition(Iter(ia), Iter(ia+sa), is_odd());
71 r = std::partition(Iter(ia), Iter(ia+sa), is_odd());
81 r = std::partition(Iter(ia), Iter(ia+sa), is_odd());
91 r = std::partition(Iter(ia), Iter(ia+sa), is_odd());
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.modifying.operations/alg.partitions/
partition.pass.cpp 16 // partition(Iter first, Iter last, Pred pred);
38 Iter r = std::partition(Iter(ia), Iter(ia + sa), is_odd());
45 r = std::partition(Iter(ia), Iter(ia), is_odd());
50 r = std::partition(Iter(ia), Iter(ia+sa), is_odd());
55 r = std::partition(Iter(ia), Iter(ia+sa), is_odd());
61 r = std::partition(Iter(ia), Iter(ia+sa), is_odd());
71 r = std::partition(Iter(ia), Iter(ia+sa), is_odd());
81 r = std::partition(Iter(ia), Iter(ia+sa), is_odd());
91 r = std::partition(Iter(ia), Iter(ia+sa), is_odd());
  /packages/apps/Contacts/src/com/android/contacts/list/
JoinContactListAdapter.java 59 // Partition 0: suggestions
62 // Partition 1: All contacts
128 // Don't change default partition parameters from these defaults
138 public int getItemViewType(int partition, int position) {
139 return super.getItemViewType(partition, position);
143 protected View newHeaderView(Context context, int partition, Cursor cursor,
145 switch (partition) {
170 Context context, int partition, Cursor cursor, int position, ViewGroup parent) {
171 switch (partition) {
174 return super.newView(context, partition, cursor, position, parent)
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/image_writer_private/
removable_storage_provider_linux.cc 68 const char* partition = udev_device_get_sysattr_value(dev, "partition"); local
69 if (partition && get_int_attr(partition)){
70 // This is a partition of a device, not the device itself
  /development/ndk/platforms/android-3/include/linux/
genhd.h 42 struct partition { struct
  /external/chromium_org/webkit/data/test_shell/sort/
sort-quick.js 11 partition(sort, left, right, pivot);
15 function partition(sort, left, right, pivot) { function

Completed in 1047 milliseconds

1 2 3 4 5 6 7 8 91011>>