/packages/apps/Launcher2/src/com/android/launcher2/ |
ShortcutAndWidgetContainer.java | 63 View child = getChildAt(i); local 64 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); 68 return child; 83 final View child = getChildAt(i); local 84 final CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); 96 View child = getChildAt(i); local 97 measureChild(child); 114 public void measureChild(View child) { 117 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); 123 child.measure(childWidthMeasureSpec, childheightMeasureSpec) 138 final View child = getChildAt(i); local 182 final View child = getChildAt(i); local [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/ |
ViewGroupFocusHelper.java | 53 private void computeLocationRelativeToContainer(View child, Rect outRect) { 54 View parent = (View) child.getParent(); 55 outRect.left += child.getLeft(); 56 outRect.top += child.getTop(); 61 outRect.left -= page.getScrollForPage(page.indexOfChild(child));
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/model/ |
ViewsTreeModel.java | 44 public boolean isLeaf(Object child) { 45 ViewNode node = (ViewNode) child; 49 public void valueForPathChanged(TreePath treePath, Object child) { 52 public int getIndexOfChild(Object parent, Object child) { 54 return ((ViewNode) parent).children.indexOf(child);
|
/system/extras/ext4_utils/ |
setup_fs.c | 15 pid_t child; local 46 child = fork(); 47 if (child < 0) { 51 if (child == 0) { 56 while ((pid=waitpid(-1, &status, 0)) != child) {
|
/frameworks/base/core/java/android/widget/ |
TableRow.java | 32 * always be used as a child of a {@link android.widget.TableLayout}. If a 101 final View child = getVirtualChildAt(columnIndex); local 102 if (child != null) { 103 child.setVisibility(collapsed ? GONE : VISIBLE); 162 final View child = getChildAt(i); local 163 final LayoutParams layoutParams = (LayoutParams) child.getLayoutParams(); 190 void measureChildBeforeLayout(View child, int childIndex, 194 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 222 child.measure(childWidthMeasureSpec, childHeightMeasureSpec); 225 final int childWidth = child.getMeasuredWidth() 296 final View child = getVirtualChildAt(i); local [all...] |
/external/boringssl/src/crypto/bytestring/ |
cbb.c | 75 /* Only top-level |CBB|s are cleaned up. Child |CBB|s are non-owning. They 192 if (cbb->child == NULL || cbb->child->pending_len_len == 0) { 196 child_start = cbb->child->offset + cbb->child->pending_len_len; 198 if (!CBB_flush(cbb->child) || 199 child_start < cbb->child->offset || 206 if (cbb->child->pending_is_asn1) { 213 assert (cbb->child->pending_len_len == 1); 245 cbb->base->buf[cbb->child->offset++] = initial_length_byte 412 CBB child; local [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
InputMonitor.java | 180 final WindowState child, int flags, final int type, final boolean isVisible, 183 inputWindowHandle.name = child.toString(); 184 flags = child.getTouchableRegion(inputWindowHandle.touchableRegion, flags); 187 inputWindowHandle.dispatchingTimeoutNanos = child.getInputDispatchingTimeoutNanos(); 189 inputWindowHandle.canReceiveKeys = child.canReceiveKeys(); 192 inputWindowHandle.paused = child.mAppToken != null ? child.mAppToken.paused : false; 193 inputWindowHandle.layer = child.mLayer; 194 inputWindowHandle.ownerPid = child.mSession.mPid; 195 inputWindowHandle.ownerUid = child.mSession.mUid 294 final WindowState child = windows.get(winNdx); local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
StackScrollAlgorithm.java | 130 View child = algorithmState.visibleChildren.get(i); local 131 StackViewState childViewState = resultState.getViewStateForView(child); 146 ExpandableView child = algorithmState.visibleChildren.get(i); local 147 StackViewState state = resultState.getViewStateForView(child); 148 if (!child.mustStayOnScreen()) { 155 boolean isHeadsUp = (child instanceof ExpandableNotificationRow) 156 && ((ExpandableNotificationRow) child).isPinned(); 166 if (!child.isTransparent()) { 197 View child = algorithmState.visibleChildren.get(i); local 198 StackViewState childViewState = resultState.getViewStateForView(child); 332 ExpandableView child = algorithmState.visibleChildren.get(i); local 403 View child = algorithmState.visibleChildren.get(i); local 573 ExpandableView child = algorithmState.visibleChildren.get(i); local 624 View child = container.getChildAt(i); local [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
HorizontalScrollViewTest.java | 97 fail("did not throw IllegalStateException when add more than one child"); 114 fail("did not throw IllegalStateException when add more than one child"); 129 fail("did not throw IllegalStateException when add more than one child"); 157 fail("did not throw IllegalStateException when add more than one child"); 186 fail("did not throw IllegalStateException when add more than one child"); 213 fail("did not throw IllegalStateException when add more than one child"); 296 MyView child = new MyView(mActivity); local 297 child.setBackgroundDrawable(null); 298 child.setPadding(0, 0, 0, 0); 299 child.setMinimumWidth(30) 317 MyView child = new MyView(mActivity); local 337 MyView child = spy(new MyView(mActivity)); local 349 MyView child = spy(new MyView(mActivity)); local 362 MyView child = spy(new MyView(mActivity)); local 375 MyView child = spy(new MyView(mActivity)); local 389 MyView child = spy(new MyView(mActivity)); local 404 MyView child = new MyView(mActivity); local 427 MyView child = new MyView(mActivity); local 446 MyView child = new MyView(mActivity); local 471 MyView child = new MyView(mActivity); local 489 MyView child = new MyView(mActivity); local [all...] |
ScrollViewTest.java | 118 fail("ScrollView can host only one direct child"); 135 fail("ScrollView can host only one direct child"); 150 fail("ScrollView can host only one direct child"); 160 fail("ScrollView can host only one direct child"); 178 fail("ScrollView can host only one direct child"); 207 fail("ScrollView can host only one direct child"); 234 fail("ScrollView can host only one direct child"); 244 fail("ScrollView can host only one direct child"); 318 MyView child = new MyView(mActivity); local 319 child.setBackgroundDrawable(null) 339 MyView child = new MyView(mActivity); local 359 MyView child = spy(new MyView(mActivity)); local 371 MyView child = spy(new MyView(mActivity)); local 384 MyView child = spy(new MyView(mActivity)); local 397 MyView child = spy(new MyView(mActivity)); local 411 MyView child = spy(new MyView(mActivity)); local 427 MyView child = new MyView(mActivity); local 446 MyView child = new MyView(mActivity); local 465 MyView child = new MyView(mActivity); local 490 MyView child = new MyView(mActivity); local 508 MyView child = new MyView(mActivity); local [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
WatchListDecorLayout.java | 36 * Use with one ListView child. The top and bottom panels will track the ListView's scrolling. 37 * If there is no ListView child, it will act like a normal FrameLayout. 77 View child = getChildAt(i); local 78 if (child instanceof ListView) { 80 throw new IllegalArgumentException("only one ListView child allowed"); 82 mListView = (ListView) child; 88 int gravity = (((LayoutParams) child.getLayoutParams()).gravity 91 mTopPanel = child; 93 mBottomPanel = child; 112 private void applyMeasureToChild(View child, int widthMeasureSpec, int heightMeasureSpec) 172 final View child = getChildAt(i); local 232 final View child = mMatchParentChildren.get(i); local [all...] |
/external/pdfium/xfa/src/fxfa/src/parser/ |
xfa_script_nodehelper.cpp | 81 CXFA_Node* child = properties[i];
local 83 if (child->GetClassHashCode() == dNameHash) {
84 pSiblings->Add(child);
88 if (child->GetNameHash() == dNameHash) {
89 pSiblings->Add(child);
96 nCount += XFA_NodeAcc_TraverseAnySiblings(child, dNameHash, pSiblings,
103 CXFA_Node* child = children[i];
local 105 if (child->GetClassHashCode() == dNameHash) {
107 pSiblings->Add(child);
112 if (child->GetNameHash() == dNameHash) { 143 CXFA_Node* child = properties[i]; local 172 CXFA_Node* child = children[i]; local 250 CXFA_Node* child = siblings[i]; local [all...] |
/external/jemalloc/include/jemalloc/internal/ |
rtree.h | 40 rtree_node_elm_t *child; member in union:rtree_node_elm_s::__anon12811 162 rtree_node_elm_t *child; local 165 child = elm->child; 166 if (!rtree_node_valid(child)) 167 child = atomic_read_p(&elm->pun); 168 return (child); 174 rtree_node_elm_t *child; local 176 child = rtree_child_tryread(elm); 177 if (unlikely(!rtree_node_valid(child))) 239 rtree_node_elm_t *node, *child; local 267 rtree_node_elm_t *node, *child; local [all...] |
/external/jetty/src/java/org/eclipse/jetty/util/component/ |
Container.java | 62 /** Update single parent to child relationship. 63 * @param parent The parent of the child. 64 * @param oldChild The previous value of the child. If this is non null and differs from <code>child</code>, then a remove event is generated. 65 * @param child The current child. If this is non null and differs from <code>oldChild</code>, then an add event is generated. 68 public void update(Object parent, Object oldChild, final Object child, String relationship) 70 if (oldChild!=null && !oldChild.equals(child)) 72 if (child!=null && !child.equals(oldChild) [all...] |
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/ |
OMAConstructed.java | 28 OMANode child = value != null ? local 31 mChildren.put(name, child); 32 return child; 41 throw new IOException("No child node '" + element + "' in " + getPathString()); 43 throw new IOException("Cannot add child to leaf node: " + getPathString()); 54 public void addChild(OMANode child) { 55 mChildren.put(child.getName(), child.reparent(this)); 63 OMANode child = mChildren.get(tag); local 64 if (child != null) 77 OMANode child; local [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/ |
OMAConstructed.java | 28 OMANode child = value != null ? local 31 mChildren.put(name, child); 32 return child; 41 throw new IOException("No child node '" + element + "' in " + getPathString()); 43 throw new IOException("Cannot add child to leaf node: " + getPathString()); 54 public void addChild(OMANode child) { 55 mChildren.put(child.getName(), child.reparent(this)); 63 OMANode child = mChildren.get(tag); local 64 if (child != null) 77 OMANode child; local [all...] |
/toolchain/binutils/binutils-2.25/gold/ |
arm-reloc-property.cc | 169 && node->child(0)->is_leaf() 170 && node->child(0)->name() == "-") 190 const std::string rhs(node->child(2)->s_expression()); 201 node = node->child(1); 206 && node->child(0)->is_leaf() 207 && node->child(0)->name() == "|") 210 && node->child(2)->is_leaf() 211 && node->child(2)->name() == "T"); 213 node = node->child(1); 218 && node->child(0)->is_leaf( [all...] |
/packages/apps/Settings/src/com/android/settings/widget/ |
MatchParentShrinkingLinearLayout.java | 91 * use the child at this index as the baseline. 100 * The additional offset to the child's baseline. 333 final View child = getVirtualChildAt(i); local 335 if (child != null && child.getVisibility() != GONE) { 337 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 338 final int top = child.getTop() - lp.topMargin - mDividerHeight; 345 final View child = getVirtualChildAt(count - 1); local 347 if (child == null) { 350 final LayoutParams lp = (LayoutParams) child.getLayoutParams() 361 final View child = getVirtualChildAt(i); local 378 final View child = getVirtualChildAt(count - 1); local 476 final View child = getChildAt(mBaselineAlignedChildIndex); local 665 final View child = getVirtualChildAt(i); local 784 final View child = getVirtualChildAt(i); local 827 final View child = getVirtualChildAt(i); local 920 final View child = getVirtualChildAt(i); local 962 final View child = getVirtualChildAt(i); local 1005 final View child = getVirtualChildAt(i); local 1146 final View child = getVirtualChildAt(i); local 1267 final View child = getVirtualChildAt(childIndex); local [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
CompositeGrammarTree.java | 46 //System.out.println("add "+t.toStringTree()+" as child to "+this.toStringTree()); 63 CompositeGrammarTree child = children.get(i); local 64 r = child.getRule(ruleName); 94 CompositeGrammarTree child = children.get(i); local 95 n = child.findNode(g); 109 CompositeGrammarTree child = children.get(i); local 110 n = child.findNode(grammarName); 125 CompositeGrammarTree child = children.get(i); local 126 child._getPostOrderedGrammarList(grammars); 141 CompositeGrammarTree child = children.get(i) local 155 CompositeGrammarTree child = children.get(i); local [all...] |
/external/deqp/framework/randomshaders/ |
rsgExpressionGenerator.cpp | 73 Expression* child = curExpr->createNextChild(m_state); local 75 if (child) 77 m_expressionStack.push_back(child);
|
/external/elfutils/tests/ |
addrscopes.c | 55 Dwarf_Die child; local 56 if (dwarf_child (die, &child) == 0) 58 switch (dwarf_tag (&child)) 63 dwarf_diename (&child), 64 (uint64_t) dwarf_dieoffset (&child)); 69 while (dwarf_siblingof (&child, &child) == 0); 76 && dwarf_child (&origin, &child) == 0) 78 switch (dwarf_tag (&child)) 83 dwarf_diename (&child)); [all...] |
funcscopes.c | 57 Dwarf_Die child; local 58 if (dwarf_child (die, &child) == 0) 60 switch (dwarf_tag (&child)) 65 dwarf_diename (&child), 66 (uint64_t) dwarf_dieoffset (&child)); 71 while (dwarf_siblingof (&child, &child) == 0); 78 && dwarf_child (&origin, &child) == 0) 80 switch (dwarf_tag (&child)) 85 dwarf_diename (&child)); [all...] |
/external/skia/src/core/ |
SkTDPQueue.h | 136 int child = LeftOf(index); local 138 if (child >= fArray.count()) { 144 if (child + 1 >= fArray.count()) { 145 // We only have a left child. 146 if (LESS(fArray[child], fArray[index])) { 147 SkTSwap(fArray[child], fArray[index]); 148 this->setIndex(child); 152 } else if (LESS(fArray[child + 1], fArray[child])) { 153 // The right child is the one we should swap with, if we swap [all...] |
/external/skia/src/svg/parser/ |
SkSVGClipPath.cpp | 28 SkSVGElement* child = *fChildren.begin(); local 29 SkASSERT(child->getType() == SkSVGType_Use); 30 SkSVGUse* use = (SkSVGUse*) child;
|
/external/valgrind/memcheck/tests/ |
err_disable3.c | 2 /* Check that a child thread doesn't inherit its parent's disablement 39 pthread_t child; local 49 fprintf(stderr, "\n--------- p: creating child ---------\n\n"); 51 r = pthread_create(&child, NULL, child_fn, NULL); 53 sleep(1); // let the child run first (determinism fix) 54 fprintf(stderr, "\n--------- p: join child ---------\n\n"); 55 r = pthread_join(child, NULL);
|