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

1 2 3 4 5 6 7 8 91011>>

  /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 120 Context context, int partition, Cursor cursor, int position, ViewGroup parent) {
128 protected void bindView(View itemView, int partition, Cursor cursor, int position) {
148 DirectoryPartition partition = new DirectoryPartition(true, true); local
149 partition.setDirectoryId(Directory.DEFAULT);
150 partition.setDirectoryType(getContext().getString(R.string.contactsList));
151 partition.setPriorityDirectory(true);
152 partition.setPhotoSupported(true);
153 partition.setLabel(mDefaultFilterHeaderText.toString());
154 return partition;
169 final Partition partition = getPartition(i) local
182 Partition partition = getPartition(i); local
195 Partition partition = getPartition(i); local
216 Partition partition = getPartition(i); local
234 Partition partition = getPartition(i); local
416 DirectoryPartition partition = new DirectoryPartition(false, true); local
435 Partition partition = getPartition(i); local
455 Partition partition = getPartition(partitionIndex); local
557 Partition partition = getPartition(i); local
583 Partition partition = getPartition(i); local
613 Partition partition = getPartition(partitionIndex); local
656 int partition = getPartitionForPosition(position); local
687 Partition partition = getPartition(partitionIndex); local
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/ui/
CompositeAdapter.java 32 public static class Partition {
37 public Partition(final boolean showIfEmpty, final boolean hasHeader,
89 private Partition[] mPartitions;
98 mPartitions = new Partition[INITIAL_CAPACITY];
105 public void addPartition(final Partition partition) {
108 final Partition[] newAdapters = new Partition[newCapacity];
112 mPartitions[mSize++] = partition;
113 partition.getAdapter().registerDataSetObserver(mObserver)
119 final Partition partition = mPartitions[index]; local
131 final Partition partition = mPartitions[i]; local
201 final Partition partition = mPartitions[i]; local
223 final Partition partition = mPartitions[i]; local
245 final Partition partition = mPartitions[i]; local
263 final Partition partition = mPartitions[i]; local
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/networkx/algorithms/tests/
test_block.py 9 partition=[[0,1],[2,3],[4,5]]
10 M=networkx.blockmodel(G,partition)
20 partition=[[0,1],[2,3],[4,5]]
21 M=networkx.blockmodel(G,partition,multigraph=True)
32 partition=[[0,1],[2,3],[4,5]]
33 M=networkx.blockmodel(G,partition)
44 partition=[[0,1],[2,3],[4,5]]
45 M=networkx.blockmodel(G,partition,multigraph=True)
56 partition=[[0,1,2],[2,3],[4,5]]
57 M=networkx.blockmodel(G,partition)
    [all...]
  /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...]
  /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...]
  /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
408 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-21/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/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/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/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-21/arch-arm/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-21/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-21/arch-mips/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-21/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-21/arch-x86/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-21/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/std/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());
  /external/vboot_reference/host/include/
cgpt_params.h 26 uint32_t partition; member in struct:CgptAddParams
52 uint32_t partition; member in struct:CgptShowParams
67 uint32_t partition; member in struct:CgptBootParams
  /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/vboot_reference/cgpt/
cgpt_add.c 20 snprintf(tmp, sizeof(tmp), "-i %d ", params->partition);
151 if (params->partition) {
152 if (params->partition > max_part) {
153 Error("invalid partition number: %d\n", params->partition);
156 *index = params->partition - 1;
159 // Find next empty partition.
162 params->partition = i + 1;
186 if (params->partition == 0 ||
187 params->partition >= GetNumberOfEntries(&drive))
    [all...]
cgpt_boot.c 49 params->partition = i + 1;
55 Error("Didn't find any boot partition\n");
56 params->partition = 0;
74 if (params->create_pmbr || params->partition || params->bootfile)
107 if (params->partition) {
114 if (params->partition > GetNumberOfEntries(&drive)) {
115 Error("invalid partition number: %d\n", params->partition);
119 uint32_t index = params->partition - 1;

Completed in 1714 milliseconds

1 2 3 4 5 6 7 8 91011>>