/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
ListItemFocusablesFarApartTest.java | 46 * Get the child of a list item. 48 * @param index The index of the child. 57 View child = listItem.getChildAt(index); local 58 return child.getTop() + listItem.getTop(); 63 View child = listItem.getChildAt(index); local 64 return child.getBottom() + listItem.getTop();
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
ControlBar.java | 25 public void onChildFocusedListener(View child, View focused); 58 public void requestChildFocus (View child, View focused) { 59 super.requestChildFocus(child, focused); 61 mOnChildFocusedListener.onChildFocusedListener(child, focused);
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
hc_nodeappendchilddocfragment.java | 32 * all its content is added to the child list of this node. 73 Node child; local 100 child = (Node) childList.item(indexN100A2); 101 nodeType = (int) child.getNodeType(); 104 childName = child.getNodeName();
|
hc_nodeinsertbefore.java | 71 Node child; local 94 child = (Node) childList.item(indexN10091); 95 nodeType = (int) child.getNodeType(); 98 childName = child.getNodeName();
|
hc_nodeinsertbeforenewchildexists.java | 72 Node child; local 94 child = (Node) childList.item(indexN1008C); 95 nodeType = (int) child.getNodeType(); 98 childName = child.getNodeName();
|
hc_noderemovechildnode.java | 34 * Retrieve the second p element and remove its first child. 36 * children and the first child should now be the child 70 Node child; local 95 child = (Node) childList.item(indexN10098); 96 nodeType = (int) child.getNodeType(); 97 childName = child.getNodeName();
|
hc_textparseintolistofelements.java | 31 * Retrieve the textual data from the last child of the 36 * EntityReferences containing one child. 68 Node child; local 89 child = (Node) childList.item(indexN1007C); 90 value = child.getNodeValue(); 93 grandChild = child.getFirstChild();
|
nodeappendchilddocfragment.java | 69 Node child; local 96 child = (Node) childList.item(indexN1009F); 97 nodeType = (int) child.getNodeType(); 100 childName = child.getNodeName();
|
textparseintolistofelements.java | 31 * Retrieve the textual data from the last child of the 36 * EntityReferences containing one child. 69 Node child; local 90 child = (Node) childList.item(indexN1007F); 91 value = child.getNodeValue(); 94 grandChild = child.getFirstChild();
|
/ndk/sources/android/crazy_linker/tests/ |
test_two_shared_relros.cpp | 52 pid_t child = fork(); local 53 if (child < 0) 56 if (child == 0) { 57 // In the child. 58 printf("Child waiting for foo relro fd\n"); 63 printf("Child waiting for bar relro fd\n"); 67 printf("RELROs used in child process\n"); 96 printf("RELROs enabled and sent to child\n"); 100 printf("Parent waiting for child\n"); 102 // Wait for child to complete [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
NotificationStackScrollLayout.java | 316 View child = getChildAt(i); local 317 float width = child.getMeasuredWidth(); 318 float height = child.getMeasuredHeight(); 319 child.layout((int) (centerX - width / 2.0f), 360 * Returns the location the given child is currently rendered at. 362 * @param child the child to get the location for 365 public int getChildLocation(View child) { 366 ViewState childViewState = mCurrentStackScrollState.getViewStateForView(child); 385 * last child is not in the bottom stack 1202 View child = getChildAt(i); local 1217 View child = getChildAt(i); local 1231 View child = getChildAt(i); local 1246 View child = getChildAt(i); local 1275 View child = getChildAt(i); local 1535 View child = getChildAt(i); local 1567 View child = getChildAt(i); local 2217 ExpandableView child = (ExpandableView) getChildAt(childIdx); local [all...] |
/frameworks/base/core/java/android/widget/ |
ActionMenuView.java | 155 final View child = getChildAt(i); local 156 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 201 final View child = getChildAt(i); local 202 if (child.getVisibility() == GONE) continue; 204 final boolean isGeneratedItem = child instanceof ActionMenuItemView; 210 child.setPadding(mGeneratedItemPadding, 0, mGeneratedItemPadding, 0); 213 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 220 lp.preventEdgeOffset = isGeneratedItem && ((ActionMenuItemView) child).hasText(); 225 final int cellsUsed = measureChildForCells(child, cellSize, cellsAvailable, 233 maxChildHeight = Math.max(maxChildHeight, child.getMeasuredHeight()) 250 final View child = getChildAt(i); local 276 final View child = getChildAt(i); local 322 final View child = getChildAt(i); local 358 final View child = getChildAt(i); local 692 final View child = getChildAt(childIndex); local [all...] |
TextSwitcher.java | 59 * @throws IllegalArgumentException if child is not an instance of 63 public void addView(View child, int index, ViewGroup.LayoutParams params) { 64 if (!(child instanceof TextView)) { 69 super.addView(child, index, params);
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
MultiPaneChallengeLayout.java | 166 public void requestChildFocus(View child, View focused) { 167 if (mIsBouncing && child != mChallengeView) { 172 super.requestChildFocus(child, focused); 231 final View child = getChildAt(i); local 232 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 237 "There may only be one child of type challenge"); 239 if (!(child instanceof KeyguardSecurityContainer)) { 243 mChallengeView = (KeyguardSecurityContainer) child; 247 "There may only be one child of type userSwitcher"); 249 mUserSwitcherView = child; 281 final View child = getChildAt(i); local 349 final View child = getChildAt(i); local [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
ActionMenuView.java | 165 final View child = getChildAt(i); local 166 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 211 final View child = getChildAt(i); local 212 if (child.getVisibility() == GONE) continue; 214 final boolean isGeneratedItem = child instanceof ActionMenuItemView; 220 child.setPadding(mGeneratedItemPadding, 0, mGeneratedItemPadding, 0); 223 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 230 lp.preventEdgeOffset = isGeneratedItem && ((ActionMenuItemView) child).hasText(); 235 final int cellsUsed = measureChildForCells(child, cellSize, cellsAvailable, 243 maxChildHeight = Math.max(maxChildHeight, child.getMeasuredHeight()) 260 final View child = getChildAt(i); local 286 final View child = getChildAt(i); local 332 final View child = getChildAt(i); local 368 final View child = getChildAt(i); local 700 final View child = getChildAt(childIndex); local [all...] |
/development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/ |
ListViewRemovalAnimation.java | 182 View child = listview.getChildAt(i); local 183 if (child != viewToRemove) { 186 mItemIdTopMap.put(itemId, child.getTop()); 200 final View child = listview.getChildAt(i); 204 int top = child.getTop(); 208 child.setTranslationY(delta); 209 child.animate().setDuration(MOVE_DURATION).translationY(0); 211 child.animate().withEndAction(new Runnable() { 225 int childHeight = child.getHeight() + listview.getDividerHeight(); 228 child.setTranslationY(delta) [all...] |
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/ |
BaseTree.js | 3 * instead of the child-sibling approach in v2. A flat tree (a list) is 44 /** Add t as child of this node. 46 * Warning: if t has no children, but child does 47 * and child isNil then this routine moves children to t via 48 * t.children = child.children; i.e., without copying the array. 57 throw new Error("attempt to add child list to itself"); 66 // handle double-link stuff for each child of nil root 79 else { // child is not nil (don't care about children) 103 throw new Error("Can't set single child to a list"); 121 // walk rest and decrement their child indexe [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
ElemApplyTemplates.java | 188 * Perform a query if needed, and call transformNode for each child. 260 int child; local 261 while (DTM.NULL != (child = sourceNodes.nextNode())) 263 currentNodes.setTop(child); 264 currentExpressionNodes.setTop(child); 266 if(xctxt.getDTM(child) != dtm) 268 dtm = xctxt.getDTM(child); 271 final int exNodeType = dtm.getExpandedTypeID(child); 273 final int nodeType = dtm.getNodeType(child); 277 ElemTemplate template = tl.getTemplateFast(xctxt, child, exNodeType, mode, 296 transformer.pushPairCurrentMatched(sroot.getDefaultTextRule(), child); local [all...] |
/external/bison/lib/ |
spawn-pipe.c | 95 /* Open a pipe connected to a child process. 98 * parent -> fd[1] -> STDIN_FILENO -> child if pipe_stdin 99 * parent <- fd[0] <- STDOUT_FILENO <- child if pipe_stdout 103 * pipe_stdin and prog_stdin together determine the child's standard input. 104 * pipe_stdout and prog_stdout together determine the child's standard output. 129 int child; local 147 * parent -> ofd[1] -> ofd[0] -> child if pipe_stdin 148 * parent <- ifd[0] <- ifd[1] <- child if pipe_stdout 160 child = -1; 162 /* Create standard file handles of child process. * [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
posix.cc | 63 // Fork intermediate child to daemonize. 69 // Child. 96 // Child. 111 // Parent. Reap intermediate child. 113 pid_t child = waitpid(pid, &status, 0); local 114 if (child < 0) { 118 if (child != pid) { 120 LOG(LS_ERROR) << "waitpid() chose wrong child???"; 124 LOG(LS_ERROR) << "Intermediate child killed uncleanly"; // Probably crashed 130 LOG(LS_WARNING) << "Child reported probles calling chdir()" [all...] |
/external/chromium_org/third_party/skia/src/utils/ |
SkLayer.cpp | 99 SkLayer* SkLayer::addChild(SkLayer* child) { 100 SkASSERT(this != child); 101 child->ref(); 102 child->detachFromParent(); 103 SkASSERT(child->fParent == NULL); 104 child->fParent = this; 106 *m_children.append() = child; 107 return child; 123 SkLayer* child = m_children[i]; local 124 SkASSERT(child->fParent == this) [all...] |
/external/chromium_org/third_party/webrtc/base/ |
posix.cc | 46 // Fork intermediate child to daemonize. 52 // Child. 79 // Child. 94 // Parent. Reap intermediate child. 96 pid_t child = waitpid(pid, &status, 0); local 97 if (child < 0) { 101 if (child != pid) { 103 LOG(LS_ERROR) << "waitpid() chose wrong child???"; 107 LOG(LS_ERROR) << "Intermediate child killed uncleanly"; // Probably crashed 113 LOG(LS_WARNING) << "Child reported probles calling chdir()" [all...] |
/external/droiddriver/src/com/google/android/droiddriver/validators/ |
DefaultAccessibilityValidator.java | 76 for (UiElement child : element.getChildren(UiElement.VISIBLE)) { 77 if (!isAccessibilityFocusable(child) && isSpeakingNode(child)) {
|
/external/lldb/test/lang/cpp/dynamic-value/ |
TestCppValueCast.py | 104 for child in tellerA: 105 print "child name:", child.GetName() 106 print child 114 for child in instanceA: 115 print "child name:", child.GetName() 116 print child 132 for child in tellerB: 133 print "child name:", child.GetName( [all...] |
/external/skia/src/utils/ |
SkLayer.cpp | 99 SkLayer* SkLayer::addChild(SkLayer* child) { 100 SkASSERT(this != child); 101 child->ref(); 102 child->detachFromParent(); 103 SkASSERT(child->fParent == NULL); 104 child->fParent = this; 106 *m_children.append() = child; 107 return child; 123 SkLayer* child = m_children[i]; local 124 SkASSERT(child->fParent == this) [all...] |