/frameworks/base/core/java/android/widget/ |
ExpandableListPosition.java | 53 public int childPos; 68 childPos = 0; 77 if (type == CHILD) return ExpandableListView.getPackedPositionForChild(groupPos, childPos); 99 elp.childPos = ExpandableListView.getPackedPositionChild(packedPosition); 106 static ExpandableListPosition obtain(int type, int groupPos, int childPos, int flatListPos) { 110 elp.childPos = childPos;
|
ExpandableListConnector.java | 175 final int childPos = flPos - (midExpGm.flPos + 1); 177 midExpGm.gPos, childPos, midExpGm, midExpGroupIndex); 275 pos.groupPos, pos.childPos, null, 0); 305 pos.groupPos, pos.childPos, midExpGm, midExpGroupIndex); 308 return PositionMetadata.obtain(midExpGm.flPos + pos.childPos 309 + 1, pos.type, pos.groupPos, pos.childPos, 348 pos.childPos, null, leftExpGroupIndex); 362 pos.childPos, null, rightExpGroupIndex); 380 retValue = mExpandableListAdapter.isChildSelectable(pos.groupPos, pos.childPos); 409 posMetadata.position.childPos); [all...] |
ExpandableListView.java | 715 posMetadata.position.childPos, id); [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
_heapqmodule.c | 75 Py_ssize_t startpos, endpos, childpos, rightpos;
local 90 childpos = 2*pos + 1; /* leftmost child position */
91 while (childpos < endpos) {
92 /* Set childpos to index of smaller child. */
93 rightpos = childpos + 1;
96 PyList_GET_ITEM(heap, childpos),
103 childpos = rightpos;
106 tmp = PyList_GET_ITEM(heap, childpos);
110 pos = childpos;
111 childpos = 2*pos + 1; 414 Py_ssize_t startpos, endpos, childpos, rightpos; local [all...] |
/external/python/cpython3/Modules/ |
_heapqmodule.c | 55 Py_ssize_t startpos, endpos, childpos, limit; local 71 /* Set childpos to index of smaller child. */ 72 childpos = 2*pos + 1; /* leftmost child position */ 73 if (childpos + 1 < endpos) { 75 arr[childpos], 76 arr[childpos + 1], 80 childpos += ((unsigned)cmp ^ 1); /* increment when cmp==0 */ 89 tmp1 = arr[childpos]; 91 arr[childpos] = tmp2; 93 pos = childpos; 409 Py_ssize_t startpos, endpos, childpos, limit; local [all...] |
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
ItemGroup.java | 208 int childPos = -1; 210 for (int i = childIndex; childPos < 0 && i < childCount; i++) { 213 childPos = mHierarchyStart.get(i, -1); 215 if (childPos < 0) { 219 childPos = getCount(); 221 return childPos;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
heapq.py | 300 childpos = 2*pos + 1 # leftmost child position
301 while childpos < endpos:
302 # Set childpos to index of smaller child.
303 rightpos = childpos + 1
304 if rightpos < endpos and not cmp_lt(heap[childpos], heap[rightpos]):
305 childpos = rightpos
307 heap[pos] = heap[childpos]
308 pos = childpos
309 childpos = 2*pos + 1
336 childpos = 2*pos + 1 # leftmost child position [all...] |
/external/python/cpython2/Lib/ |
heapq.py | 300 childpos = 2*pos + 1 # leftmost child position 301 while childpos < endpos: 302 # Set childpos to index of smaller child. 303 rightpos = childpos + 1 304 if rightpos < endpos and not cmp_lt(heap[childpos], heap[rightpos]): 305 childpos = rightpos 307 heap[pos] = heap[childpos] 308 pos = childpos 309 childpos = 2*pos + 1 336 childpos = 2*pos + 1 # leftmost child positio [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
heapq.py | 300 childpos = 2*pos + 1 # leftmost child position 301 while childpos < endpos: 302 # Set childpos to index of smaller child. 303 rightpos = childpos + 1 304 if rightpos < endpos and not cmp_lt(heap[childpos], heap[rightpos]): 305 childpos = rightpos 307 heap[pos] = heap[childpos] 308 pos = childpos 309 childpos = 2*pos + 1 336 childpos = 2*pos + 1 # leftmost child positio [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
heapq.py | 300 childpos = 2*pos + 1 # leftmost child position 301 while childpos < endpos: 302 # Set childpos to index of smaller child. 303 rightpos = childpos + 1 304 if rightpos < endpos and not cmp_lt(heap[childpos], heap[rightpos]): 305 childpos = rightpos 307 heap[pos] = heap[childpos] 308 pos = childpos 309 childpos = 2*pos + 1 336 childpos = 2*pos + 1 # leftmost child positio [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
heapq.py | 300 childpos = 2*pos + 1 # leftmost child position 301 while childpos < endpos: 302 # Set childpos to index of smaller child. 303 rightpos = childpos + 1 304 if rightpos < endpos and not cmp_lt(heap[childpos], heap[rightpos]): 305 childpos = rightpos 307 heap[pos] = heap[childpos] 308 pos = childpos 309 childpos = 2*pos + 1 336 childpos = 2*pos + 1 # leftmost child positio [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
heapq.py | 300 childpos = 2*pos + 1 # leftmost child position 301 while childpos < endpos: 302 # Set childpos to index of smaller child. 303 rightpos = childpos + 1 304 if rightpos < endpos and not cmp_lt(heap[childpos], heap[rightpos]): 305 childpos = rightpos 307 heap[pos] = heap[childpos] 308 pos = childpos 309 childpos = 2*pos + 1 336 childpos = 2*pos + 1 # leftmost child positio [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
_heapqmodule.c | 77 Py_ssize_t startpos, endpos, childpos, rightpos, limit;
local 92 /* Set childpos to index of smaller child. */
93 childpos = 2*pos + 1; /* leftmost child position */
94 rightpos = childpos + 1;
97 PyList_GET_ITEM(heap, childpos),
102 childpos = rightpos;
110 tmp1 = PyList_GET_ITEM(heap, childpos);
112 PyList_SET_ITEM(heap, childpos, tmp2);
114 pos = childpos;
413 Py_ssize_t startpos, endpos, childpos, rightpos, limit; local [all...] |
/external/python/cpython2/Modules/ |
_heapqmodule.c | 77 Py_ssize_t startpos, endpos, childpos, rightpos, limit; local 92 /* Set childpos to index of smaller child. */ 93 childpos = 2*pos + 1; /* leftmost child position */ 94 rightpos = childpos + 1; 97 PyList_GET_ITEM(heap, childpos), 102 childpos = rightpos; 110 tmp1 = PyList_GET_ITEM(heap, childpos); 112 PyList_SET_ITEM(heap, childpos, tmp2); 114 pos = childpos; 418 Py_ssize_t startpos, endpos, childpos, rightpos, limit local [all...] |
/external/python/cpython3/Lib/ |
heapq.py | 263 childpos = 2*pos + 1 # leftmost child position 264 while childpos < endpos: 265 # Set childpos to index of smaller child. 266 rightpos = childpos + 1 267 if rightpos < endpos and not heap[childpos] < heap[rightpos]: 268 childpos = rightpos 270 heap[pos] = heap[childpos] 271 pos = childpos 272 childpos = 2*pos + 1 299 childpos = 2*pos + 1 # leftmost child positio [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
ExpandableListTester.java | 174 long childPos = ExpandableListView.getPackedPositionForChild(groupIndex, childIndex); 177 childPos, 182 mExpandableListView.getFlatListPosition(childPos));
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
heapq.py | 298 childpos = 2*pos + 1 # leftmost child position
299 while childpos < endpos:
300 # Set childpos to index of smaller child.
301 rightpos = childpos + 1
302 if rightpos < endpos and not cmp_lt(heap[childpos], heap[rightpos]):
303 childpos = rightpos
305 heap[pos] = heap[childpos]
306 pos = childpos
307 childpos = 2*pos + 1
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
ExpandableList1.java | 70 int childPos = ExpandableListView.getPackedPositionChild(info.packedPosition); 71 Toast.makeText(this, title + ": Child " + childPos + " clicked in group " + groupPos,
|
/frameworks/support/wear/src/main/java/androidx/wear/widget/drawer/ |
WearableActionDrawerView.java | 383 int childPos = 385 if (childPos == RecyclerView.NO_POSITION) { 389 onMenuItemClicked(childPos);
|