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

1 2 3 4

  /frameworks/base/core/java/com/android/internal/view/menu/
BaseMenuPresenter.java 85 int childIndex = 0;
92 if (shouldIncludeItem(childIndex, item)) {
93 final View convertView = parent.getChildAt(childIndex);
103 addItemView(itemView, childIndex);
105 childIndex++;
111 while (childIndex < parent.getChildCount()) {
112 if (!filterLeftoverView(parent, childIndex)) {
113 childIndex++;
122 * @param childIndex Index within the parent to insert at
124 protected void addItemView(View itemView, int childIndex) {
    [all...]
IconMenuPresenter.java 70 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) {
72 boolean fits = (itemsToShow.size() == mMaxItems && childIndex < mMaxItems) ||
73 childIndex < mMaxItems - 1;
78 protected void addItemView(View itemView, int childIndex) {
85 super.addItemView(itemView, childIndex);
124 protected boolean filterLeftoverView(ViewGroup parent, int childIndex) {
125 if (parent.getChildAt(childIndex) != mMoreView) {
126 return super.filterLeftoverView(parent, childIndex);
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
BaseMenuPresenter.java 89 int childIndex = 0;
96 if (shouldIncludeItem(childIndex, item)) {
97 final View convertView = parent.getChildAt(childIndex);
108 addItemView(itemView, childIndex);
110 childIndex++;
116 while (childIndex < parent.getChildCount()) {
117 if (!filterLeftoverView(parent, childIndex)) {
118 childIndex++;
127 * @param childIndex Index within the parent to insert at
129 protected void addItemView(View itemView, int childIndex) {
    [all...]
  /libcore/luni/src/main/java/java/util/
PriorityQueue.java 356 private void siftUp(int childIndex) {
357 E target = elements[childIndex];
359 while (childIndex > 0) {
360 parentIndex = (childIndex - 1) / 2;
365 elements[childIndex] = parent;
366 childIndex = parentIndex;
368 elements[childIndex] = target;
373 int childIndex;
374 while ((childIndex = rootIndex * 2 + 1) < size) {
375 if (childIndex + 1 < siz
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
LinearLayoutICS.java 78 final int childIndex = indexOfChild(child);
85 if (hasDividerBeforeChildAt(childIndex)) {
87 } else if (childIndex == count - 1 && hasDividerBeforeChildAt(count)) {
91 if (hasDividerBeforeChildAt(childIndex)) {
93 } else if (childIndex == count - 1 && hasDividerBeforeChildAt(count)) {
162 * @param childIndex Index of child to check for preceding divider
163 * @return true if there should be a divider before the child at childIndex
166 protected boolean hasDividerBeforeChildAt(int childIndex) {
167 if (childIndex == 0) {
169 } else if (childIndex == getChildCount())
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
ExpandableListTester.java 102 for (int childIndex = 0; childIndex < childrenCount; childIndex++) {
105 menuListener.expectChildContextMenu(groupIndex, childIndex);
179 for (int childIndex = 0; childIndex < childrenCount; childIndex++) {
180 int expectedFlatPosition = headerCount + groupIndex + 1 + childIndex;
181 long childPos = ExpandableListView.getPackedPositionForChild(groupIndex, childIndex);
233 for (int childIndex = 0; childIndex < childrenCount; childIndex++)
    [all...]
  /packages/apps/Browser/src/com/android/browser/
BreadCrumbView.java 244 int childIndex = 1;
251 getChildAt(childIndex).setVisibility(View.GONE);
252 childIndex++;
255 if (getChildAt(childIndex) != null) {
256 getChildAt(childIndex).setVisibility(View.GONE);
258 childIndex++;
265 while (childIndex < childCount) {
266 getChildAt(childIndex).setVisibility(View.VISIBLE);
267 childIndex++;
271 for (int i = childIndex; i < count ; i++)
    [all...]
  /external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
TestTrees.java 53 assertEquals(-1, t.childIndex);
63 assertEquals(-1, root_0.childIndex);
64 assertEquals(0, t.childIndex);
65 assertEquals(1, u.childIndex);
76 assertEquals(-1, r0.childIndex);
88 assertEquals(-1, r0.childIndex);
90 assertEquals(0, c0.childIndex);
92 assertEquals(1, c1.childIndex);
94 assertEquals(2, c2.childIndex);
112 assertEquals(-1, root.childIndex);
    [all...]
  /external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/
BaseTree.as 100 c.childIndex = children.length-1;
117 childTree.childIndex = children.length-1;
141 t.childIndex = i;
157 * children to set their childindex; could be slow.
185 child.childIndex= i;
227 child.childIndex = c;
240 if ( i!=this.childIndex ) {
241 throw new Error("child indexes don't match; expected "+i+" found "+this.childIndex);
251 public function get childIndex():int {
255 public function set childIndex(index:int):void
    [all...]
CommonTree.as 136 public override function get childIndex():int {
148 public override function set childIndex(index:int):void {
  /external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
CommonTree.cs 63 int childIndex = -1;
97 public override int ChildIndex {
99 return childIndex;
102 childIndex = value;
TreeWizard.cs 70 void Visit(object t, object parent, int childIndex, IDictionary<string, object> labels);
74 public virtual void Visit(object t, object parent, int childIndex, IDictionary<string, object> labels) {
259 public void Visit(object t, object parent, int childIndex, IDictionary<string, object> labels) {
316 protected virtual void VisitCore(object t, object parent, int childIndex, int ttype, IContextVisitor visitor) {
321 visitor.Visit(t, parent, childIndex, null);
343 public void Visit(object t, object parent, int childIndex, IDictionary<string, object> unusedlabels) {
347 _visitor.Visit(t, parent, childIndex, _labels);
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
CommonTree.cs 63 int childIndex = -1;
107 public override int ChildIndex
111 return childIndex;
116 childIndex = value;
TreeWizard.cs 73 void Visit( object t, object parent, int childIndex, IDictionary<string, object> labels );
78 public virtual void Visit( object t, object parent, int childIndex, IDictionary<string, object> labels )
296 public void Visit( object t, object parent, int childIndex, IDictionary<string, object> labels )
362 protected virtual void VisitCore( object t, object parent, int childIndex, int ttype, IContextVisitor visitor )
370 visitor.Visit( t, parent, childIndex, null );
395 public void Visit( object t, object parent, int childIndex, IDictionary<string, object> unusedlabels )
401 _visitor.Visit( t, parent, childIndex, _labels );
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
CommonTree.java 51 public int childIndex = -1;
158 return childIndex;
170 this.childIndex = index;
TreeWizard.java 59 public void visit(Object t, Object parent, int childIndex, Map labels);
63 public void visit(Object t, Object parent, int childIndex, Map labels) {
227 public void visit(Object t, Object parent, int childIndex, Map labels) {
254 protected void _visit(Object t, Object parent, int childIndex, int ttype, ContextVisitor visitor) {
259 visitor.visit(t, parent, childIndex, null);
289 public void visit(Object t, Object parent, int childIndex, Map unusedlabels) {
293 visitor.visit(t, parent, childIndex, labels);
  /external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
CommonTree.js 15 this.childIndex = -1;
104 return this.childIndex;
116 this.childIndex = index;
  /external/antlr/antlr-3.4/runtime/C/include/
antlr3commontree.h 74 ANTLR3_INT32 childIndex;
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/
ANTLRCommonTree.h 36 NSInteger childIndex;
83 @property (assign, getter=getChildIndex, setter=setChildIndex:) NSInteger childIndex;
90 @property (assign) NSInteger childIndex;
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
ANTLRCommonTree.h 36 NSInteger childIndex;
43 @property (assign, getter=getChildIndex, setter=setChildIndex) NSInteger childIndex;
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
ANTLRCommonTree.h 36 NSInteger childIndex;
43 @property (assign, getter=getChildIndex, setter=setChildIndex) NSInteger childIndex;
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
ANTLRCommonTree.h 36 NSInteger childIndex;
43 @property (assign, getter=getChildIndex, setter=setChildIndex) NSInteger childIndex;
  /frameworks/base/core/java/android/widget/
ViewAnimator.java 147 * @param childIndex The index of the child to be shown.
151 void showOnly(int childIndex, boolean animate) {
155 if (i == childIndex) {
175 * @param childIndex The index of the child to be shown.
177 void showOnly(int childIndex) {
179 showOnly(childIndex, animate);
TableRow.java 183 int measureNullChild(int childIndex) {
184 return mConstrainedColumnWidths[childIndex];
191 void measureChildBeforeLayout(View child, int childIndex,
203 columnWidth += constrainedColumnWidths[childIndex + i];
247 super.measureChildBeforeLayout(child, childIndex, widthMeasureSpec,
  /external/webkit/Source/WebCore/inspector/front-end/
ProfileDataGridTree.js 148 for (var childIndex = 0; childIndex < childCount; ++childIndex)
149 children[childIndex]._recalculateSiblings(childIndex);

Completed in 1575 milliseconds

1 2 3 4