HomeSort by relevance Sort by last modified time
    Searched full:childid (Results 1 - 25 of 62) sorted by null

1 2 3

  /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...]
  /cts/tests/tests/widget/src/android/widget/cts/
BaseExpandableListAdapterTest.java 37 long childID = adapter.getCombinedChildId(10, 100);
41 assertTrue(childID != groupID);
43 childID = adapter.getCombinedChildId(0, 0);
45 assertTrue(childID != groupID);
  /external/jmonkeyengine/engine/src/bullet-native/
com_jme3_bullet_collision_shapes_CompoundCollisionShape.cpp 61 (JNIEnv *env, jobject object, jlong compoundId, jlong childId, jobject childLocation, jobject childRotation) {
68 btCollisionShape* child = reinterpret_cast<btCollisionShape*>(childId);
88 (JNIEnv * env, jobject object, jlong compoundId, jlong childId) {
95 btCollisionShape* child = reinterpret_cast<btCollisionShape*>(childId);
  /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);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
ResizeHandler.java 190 String childId = child.getStringAttr(ANDROID_URI, ATTR_ID);
196 hEdge = new Segment(b.y, b.x, b.x2(), child, childId, mHorizontalEdgeType, NO_MARGIN);
198 hEdge = new Segment(b.y2(), b.x, b.x2(), child, childId, mHorizontalEdgeType,
205 vEdge = new Segment(b.x, b.y, b.y2(), child, childId, mVerticalEdgeType, NO_MARGIN);
207 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 131 childID = child.getAttribute(self.identifying_attribute[child.tagName])
132 self.assert_(childID not in children)
133 children[childID] = child
  /external/libvpx/libvpx/third_party/googletest/src/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/linux-tools-perf/bench/
sched-messaging.c 151 pthread_t childid; local
180 err = pthread_create(&childid, &attr, func, ctx);
186 return childid;
  /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
  /external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/
CompoundCollisionShape.java 132 private native long addChildShape(long objectId, long childId, Vector3f location, Matrix3f rotation);
134 private native long removeChildShape(long objectId, long childId);
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
FakeExpandableAdapter.java 156 public long getCombinedChildId(long groupId, long childId) {
157 return groupId << 16 | childId;
  /packages/apps/Contacts/src/com/android/contacts/model/
RawContactDelta.java 127 final Long childId = remoteEntry.getId();
130 final ValuesDelta localEntry = local.getEntry(childId);
297 public ValuesDelta getEntry(Long childId) {
298 if (childId == null) {
306 if (childId.equals(entry.getId())) {
  /packages/apps/Exchange/exchange2/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/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/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
DebugEventSocketProxy.cs 344 int childID = adaptor.GetUniqueID(child);
345 Transmit("addChild\t" + rootID + "\t" + childID);
RemoteDebugEventSocketListener.cs 478 int childID = int.Parse(elements[2]);
480 ProxyTree child = new ProxyTree(childID);
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DebugEventSocketProxy.cs 391 int childID = adaptor.GetUniqueID( child );
392 Transmit( "addChild\t" + rootID + "\t" + childID );
RemoteDebugEventSocketListener.cs 622 int childID = int.Parse( elements[2] );
624 ProxyTree child = new ProxyTree( childID );
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/
DebugEventSocketProxy.java 310 int childID = adaptor.getUniqueID(child);
311 transmit("addChild\t"+rootID+"\t"+childID);
  /frameworks/base/core/java/android/view/accessibility/
AccessibilityNodeInfoCache.java 321 final long childId = childIds.valueAt(i);
322 AccessibilityNodeInfo child = mCacheImpl.get(childId);

Completed in 1010 milliseconds

1 2 3