/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
ClusteredSuggestionsAdapter.java | 133 public long getCombinedChildId(long groupId, long childId) { 136 return (groupId << GROUP_SHIFT) | ((childId + 1) & CHILD_MASK); 144 public int getChildPosition(long childId) { 145 return (int) (childId & CHILD_MASK) - 1; 148 public int getGroupPosition(long childId) { 149 return (int) ((childId >> GROUP_SHIFT) & CHILD_MASK); 162 public SuggestionPosition getChildById(long childId) { 163 SuggestionCursor groupCursor = getGroup(getGroupPosition(childId)); 165 return new SuggestionPosition(groupCursor, getChildPosition(childId)); 167 Log.w(TAG, "Invalid childId " + Long.toHexString(childId) + " (invalid group)") [all...] |
/frameworks/base/core/java/android/widget/ |
BaseExpandableListAdapter.java | 76 * <li> bit 32-63: Lower 32 bits of the childId. 80 public long getCombinedChildId(long groupId, long childId) { 81 return 0x8000000000000000L | ((groupId & 0x7FFFFFFF) << 32) | (childId & 0xFFFFFFFF); 91 * <li> bit 32-63: Lower 32 bits of the childId.
|
ExpandableListAdapter.java | 190 * @param childId The ID of the child. 194 long getCombinedChildId(long groupId, long childId);
|
ExpandableListConnector.java | 427 final long childId = mExpandableListAdapter.getChildId(posMetadata.position.groupPos, 429 retValue = mExpandableListAdapter.getCombinedChildId(groupId, childId); [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
BaseExpandableListAdapterTest.java | 66 long childID = adapter.getCombinedChildId(10, 100); 70 assertTrue(childID != groupID); 72 childID = adapter.getCombinedChildId(0, 0); 74 assertTrue(childID != groupID);
|
ExpandableListViewTest.java | 703 public long getCombinedChildId(long groupId, long childId) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
ResizeHandler.java | 173 String childId = child.getStringAttr(ANDROID_URI, ATTR_ID); 179 hEdge = new Segment(b.y, b.x, b.x2(), child, childId, mHorizontalEdgeType, NO_MARGIN); 181 hEdge = new Segment(b.y2(), b.x, b.x2(), child, childId, mHorizontalEdgeType, 188 vEdge = new Segment(b.x, b.y, b.y2(), child, childId, mVerticalEdgeType, NO_MARGIN); 190 vEdge = new Segment(b.x2(), b.y, b.y2(), child, childId, mVerticalEdgeType, NO_MARGIN);
|
/frameworks/base/core/java/com/android/internal/widget/ |
TextProgressBar.java | 82 int childId = child.getId(); 83 if (childId == CHRONOMETER_ID && child instanceof Chronometer) { 92 } else if (childId == PROGRESSBAR_ID && child instanceof ProgressBar) {
|
/packages/apps/Browser/src/com/android/browser/ |
DateSortedExpandableListAdapter.java | 160 * @param childId ID of the child view in question. 162 /* package */ int groupFromChildId(long childId) { 167 if (getLong(mIdIndex) == childId) { 363 public long getCombinedChildId(long groupId, long childId) { 365 return childId;
|
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
DateSortedExpandableListAdapter.java | 177 * @param childId ID of the child view in question. 179 /* package */ int groupFromChildId(long childId) { 183 if (getLong(mIdIndex) == childId) { 343 public long getCombinedChildId(long groupId, long childId) { 344 return childId;
|
/external/chromium/testing/gtest/test/ |
gtest_xml_test_utils.py | 131 childID = child.getAttribute(self.identifying_attribute[child.tagName]) 132 self.assert_(childID not in children) 133 children[childID] = child
|
/external/gtest/test/ |
gtest_xml_test_utils.py | 119 childID = child.getAttribute(self.identifying_attribute[child.tagName]) 120 self.assert_(childID not in children) 121 children[childID] = child
|
/external/protobuf/gtest/test/ |
gtest_xml_test_utils.py | 130 childID = child.getAttribute(self.identifying_attribute[child.tagName]) 131 self.assert_(childID not in children) 132 children[childID] = child
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/ |
FakeExpandableAdapter.java | 146 public long getCombinedChildId(long groupId, long childId) { 147 return groupId << 16 | childId;
|
/packages/apps/Exchange/src/com/android/exchange/provider/ |
MailboxUtilities.java | 77 long childId = childCursor.getLong(Mailbox.ID_PROJECTION_COLUMN); 78 resolver.update(ContentUris.withAppendedId(Mailbox.CONTENT_URI, childId),
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
EntityDelta.java | 130 final Long childId = remoteEntry.getId(); 133 final ValuesDelta localEntry = local.getEntry(childId); 265 public ValuesDelta getEntry(Long childId) { 266 if (childId == null) { 274 if (childId.equals(entry.getId())) { [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
EntityDelta.java | 122 final Long childId = remoteEntry.getId(); 125 final ValuesDelta localEntry = local.getEntry(childId); 245 public ValuesDelta getEntry(Long childId) { 246 if (childId == null) { 254 if (childId.equals(entry.getId())) {
|
/external/antlr/src/org/antlr/runtime/debug/ |
DebugEventSocketProxy.java | 310 int childID = adaptor.getUniqueID(child); 311 transmit("addChild\t"+rootID+"\t"+childID);
|
RemoteDebugEventSocketListener.java | 415 int childID = Integer.parseInt(elements[2]); 417 ProxyTree child = new ProxyTree(childID);
|
DebugEventListener.java | 308 /** Make childID a child of rootID.
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
PagedViewCellLayout.java | 117 public boolean addViewToCellLayout(View child, int index, int childId, 130 child.setId(childId);
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
CustomContactListFilterActivity.java | 642 final Long childId = child.getId(); 643 return childId != null ? childId : Long.MIN_VALUE; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
ViewMetadataRepository.java | 166 String childId = child.getAttributeNS(ANDROID_URI, ATTR_ID); 167 if ("@+id/android_widget_TabWidget".equals(childId)) { [all...] |
/frameworks/base/core/java/android/view/accessibility/ |
AccessibilityNodeInfo.java | 979 final int childId = parcel.readInt(); 980 childIds.put(i, childId); [all...] |
/prebuilt/darwin-x86_64/swt/ |
swt.jar | |