/frameworks/base/core/java/android/view/ |
ViewOverlay.java | 109 * redirect is necessary because the overlay is not a child of the host view 163 public void add(View child) { 164 if (child.getParent() instanceof ViewGroup) { 165 ViewGroup parent = (ViewGroup) child.getParent(); 168 // Moving to different container; figure out how to position child such that 174 child.offsetLeftAndRight(parentLocation[0] - hostViewLocation[0]); 175 child.offsetTopAndBottom(parentLocation[1] - hostViewLocation[1]); 177 parent.removeView(child); 179 // LayoutTransition will cause the child to delay removal - cancel it 183 if (child.getParent() != null) [all...] |
/frameworks/base/core/java/android/widget/ |
RadioGroup.java | 128 public void addView(View child, int index, ViewGroup.LayoutParams params) { 129 if (child instanceof RadioButton) { 130 final RadioButton button = (RadioButton) child; 141 super.addView(child, index, params); 262 * for a list of all child view attributes that this class supports.</p> 302 * <p>Fixes the child's width to 303 * {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT} and the child's 374 public void onChildViewAdded(View parent, View child) { 375 if (parent == RadioGroup.this && child instanceof RadioButton) { 376 int id = child.getId() [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
InnerNodeImpl.java | 104 * Inserts {@code newChild} at {@code index}. If it is already child of 204 Node child = getFirstChild(); local 205 if (child == null) { 209 Node next = child.getNextSibling(); 211 return hasTextContent(child) ? child.getTextContent() : ""; 220 Node child = getFirstChild(); local 221 while (child != null) { 222 if (hasTextContent(child)) { 223 ((NodeImpl) child).getTextContent(buf) [all...] |
/packages/apps/Dialer/src/com/android/dialer/widget/ |
OverlappingPaneLayout.java | 42 * A custom layout that aligns its child views vertically as two panes, and allows for the bottom 81 * The child view that can slide, if any. 114 * Tracks whether or not a child view is in the process of a nested scroll. 120 * the child scrolling view is being dragged downwards. 126 * the child scrolling view is being dragged upwards. 132 * from the child scrolling view. 181 * @param panel The child view that was moved 188 * @param panel The child view that was slid to an open position, revealing other panes 195 * @param panel The child view that was slid to a closed position 296 final View child = getChildAt(i) local 321 final View child = getChildAt(i); local 414 final View child = getChildAt(i); local 580 final View child = getChildAt(i); local 1293 final View child = getChildAt(i); local [all...] |
/packages/apps/Contacts/src/com/android/contacts/widget/ |
InterpolatingLayout.java | 31 * Layout similar to LinearLayout that allows a child to specify examples of 35 * You can also specify minWidth for each child. You can have at most one 36 * child with layout_width="match_parent" - it will take the entire remaining 214 View child = getChildAt(i); local 215 if (child.getVisibility() == View.GONE) { 219 LayoutParams params = (LayoutParams) child.getLayoutParams(); 223 "Interpolating layout allows at most one child" 226 fillChild = child; 256 child.measure(childWidthMeasureSpec, childHeightMeasureSpec); 257 width += child.getMeasuredWidth() 284 View child = getChildAt(i); local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/ |
btm_utils.py | 98 for child in self.children: 99 for x in child.leaves(): 127 for child in node.children: 128 if node.children.index(child)%2: 130 reduced = reduce_tree(child, new_node) 137 for child in node.children: 138 reduced = reduce_tree(child, new_node) 169 for child in node.children: 170 if child.type == syms.Details: 172 details_node = child [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/ |
btm_utils.py | 98 for child in self.children: 99 for x in child.leaves(): 127 for child in node.children: 128 if node.children.index(child)%2: 130 reduced = reduce_tree(child, new_node) 137 for child in node.children: 138 reduced = reduce_tree(child, new_node) 169 for child in node.children: 170 if child.type == syms.Details: 172 details_node = child [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
DragLayer.java | 128 final View child = getChildAt(i); local 129 setInsets(child, insets, mInsets); 140 public void addView(View child, int index, android.view.ViewGroup.LayoutParams params) { 141 super.addView(child, index, params); 142 setInsets(child, mInsets, new Rect()); 159 private void setInsets(View child, Rect newInsets, Rect oldInsets) { 160 final FrameLayout.LayoutParams flp = (FrameLayout.LayoutParams) child.getLayoutParams(); 161 if (child instanceof Insettable) { 162 ((Insettable) child).setInsets(newInsets); 169 child.setLayoutParams(flp) 484 View child = getChildAt(i); local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLTableElement.cpp | 80 for (Element* child = ElementTraversal::firstWithin(*this); child; child = ElementTraversal::nextSibling(*child)) { 81 if (child->hasTagName(theadTag)) 82 return toHTMLTableSectionElement(child); 91 Element* child; local 92 for (child = ElementTraversal::firstWithin(*this); child; child = ElementTraversal::nextSibling(*child)) 113 Element* child; local [all...] |
HTMLTableRowElement.cpp | 83 for (Element* child = ElementTraversal::firstWithin(*table); child; child = ElementTraversal::nextSibling(*child)) { 84 if (child->hasTagName(tbodyTag)) { 85 HTMLTableSectionElement* section = toHTMLTableSectionElement(child);
|
/development/samples/FixedGridLayout/src/com/example/android/fixedgridlayout/ |
FixedGridLayout.java | 34 * child order (the order in which they were added, or the index 77 final View child = getChildAt(index); local 78 child.measure(cellWidthSpec, cellHeightSpec); 98 final View child = getChildAt(index); local 100 int w = child.getMeasuredWidth(); 101 int h = child.getMeasuredHeight(); 106 child.layout(left, top, left+w, top+h);
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
GrammarAST.java | 77 * purposes (Nullable tree child list needs special code gen when matching). 290 Tree child = getChild(0); local 291 if ( child!=null ) { 292 line = child.getLine(); 305 Tree child = getChild(0); local 306 if ( child!=null ) { 307 col = child.getCharPositionInLine(); 368 Tree child = root.getChild(i); local 369 for (Tree subchild : descendants(child, true)) 377 Tree child = root.getChild(i) local 412 GrammarAST child = (GrammarAST)getChild(i); local 491 GrammarAST child = (GrammarAST)t.getChild(i); local 521 GrammarAST child = (GrammarAST)t.getChild(i); local [all...] |
/external/chromium_org/ash/wm/workspace/ |
workspace_layout_manager.h | 63 virtual void OnWindowAddedToLayout(aura::Window* child) OVERRIDE; 64 virtual void OnWillRemoveWindowFromLayout(aura::Window* child) OVERRIDE; 65 virtual void OnWindowRemovedFromLayout(aura::Window* child) OVERRIDE; 66 virtual void OnChildWindowVisibilityChanged(aura::Window* child, 68 virtual void SetChildBounds(aura::Window* child, 127 void SetChildBoundsAnimated(aura::Window* child, const gfx::Rect& bounds);
|
/external/chromium_org/athena/wm/ |
window_manager_impl.cc | 65 virtual void OnWindowAddedToLayout(aura::Window* child) OVERRIDE { 68 virtual void OnWillRemoveWindowFromLayout(aura::Window* child) OVERRIDE {} 69 virtual void OnWindowRemovedFromLayout(aura::Window* child) OVERRIDE { 72 virtual void OnChildWindowVisibilityChanged(aura::Window* child, 76 virtual void SetChildBounds(aura::Window* child, 79 SetChildBoundsDirect(child, requested_bounds);
|
/external/chromium_org/chrome/browser/resources/signin_internals/ |
signin_index.css | 41 tr:nth-child(odd) { 45 table.signin-details tr:nth-child(odd).ok { 73 tr[highlighted]:nth-child(odd) {
|
/external/chromium_org/remoting/tools/ |
native_messaging_host_test.py | 109 child = subprocess.Popen(native_messaging_host, stdin=subprocess.PIPE, 137 child.stdin.write(struct.pack('I', len(message))) 138 child.stdin.write(message) 139 child.stdin.flush() 141 reply_length_bytes = child.stdout.read(4) 146 reply = child.stdout.read(reply_length).decode('utf-8')
|
/external/chromium_org/third_party/WebKit/Source/core/xml/ |
XMLViewer.js | 49 var child; 50 while (child = document.firstChild) { 51 document.removeChild(child); 52 if (child.nodeType != Node.DOCUMENT_TYPE_NODE) 53 sourceXML.appendChild(child); 77 for (var child = sourceXML.firstChild; child; child = child.nextSibling) 78 nodeParentPairs.push({parentElement: tree, node: child}); [all...] |
/external/chromium_org/tools/android/md5sum/ |
md5sum.cc | 59 for (base::FilePath child, empty; 60 (child = file_enumerator.Next()) != empty; ) { 62 if (child.value().find(svn_dir_component) == std::string::npos) { 63 child = base::MakeAbsoluteFilePath(child); 64 file_set.insert(child.value());
|
/external/chromium_org/ui/views/widget/ |
native_widget_aura_unittest.cc | 110 virtual void OnWindowAddedToLayout(aura::Window* child) OVERRIDE {} 111 virtual void OnWillRemoveWindowFromLayout(aura::Window* child) OVERRIDE {} 112 virtual void OnWindowRemovedFromLayout(aura::Window* child) OVERRIDE {} 113 virtual void OnChildWindowVisibilityChanged(aura::Window* child, 115 virtual void SetChildBounds(aura::Window* child, 130 virtual void OnWindowAddedToLayout(aura::Window* child) OVERRIDE { 132 SetChildBoundsDirect(child, gfx::Rect(0, 0, 300, 300)); 194 virtual void OnWindowAddedToLayout(aura::Window* child) OVERRIDE { 195 EXPECT_TRUE(child->GetProperty(aura::client::kCanMaximizeKey)); 196 EXPECT_TRUE(child->GetProperty(aura::client::kCanResizeKey)) 307 GestureTrackingView* child = new GestureTrackingView(); local [all...] |
/external/chromium_org/ui/wm/core/ |
transient_window_stacking_client.cc | 94 Window** child, 98 TransientWindowManager::Get(static_cast<const Window*>(*child)); 105 FindCommonTransientAncestor(child, target); 109 !HasTransientAncestor(*child, *target)) { 110 const Window::Windows& siblings((*child)->parent()->children()); 128 return *child != *target;
|
/frameworks/support/v4/java/android/support/v4/view/ |
ViewGroupCompat.java | 47 public boolean onRequestSendAccessibilityEvent(ViewGroup group, View child, 59 ViewGroup group, View child, AccessibilityEvent event) { 97 ViewGroup group, View child, AccessibilityEvent event) { 98 return ViewGroupCompatIcs.onRequestSendAccessibilityEvent(group, child, event); 150 * Called when a child has requested sending an {@link AccessibilityEvent} and 160 * @param child The child which requests sending the event. 164 public static boolean onRequestSendAccessibilityEvent(ViewGroup group, View child, 166 return IMPL.onRequestSendAccessibilityEvent(group, child, event); 175 * <p>When this option is enabled MotionEvents may be split and dispatched to different child [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
SimpleScrollAdapterTransform.java | 48 public void transform(View child, int distanceFromCenter, int distanceFromCenter2ndAxis) { 54 applyTransformationRecursive(absDistance, mLowItemTransform, child); 56 applyTransformationRecursive(absDistance, mHighItemTransform, child); 61 int distanceFromCenter, Animator animator, View child) { 65 applyTransformationRecursive(distanceFromCenter, children.get(i), child); 69 valueAnim.setTarget(child);
|
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3basetreeadaptor.c | 49 static void addChild (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t, pANTLR3_BASE_TREE child); 50 static void dbgAddChild (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t, pANTLR3_BASE_TREE child); 54 static void addChildToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t, pANTLR3_COMMON_TOKEN child); 55 static void dbgAddChildToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t, pANTLR3_COMMON_TOKEN child); 166 pANTLR3_BASE_TREE child; local 181 // This will already have been included as a child of another node 187 // For each child of the current tree, define a node using the 193 // Pick up a pointer for the child 195 child = adaptor->getChild(adaptor, t, i); 199 sprintf(buff, "\tn%p[label=\"", child); 271 pANTLR3_BASE_TREE child; local 470 pANTLR3_BASE_TREE child; local 504 pANTLR3_BASE_TREE child; local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
RenderSVGRoot.cpp | 301 bool RenderSVGRoot::isChildAllowed(RenderObject* child, RenderStyle*) const 303 return child->isSVG() && !(child->isSVGInline() || child->isSVGInlineText()); 306 void RenderSVGRoot::addChild(RenderObject* child, RenderObject* beforeChild) 308 RenderReplaced::addChild(child, beforeChild); 309 SVGResourcesCache::clientWasAddedToTree(child, child->style()); 312 void RenderSVGRoot::removeChild(RenderObject* child) 314 SVGResourcesCache::clientWillBeRemovedFromTree(child); [all...] |
/frameworks/base/core/java/android/app/ |
FragmentBreadCrumbs.java | 202 final View child = getChildAt(0); local 205 final int childBottom = mPaddingTop + child.getMeasuredHeight() - mPaddingBottom; 215 childLeft = childRight - child.getMeasuredWidth(); 219 childLeft = mPaddingLeft + (mRight - mLeft - child.getMeasuredWidth()) / 2; 220 childRight = childLeft + child.getMeasuredWidth(); 226 childRight = childLeft + child.getMeasuredWidth(); 238 child.layout(childLeft, childTop, childRight, childBottom); 249 // Find rightmost and bottom-most child 251 final View child = getChildAt(i); local 252 if (child.getVisibility() != GONE) [all...] |