/external/setupcompat/main/java/com/google/android/setupcompat/view/ |
ButtonBarLayout.java | 27 * fit its child views horizontally. 84 View child = getChildAt(i); local 85 LayoutParams childParams = (LayoutParams) child.getLayoutParams(); 87 child.setTag(R.id.suc_customization_original_weight, childParams.weight); 90 Float weight = (Float) child.getTag(R.id.suc_customization_original_weight); 95 child.setLayoutParams(childParams); 100 // Reverse the child order, so that the primary button is towards the top when vertical
|
/external/skia/modules/sksg/include/ |
SkSGTransform.h | 84 static sk_sp<TransformEffect> Make(sk_sp<RenderNode> child, sk_sp<Transform> transform) { 85 return child && transform 86 ? sk_sp<TransformEffect>(new TransformEffect(std::move(child), std::move(transform))) 90 static sk_sp<TransformEffect> Make(sk_sp<RenderNode> child, const SkMatrix& m) { 91 return Make(std::move(child), Matrix<SkMatrix>::Make(m));
|
/external/skqp/modules/sksg/include/ |
SkSGTransform.h | 84 static sk_sp<TransformEffect> Make(sk_sp<RenderNode> child, sk_sp<Transform> transform) { 85 return child && transform 86 ? sk_sp<TransformEffect>(new TransformEffect(std::move(child), std::move(transform))) 90 static sk_sp<TransformEffect> Make(sk_sp<RenderNode> child, const SkMatrix& m) { 91 return Make(std::move(child), Matrix<SkMatrix>::Make(m));
|
/external/tensorflow/tensorflow/tools/common/ |
public_api.py | 132 for name, child in list(children): 133 if self._is_private(full_path, name, child): 134 children.remove((name, child)) 139 for name, child in list(children): 141 children.remove((name, child))
|
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
CanvasPerfTest.java | 44 RenderNode child = RenderNode.create("child", null); local 45 child.setLeftTopRightBottom(50, 50, 100, 100); 49 canvas = child.start(50, 50); 51 child.end(canvas); 59 canvas.drawRenderNode(child);
|
/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...] |
/external/freetype/src/tools/ |
glnames.py | [all...] |
/external/cldr/tools/java/org/unicode/cldr/icu/ |
ResourceSplitter.java | 298 for (Resource child = src.first; child != null; child = child.next) { 299 if (versionKey.equals(child.name)) { 300 String value = ((ResourceString) child).val; 302 } else if (parentRootKey.equals(child.name)) { 305 parentIsRoot.val = ((ResourceInt) child).val; 307 } else if (aliasKey.equals(child.name)) { 308 String value = ((ResourceString) child).val 353 Resource child = parent.first; local [all...] |
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
ViewClippingTests.java | 44 ViewGroup child = (ViewGroup) rootView.findViewById(R.id.child); 45 child.setClipToPadding(true); 46 child.setWillNotDraw(true); 47 child.addView(new UnclippedBlueView(rootView.getContext())); 51 View child = rootView.findViewById(R.id.child); 52 child.setOutlineProvider(new ViewOutlineProvider() { 58 child.setClipToOutline(true);
|
BitmapTests.java | 116 final BitmapView child = new BitmapView(view.getContext()); 117 child.setLayoutParams(new FrameLayout.LayoutParams(50, 50)); 118 root.addView(child); 120 mAnimator = ViewAnimationUtils.createCircularReveal(child, 0, 0, 0, 90); 128 child.setColor(Color.RED); 134 child.setColor(Color.BLUE); 183 final BitmapView child = new BitmapView(view.getContext()); 185 // The child size is strictly less than the test canvas size, 187 child.setLayoutParams(new FrameLayout.LayoutParams(ActivityTestBase.TEST_WIDTH / 2, 189 root.addView(child); [all...] |
/external/antlr/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/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/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/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/tensorflow/tensorflow/cc/framework/ |
scope_test.cc | 41 Scope child = root.NewSubScope("child"); local 42 EXPECT_EQ(child.GetUniqueNameForOp("add"), "child/add"); 43 EXPECT_EQ(child.GetUniqueNameForOp("add"), "child/add_1"); 44 EXPECT_EQ(child.GetUniqueNameForOp("mul"), "child/mul"); 46 Scope child_1 = root.NewSubScope("child"); 68 Scope child = root.NewSubScope("child") local [all...] |
/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();
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
scalar_analysis_nodes.h | 64 virtual inline void AddChild(SENode* child) { 67 assert(false && "Trying to add a child node to a constant!"); 70 // Find the first point in the vector where |child| is greater than the node 72 auto find_first_less_than = [child](const SENode* node) { 73 return child->unique_id_ <= node->unique_id_; 80 children_.insert(position, child); 98 // Return the child node at |index|. 102 // Iterator to iterate over the child nodes. 106 // Iterate over immediate child nodes. 110 // Constant overloads for iterating over immediate child nodes [all...] |
/external/grpc-grpc/src/core/lib/transport/ |
service_config.h | 134 for (grpc_json* field = json_tree_->child; field != nullptr; 151 for (grpc_json* child = json->child; child != nullptr; child = child->next) { 152 if (child->key == nullptr) continue; 153 if (strcmp(child->key, "name") == 0) { 154 if (child->type != GRPC_JSON_ARRAY) return false; 155 for (grpc_json* name = child->child; name != nullptr; name = name->next) [all...] |
/external/linux-kselftest/tools/testing/selftests/mount/ |
unprivileged-remount-test.c | 185 pid_t child; local 187 child = fork(); 188 if (child == -1) { 192 if (child != 0) { /* parent */ 195 pid = waitpid(child, &status, 0); 200 if (pid != child) { 202 child, pid); 205 die("child did not terminate cleanly\n"); 259 pid_t child; local 265 child = fork() [all...] |
/external/ltp/testcases/kernel/controllers/pids/ |
pids.sh | 241 tst_res TINFO "the number of all child cgroup tasks larger than its parent limit" 252 mkdir $testpath/child$i 253 start_pids_tasks2_path $testpath/child$i $lim 268 pids_task1 "$testpath/child$i/tasks" 272 tst_res TPASS "child$i cgroup fork failed as expected" 274 tst_res TFAIL "child$i cgroup fork didn't fail despite the limit" 276 tst_res TBROK "child$i cgroup pids_task1 failed" 281 stop_pids_tasks_path $testpath/child$i 282 rmdir $testpath/child$i 290 tst_res TINFO "set child cgroup limit smaller than its parent limit [all...] |
/external/skia/modules/sksg/src/ |
SkSGColorFilter.cpp | 19 ColorFilter::ColorFilter(sk_sp<RenderNode> child) 20 : INHERITED(std::move(child)) {} 41 sk_sp<ModeColorFilter> ModeColorFilter::Make(sk_sp<RenderNode> child, sk_sp<Color> color, 43 return (child && color) ? sk_sp<ModeColorFilter>(new ModeColorFilter(std::move(child), 48 ModeColorFilter::ModeColorFilter(sk_sp<RenderNode> child, sk_sp<Color> color, SkBlendMode mode) 49 : INHERITED(std::move(child)) 64 sk_sp<GradientColorFilter> GradientColorFilter::Make(sk_sp<RenderNode> child, 66 return Make(std::move(child), { std::move(c0), std::move(c1) }); 69 sk_sp<GradientColorFilter> GradientColorFilter::Make(sk_sp<RenderNode> child, [all...] |
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
scalar_analysis_nodes.h | 64 virtual inline void AddChild(SENode* child) { 67 assert(false && "Trying to add a child node to a constant!"); 70 // Find the first point in the vector where |child| is greater than the node 72 auto find_first_less_than = [child](const SENode* node) { 73 return child->unique_id_ <= node->unique_id_; 80 children_.insert(position, child); 98 // Return the child node at |index|. 102 // Iterator to iterate over the child nodes. 106 // Iterate over immediate child nodes. 110 // Constant overloads for iterating over immediate child nodes [all...] |