/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
CarLayoutManager.java | 456 Log.w(TAG, "There is a focused child but no first fully visible child."); 494 * You can get the position of the currently focused child through the child parameter. 499 * @param child Direct child of the RecyclerView containing the newly focused view 500 * @param focused The newly focused view. This may be the same view as child or it may be null 505 View child, View focused) { 506 if (child == null) { 507 Log.w(TAG, "onRequestChildFocus with a null child!"); 614 View child = getChildAt(i); local 640 View child = getChildAt(i); local 915 final View child = getChildAt(i); local 928 final View child = getChildAt(0); local 951 final View child = getChildAt(i); local 964 final View child = getChildAt(firstDetachedPos); local 1003 View child = getChildAt(i); local 1026 View child = getChildAt(i); local 1099 View child = getChildAt(i); local 1217 View child = findViewByPosition(previousPagePosition); local 1252 View child = findViewByPosition(nextPagePosition); local [all...] |
/frameworks/base/core/java/android/widget/ |
TableLayout.java | 55 * <code>layout_height</code> attribute can be defined by a child; default value 56 * is {@link android.widget.TableLayout.LayoutParams#WRAP_CONTENT}. If the child 62 * a child cell, it will autoincrement to the next available column. If you skip 66 * <p>Although the typical child of a TableLayout is a TableRow, you can 67 * actually use any View subclass as a direct child of TableLayout. The View 369 * upon child insertion.</p> 374 * @param child the newly added child 376 private void trackCollapsedColumns(View child) { 377 if (child instanceof TableRow) 494 final View child = getChildAt(i); local 590 View child = getChildAt(i); local [all...] |
RadioGroup.java | 127 public void addView(View child, int index, ViewGroup.LayoutParams params) { 128 if (child instanceof RadioButton) { 129 final RadioButton button = (RadioButton) child; 140 super.addView(child, index, params); 255 * for a list of all child view attributes that this class supports.</p> 295 * <p>Fixes the child's width to 296 * {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT} and the child's 367 public void onChildViewAdded(View parent, View child) { 368 if (parent == RadioGroup.this && child instanceof RadioButton) { 369 int id = child.getId() [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
CustomLayout.java | 46 /** These are used for computing child frames based on their gravity. */ 92 final View child = getChildAt(i); local 93 if (child.getVisibility() != GONE) { 94 // Measure the child. 95 measureChildWithMargins(child, widthMeasureSpec, 0, heightMeasureSpec, 0); 99 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 102 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); 105 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); 108 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); 111 child.getMeasuredHeight() + lp.topMargin + lp.bottomMargin) 149 final View child = getChildAt(i); local [all...] |
/external/markdown/markdown/ |
treeprocessors.py | 172 for child in [node] + node.getchildren(): 173 if child.tail: 174 if child.tail.strip(): 175 self.__processElementText(node, child, False) 176 if child.text: 177 if child.text.strip(): 178 self.__processElementText(child, child) 227 for child in [node] + node.getchildren(): 229 if child.text [all...] |
/frameworks/base/core/java/android/view/ |
ViewOverlay.java | 115 * redirect is necessary because the overlay is not a child of the host view 177 public void add(@NonNull View child) { 178 if (child == null) { 182 if (child.getParent() instanceof ViewGroup) { 183 ViewGroup parent = (ViewGroup) child.getParent(); 186 // Moving to different container; figure out how to position child such that 192 child.offsetLeftAndRight(parentLocation[0] - hostViewLocation[0]); 193 child.offsetTopAndBottom(parentLocation[1] - hostViewLocation[1]); 195 parent.removeView(child); 197 // LayoutTransition will cause the child to delay removal - cancel i [all...] |
/frameworks/support/transition/ics/android/support/transition/ |
ViewOverlay.java | 68 View child = contentView.getChildAt(i); local 69 if (child instanceof OverlayViewGroup) { 70 return ((OverlayViewGroup) child).mViewOverlay; 134 * redirect is necessary because the overlay is not a child of the host view 212 public void add(View child) { 213 if (child.getParent() instanceof ViewGroup) { 214 ViewGroup parent = (ViewGroup) child.getParent(); 217 // Moving to different container; figure out how to position child such that 223 ViewCompat.offsetLeftAndRight(child, parentLocation[0] - hostViewLocation[0]); 224 ViewCompat.offsetTopAndBottom(child, parentLocation[1] - hostViewLocation[1]) [all...] |
/libcore/luni/src/test/java/libcore/java/util/logging/ |
OldLoggerTest.java | 148 // child part 150 "testGetLogger_WithParent_ParentLogger.child")); 151 // create the child logger 152 Logger child = Logger local 153 .getLogger("testGetLogger_WithParent_ParentLogger.child"); 154 assertNull(child.getFilter()); 155 assertEquals(0, child.getHandlers().length); 156 assertNull(child.getLevel()); 157 assertEquals("testGetLogger_WithParent_ParentLogger.child", child 192 assertSame(childOfChild.getParent(), child); local [all...] |
/external/v8/test/mjsunit/regress/ |
regress-2073.js | 50 var Child, 51 child; 52 Child = function() {}; 53 Child.prototype = this; 54 child = new Child(); 55 child.id = nextid(); 56 child.parent = this; 57 child.left = this.last; 58 child.right = null [all...] |
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/tools/ |
glnames.py | [all...] |
/external/mesa3d/src/mapi/glapi/gen/ |
glX_XML.py | 53 child = element.children 54 while child: 55 if child.type == "element" and child.name == "size": 56 n = child.nsProp( "name", None ) 57 c = child.nsProp( "count", None ) 58 m = child.nsProp( "mode", None ) 73 child = child.next 138 child = element.childre [all...] |
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
ViewClippingTests.java | 39 ViewGroup child = (ViewGroup) rootView.findViewById(R.id.child); 40 child.setClipToPadding(true); 41 child.setWillNotDraw(true); 42 child.addView(new UnclippedBlueView(rootView.getContext())); 46 View child = rootView.findViewById(R.id.child); 47 child.setOutlineProvider(new ViewOutlineProvider() { 53 child.setClipToOutline(true);
|
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
dottreegen.py | 69 template="$parent$ -> $child$ // \"$parentText$\" -> \"$childText$\"\n" 103 # must have already dumped as child from previous 114 # for each child, do a "<unique-name> [label=text]" node def 116 child = adaptor.getChild(tree, i) 118 number = self.getNodeNumber(child) 120 nodeST = self.getNodeST(adaptor, child) 124 self.toDOTDefineNodes(child, adaptor, treeST, knownNodes) 133 # must have already dumped as child from previous 139 # for each child, do a parent -> child edge using unique node name [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/tree/ |
debug.rb | 54 child = self.child_of( tree, i ) 55 simulate_tree_construction( child ) 56 @debug_listener.add_child( tree, child ) 72 def add_child( tree, child ) 73 case child 75 node = create_with_payload( child ) 78 tree.nil? || child.nil? and return 79 super( tree, child ) 80 @debug_listener.add_child( tree, child )
|
/external/boringssl/src/crypto/ecdsa/ |
ecdsa_asn1.c | 116 CBS child; local 117 if (!CBS_get_asn1(cbs, &child, CBS_ASN1_SEQUENCE) || 118 !BN_cbs2unsigned(&child, ret->r) || 119 !BN_cbs2unsigned(&child, ret->s) || 120 CBS_len(&child) != 0) { 141 CBB child; local 142 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_SEQUENCE) || 143 !BN_bn2cbb(&child, sig->r) || 144 !BN_bn2cbb(&child, sig->s) ||
|
/external/gemmlowp/profiling/ |
profiler.h | 118 // any of the labelled child nodes. Example: 164 for (auto child : children) { 165 delete child; 183 for (auto child : node->children) { 184 PrintNode(child, level + 1); 195 for (auto child : node->children) { 196 if (child->label == stack.labels[level]) { 197 child_to_add_to = child; 233 for (auto child : node->children) { 234 SortNode(child); [all...] |
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/ |
SourceNodeImpl.java | 75 * Increments all counters by the values of the given child. When 76 * incrementing the line counter it is assumed that the child refers to the 79 * @param child 80 * child node to add 82 public void increment(final ISourceNode child) { 83 instructionCounter = instructionCounter.increment(child 85 branchCounter = branchCounter.increment(child.getBranchCounter()); 86 complexityCounter = complexityCounter.increment(child 88 methodCounter = methodCounter.increment(child.getMethodCounter()); 89 classCounter = classCounter.increment(child.getClassCounter()) [all...] |
/external/pdfium/fpdfsdk/src/ |
fpdfdoc_embeddertest.cpp | 87 FPDF_BOOKMARK child = FPDFBookmark_GetFirstChild(document(), nullptr); local 88 EXPECT_NE(nullptr, child); 89 EXPECT_EQ(34, FPDFBookmark_GetTitle(child, buf, sizeof(buf))); 93 EXPECT_EQ(nullptr, FPDFBookmark_GetFirstChild(document(), child)); 95 FPDF_BOOKMARK sibling = FPDFBookmark_GetNextSibling(document(), child); 111 FPDF_BOOKMARK child = FPDFBookmark_Find(document(), title.get()); local 112 EXPECT_NE(nullptr, child); 116 EXPECT_EQ(34, FPDFBookmark_GetTitle(child, buf, sizeof(buf))); 121 EXPECT_EQ(child, FPDFBookmark_GetFirstChild(document(), nullptr));
|
/external/sfntly/cpp/src/test/tinyxml/ |
tinyxml.cpp | 305 // A document can never be a child. Thanks to Noam. 819 // 2) An element with only a text child is printed as <foo> text </foo> 902 const TiXmlNode* child = this->FirstChild(); local 903 if ( child ) { 904 const TiXmlText* childText = child->ToText(); [all...] |
/external/skia/src/views/ |
SkViewInflate.cpp | 26 const SkDOM::Node* child = dom.getFirstChild(node); local 27 while (child) 29 SkView* view = this->createView(dom, child); 32 this->rInflate(dom, child, view); 37 const char* name = dom.getName(child); 40 if (!strcmp(name, "listenTo") && (target = dom.findAttr(child, "target")) != nullptr) 43 if (!strcmp(name, "broadcastTo") && (target = dom.findAttr(child, "target")) != nullptr) 46 child = dom.getNextSibling(child);
|
/external/tinyxml/ |
tinyxml.cpp | 785 // 2) An element with only a text child is printed as <foo> text </foo> 884 const TiXmlNode* child = this->FirstChild(); local 885 if ( child ) { 886 const TiXmlText* childText = child->ToText(); 1621 TiXmlNode* child = node->FirstChild(); local 1622 if ( child ) 1623 return TiXmlHandle( child ); 1633 TiXmlNode* child = node->FirstChild( value ); local 1634 if ( child ) 1635 return TiXmlHandle( child ); 1645 TiXmlElement* child = node->FirstChildElement(); local 1657 TiXmlElement* child = node->FirstChildElement( value ); local 1670 TiXmlNode* child = node->FirstChild(); local 1689 TiXmlNode* child = node->FirstChild( value ); local 1708 TiXmlElement* child = node->FirstChildElement(); local 1727 TiXmlElement* child = node->FirstChildElement( value ); local [all...] |
/external/webrtc/webrtc/libjingle/xmllite/ |
xmlprinter.cc | 105 const XmlChild* child = element->FirstChild(); local 107 if (child == NULL) 111 while (child) { 112 if (child->IsText()) { 114 PrintCDATAText(child->AsText()->Text()); 116 PrintBodyText(child->AsText()->Text()); 119 PrintElement(child->AsElement()); 121 child = child->NextChild();
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
GridLayoutManagerNoOpUpdateTest.java | 99 View child = mGlm.getChildAt(i); local 100 Rect childBounds = getChildBounds(mRecyclerView, child, true); 101 long id = mRecyclerView.getChildViewHolder(child).getItemId(); 109 private Rect getChildBounds(RecyclerView recyclerView, View child, boolean offset) { 111 RecyclerView.LayoutParams lp = (RecyclerView.LayoutParams) child.getLayoutParams(); 112 Rect rect = new Rect(layoutManager.getDecoratedLeft(child) - lp.leftMargin, 113 layoutManager.getDecoratedTop(child) - lp.topMargin, 114 layoutManager.getDecoratedRight(child) + lp.rightMargin, 115 layoutManager.getDecoratedBottom(child) + lp.bottomMargin);
|
/external/fio/lib/ |
rbtree.c | 224 struct rb_node *child, *parent; local 228 child = node->rb_right; 230 child = node->rb_left; 238 child = node->rb_right; 242 if (child) 243 rb_set_parent(child, parent); 245 parent->rb_right = child; 248 parent->rb_left = child; 272 if (child) 273 rb_set_parent(child, parent) [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...] |