/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
OnChildViewHolderSelectedListener.java | 22 * Interface for receiving notification when a child of this 27 * Callback method to be invoked when a child of this ViewGroup has been 31 * @param child The ViewHolder within the RecyclerView that is selected, or null if no 38 public void onChildViewHolderSelected(RecyclerView parent, RecyclerView.ViewHolder child,
|
ScaleFrameLayout.java | 79 public void addView(View child, int index, ViewGroup.LayoutParams params) { 80 super.addView(child, index, params); 81 child.setScaleX(mChildScale); 82 child.setScaleY(mChildScale); 86 protected boolean addViewInLayout (View child, int index, ViewGroup.LayoutParams params, 88 boolean ret = super.addViewInLayout(child, index, params, preventRequestLayout); 90 child.setScaleX(mChildScale); 91 child.setScaleY(mChildScale); 126 final View child = getChildAt(i); local 127 if (child.getVisibility() != GONE) [all...] |
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
hc_nodelisttraverselist.java | 31 * The range of valid child node indices is 0 thru length -1 67 Node child; local 85 child = (Node) employeeList.item(indexN10073); 86 nodeType = (int) child.getNodeType(); 87 childName = child.getNodeName();
|
nodelistindexnotzero.java | 32 * employee and access its fourth child by using an index 67 Node child; local 77 child = employeeList.item(1); 79 child = employeeList.item(3); 82 childName = child.getNodeName();
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
importNode11.java | 43 * Method should return a node of type Entity_Reference whose first child's value is "Texas" as defined 77 Node child; local 86 child = aNode.getFirstChild(); 87 assertNotNull("child", child); 88 childValue = child.getNodeValue();
|
importNode12.java | 79 Node child; local 94 child = entity1.getFirstChild(); 95 assertNotNull("notnull", child); 96 childName = child.getNodeName();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/ |
UiDocumentNode.java | 146 for (UiElementNode child : document.getUiChildren()) { 147 addElements(child, elements); 155 for (UiElementNode child : node.getUiChildren()) { 156 addElements(child, elements);
|
/toolchain/binutils/binutils-2.25/gprof/ |
cg_print.c | 125 100 * (cyc->cg.prop.self + cyc->cg.prop.child) / print_time, 126 cyc->cg.prop.self / hz, cyc->cg.prop.child / hz, cyc->ncalls); 137 CG.PROP.SELF+CG.PROP.CHILD, secondary key is NCALLS+CG.SELF_CALLS. */ 142 double left_time = left->cg.prop.self + left->cg.prop.child; 143 double right_time = right->cg.prop.self + right->cg.prop.child; 203 "", "", member->cg.prop.self / hz, member->cg.prop.child / hz, 217 /* Compare two arcs to/from the same child/parent. 229 Sym *left_child = left->child; 231 Sym *right_child = right->child; 312 sort_parents (Sym * child) 433 Sym *child; local 1019 Sym *child, *parent; local [all...] |
/external/libchrome/sandbox/linux/services/ |
syscall_wrappers_unittest.cc | 32 pid_t child = sys_clone(SIGCHLD); local 33 TestUtils::HandlePostForkReturn(child); 34 EXPECT_LT(0, child); 39 pid_t child = sys_clone(CLONE_PARENT_SETTID | SIGCHLD, nullptr, &ptid, local 41 TestUtils::HandlePostForkReturn(child); 42 EXPECT_LT(0, child); 43 EXPECT_EQ(child, ptid); 53 // In child.
|
/external/markdown/markdown/extensions/ |
rss.py | 77 for child in root: 79 if child.tag in ["h1", "h2", "h3", "h4", "h5"]: 81 heading = child.text.strip() 93 elif child.tag in ["p"]: 100 if len(child): 102 for node in child]) 104 content = child.text
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
ListSetSelectionTest.java | 76 View child = mListView.getChildAt(i); local 77 if (child.getId() == targetPosition) { 107 View child = mListView.getChildAt(i); local 108 if (child.getId() == targetPosition) { 109 target = child; 142 View child = mListView.getChildAt(i); local 143 if (child.getId() == 0 && i == 0) {
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/ |
ProportionalLayout.java | 32 * <p>Only one child is allowed; if more are required, another ViewGroup can be used as the direct 33 * child of this layout.</p> 92 throw new IllegalStateException("ProportionalLayout requires exactly one child"); 95 final View child = getChildAt(0); local 98 measureChild(child, widthMeasureSpec, heightMeasureSpec); 99 final int childWidth = child.getMeasuredWidth(); 100 final int childHeight = child.getMeasuredHeight(); 113 measureChild(child, 124 throw new IllegalStateException("ProportionalLayout requires exactly one child"); 127 final View child = getChildAt(0) local [all...] |
/external/elfutils/libdw/ |
dwarf_aggregate_size.c | 61 Dwarf_Die child; 62 if (INTUSE(dwarf_child) (die, &child) != 0) 70 switch (INTUSE(dwarf_tag) (&child)) 74 if (INTUSE(dwarf_attr_integrate) (&child, DW_AT_count, 85 (&child, DW_AT_upper_bound, 90 if (INTUSE(dwarf_attr_integrate) (&child, DW_AT_lower_bound, 145 /* We have to find the DW_TAG_enumerator child with the 174 if (INTUSE(dwarf_attr_integrate) (&child, DW_AT_byte_stride, 180 else if (INTUSE(dwarf_attr_integrate) (&child, DW_AT_bit_stride, 193 while (INTUSE(dwarf_siblingof) (&child, &child) == 0) [all...] |
/external/libweave/src/notification/ |
xml_node.cc | 67 for (const auto& child : children_) { 69 if (child->name() == name) { 71 found_node = child.get(); 73 found_node = child->FindChildHelper(rest_of_path, false, children); 76 found_node = child->FindChildHelper(name_path, true, children); 96 void XmlNode::AddChild(std::unique_ptr<XmlNode> child) { 97 child->parent_ = this; 98 children_.push_back(std::move(child)); 114 for (const auto& child : children_) { 115 xml += child->ToString() [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowListView.java | 30 View child = super.findViewById(id); local 31 if (child == null) { 32 child = findView(headerViews, id); 34 if (child == null) { 35 child = findView(footerViews, id); 38 return child; 42 View child = null; local 44 child = v.findViewById(viewId); 45 if (child != null) { 49 return child; [all...] |
/external/webrtc/webrtc/libjingle/xmpp/ |
pubsub_task.cc | 137 for (const buzz::XmlChild* child = pubsub_event->FirstChild(); 138 child != NULL; 139 child = child->NextChild()) { 140 const buzz::XmlElement* child_element = child->AsElement(); 164 for (const buzz::XmlChild* child = pubsub_iq_response->FirstChild(); 165 child != NULL; 166 child = child->NextChild()) { 167 const buzz::XmlElement* child_element = child->AsElement() [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/ |
DataExporter.java | 129 for (File child : file.listFiles()) { 130 removeFileOrDirectory(child); 142 for (File child : current.listFiles()) { 143 final String childStoredPath = storedPath + "/" + child.getName(); 145 if (child.isDirectory()) { 147 if (child.equals(context.getCacheDir())) { 152 if (child.getName().equals(DUMP_FILE_DIRECTORY_NAME)) { 155 addDirectory(context, os, child, childStoredPath); 156 } else if (child.isFile()) { 157 addFile(os, child, childStoredPath) [all...] |
/bootable/recovery/ |
adb_install.cpp | 85 pid_t child; local 86 if ((child = fork()) == 0) { 99 if (waitpid(child, &status, WNOHANG) != 0) { 112 kill(child, SIGKILL); 129 waitpid(child, &status, 0);
|
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/annotated_symbol/ |
reference.py | 53 for child in self.children 54 for token_snippet in child.children) 63 # Update child nodes. 64 for child, value_part in itertools.izip_longest( 66 if child: 68 child.children[-1].value = value_part
|
/external/guice/core/test/com/google/inject/ |
ParentInjectorTest.java | 45 fail("Created the same explicit binding on both parent and child"); 58 fail("Created a just-in-time binding on the parent that's the same as a child's binding"); 62 "It was already configured on one or more child injectors or private modules", 83 Injector child = parent.createChildInjector(); local 84 assertSame(child.getInstance(A.class), parent.getInstance(A.class)); 89 Injector grandchild = child.createChildInjector(); 95 Injector child = parent.createChildInjector(); local 96 assertSame(RealB.class, child.getInstance(B.class).getClass()); 124 Injector child = parent.createChildInjector(new AbstractModule() { local 129 assertSame(child.getInstance(A.class), child.getInstance(A.class)) 148 Injector child = parent.createChildInjector(new AbstractModule() { local 160 Injector child = parent.createChildInjector(bindStringNamedB); local 167 Injector child = parent.createChildInjector(bindListConverterModule, bindStringNamedB); local 179 Injector child = parent.createChildInjector(new AbstractModule() { local 221 Injector child = parent.createChildInjector(new AbstractModule() { local [all...] |
/external/guice/extensions/persist/test/com/google/inject/persist/jpa/ |
ManualLocalTransactionsConfidenceTest.java | 82 JpaTestEntity child = new JpaTestEntity(); local 84 child.setText(UNIQUE_TEXT_3); 85 em.persist(child); 87 entity.getChildren().add(child); 91 entity.getChildren().add(child);
|
/frameworks/base/core/java/android/widget/ |
TabWidget.java | 147 void measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, 156 super.measureChildBeforeLayout(child, childIndex, 180 final View child = getChildAt(i); local 181 if (child.getVisibility() == GONE) continue; 190 final View child = getChildAt(i); local 191 if (child.getVisibility() == GONE) continue; 192 final int childWidth = child.getMeasuredWidth(); 199 mImposedTabsHeight = Math.max(mImposedTabsHeight, child.getMeasuredHeight()); 348 public void childDrawableStateChanged(View child) { 349 if (getTabCount() > 0 && child == getChildTabViewAt(mSelectedTab)) 479 final View child = getChildTabViewAt(i); local [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
ChildHelper.java | 55 * Marks a child view as hidden 57 * @param child View to hide. 59 private void hideViewInternal(View child) { 60 mHiddenViews.add(child); 61 mCallback.onEnteredHiddenState(child); 65 * Unmarks a child view as hidden. 67 * @param child View to hide. 69 private boolean unhideViewInternal(View child) { 70 if (mHiddenViews.remove(child)) { 71 mCallback.onLeftHiddenState(child); [all...] |
/libcore/jsr166-tests/src/test/java/jsr166/ |
ThreadLocalTest.java | 69 Thread child = null; local 71 child = new ITLThread(x); 72 child.start(); 82 if (child != null) { // Wait for child (if any) 84 child.join();
|
/frameworks/base/core/java/android/animation/ |
LayoutTransition.java | 773 final View child = parent.getChildAt(i); local [all...] |