/frameworks/support/design/honeycomb/android/support/design/widget/ |
ViewGroupUtilsHoneycomb.java | 30 public static void offsetDescendantRect(ViewGroup group, View child, Rect rect) { 39 offsetDescendantMatrix(group, child, m);
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
AppBarWithToolbarTest.java | 144 // Now request that the first child has its full rectangle displayed 150 View child = scrollingContentInner.getChildAt(0); 151 Rect rect = new Rect(0, 0, child.getWidth(), child.getHeight()); 152 child.requestRectangleOnScreen(rect, true); 176 // Now request that the first child has its full rectangle displayed 182 View child = scrollingContentInner 184 Rect rect = new Rect(0, 0, child.getWidth(), child.getHeight()); 185 child.requestRectangleOnScreen(rect, true) [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
AbsActionBarView.java | 244 protected int measureChildView(View child, int availableWidth, int childSpecHeight, 246 child.measure(MeasureSpec.makeMeasureSpec(availableWidth, MeasureSpec.AT_MOST), 249 availableWidth -= child.getMeasuredWidth(); 259 protected int positionChild(View child, int x, int y, int contentHeight, boolean reverse) { 260 int childWidth = child.getMeasuredWidth(); 261 int childHeight = child.getMeasuredHeight(); 265 child.layout(x - childWidth, childTop, x, childTop + childHeight); 267 child.layout(x, childTop, x + childWidth, childTop + childHeight);
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
LinearSnapHelper.java | 28 * The implementation will snap the center of the target child view to the center of 181 * Return the child view that is currently closest to the center of this parent. 187 * @return the child view that is currently closest to the center of this parent. 207 final View child = layoutManager.getChildAt(i); local 208 int childCenter = helper.getDecoratedStart(child) + 209 (helper.getDecoratedMeasurement(child) / 2); 212 /** if child center is closer than previous closest, set it as closest **/ 215 closestChild = child; 222 * Computes an average pixel value to pass a single child. 246 View child = layoutManager.getChildAt(i) local [all...] |
/libcore/ojluni/src/main/java/java/io/ |
UnixFileSystem.java | 93 // Invariant: Both |parent| and |child| are normalized paths. 94 public String resolve(String parent, String child) { 95 if (child.isEmpty() || child.equals("/")) { 99 if (child.charAt(0) == '/') { 100 if (parent.equals("/")) return child; 101 return parent + child; 104 if (parent.equals("/")) return parent + child; 105 return parent + '/' + child;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
CategoryTrack.java | 80 View child = getChildAt(i); local 81 child.invalidate();
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
PreferenceGroup.java | 36 public void addChild(CameraPreference child) { 37 list.add(child);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
DeletionHandler.java | 72 for (INode child : mChildren) { 73 String id = child.getStringAttr(ANDROID_URI, ATTR_ID); 75 mNodeMap.put(stripIdPrefix(id), child); local 131 for (INode child : mChildren) { 132 if (mDeleted.contains(child)) { 136 for (IAttribute attribute : child.getLiveAttributes()) { 145 child.setAttribute(ANDROID_URI, name, null); 151 transfer(deleted, child, type, 0);
|
/external/wpa_supplicant_8/src/utils/ |
xml-utils.c | 314 xml_node_t *child; local 316 xml_node_for_each_child(ctx, child, node) { 317 xml_node_for_each_check(ctx, child); 318 lname = xml_node_get_localname(ctx, child); 320 return child; 387 xml_node_t *child; local 409 child = get_first_child_node(ctx, node, "Node"); 410 if (child) { 412 tnds_to_mo_iter(ctx, root, child, nodename); 416 tnds_to_mo_iter(ctx, root, child, new_uri) 461 xml_node_t *body, *child; local [all...] |
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/ |
FadeAndShortSlide.java | 167 View child = parent.getChildAt(i); local 168 if (child instanceof ViewGroup && !((ViewGroup) child).isTransitionGroup()) { 169 getTransitionTargets((ViewGroup) child, transitionTargets); 171 transitionTargets.add(child); 344 private int getRelativeLeft(View child, View ancestor) { 345 ViewParent parent = child.getParent(); 346 int left = child.getLeft(); 357 private int getRelativeRight(View child, View ancestor) { 358 ViewParent parent = child.getParent() [all...] |
/external/pdfium/xfa/src/fwl/src/core/ |
fwl_widgetmgrimp.cpp | 463 IFWL_Widget* child = GetWidget(parent, FWL_WGTRELATION_LastChild);
local 464 while (child) {
465 if ((child->GetStates() & FWL_WGTSTATE_Invisible) == 0) {
469 child->GetMatrix(matrixOnParent);
475 child->GetWidgetRect(bounds);
479 return GetWidgetAtPoint(child, x1, y1);
482 child = GetWidget(child, FWL_WGTRELATION_PriorSibling);
501 IFWL_Widget* child =
local 503 while (child) {
606 IFWL_Widget* child = local 788 IFWL_Widget* child = pNextChild; local 1063 IFWL_Widget* child = local [all...] |
/external/antlr/antlr-3.4/runtime/C/include/ |
antlr3basetreeadaptor.h | 79 void (*addChild) (struct ANTLR3_BASE_TREE_ADAPTOR_struct * adaptor, void * t, void * child); 80 void (*addChildToken) (struct ANTLR3_BASE_TREE_ADAPTOR_struct * adaptor, void * t, pANTLR3_COMMON_TOKEN child); 81 void (*setParent) (struct ANTLR3_BASE_TREE_ADAPTOR_struct * adaptor, void * child, void * parent); 82 void * (*getParent) (struct ANTLR3_BASE_TREE_ADAPTOR_struct * adaptor, void * child); 110 void (*setChild) (struct ANTLR3_BASE_TREE_ADAPTOR_struct * adaptor, void * t, ANTLR3_UINT32 i, void * child); 135 /// Replace from start to stop child index of parent with t, which might
|
/external/apache-xml/src/main/java/org/apache/xalan/processor/ |
ProcessorExsltFunction.java | 174 boolean ancestorIsOk(ElemTemplateElement child) 176 while (child.getParentElem() != null && !(child.getParentElem() instanceof ElemExsltFunction)) 178 ElemTemplateElement parent = child.getParentElem(); 184 child = parent;
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
ElemCopyOf.java | 164 // generated, so we need to only walk the child nodes. 167 for (int child = dtm.getFirstChild(pos); child != DTM.NULL; 168 child = dtm.getNextSibling(child)) 170 tw.traverse(child); 211 * Add a child to the child list. 213 * @param newChild Child to add to this node's child lis [all...] |
/external/deqp/executor/tools/ |
xeExtractSampleLists.cpp | 82 const xe::ri::Item& child = items.getItem(itemNdx); local 84 if (child.getType() == xe::ri::TYPE_SECTION) 85 extractSampleLists(casePath, listNdx, static_cast<const xe::ri::Section&>(child).items); 86 else if (child.getType() == xe::ri::TYPE_SAMPLELIST) 88 writeSampleList(casePath, *listNdx, static_cast<const xe::ri::SampleList&>(child));
|
/external/jemalloc/src/ |
rtree.c | 71 rtree_node_elm_t *child = node[i].child; local 72 if (child != NULL) 73 rtree_delete_subtree(rtree, child, level + 1); 126 return (rtree_node_init(rtree, level, &elm->child));
|
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/node/ |
ADefCommand.java | 154 void removeChild(@SuppressWarnings("unused") Node child) 156 // Remove child 157 if(this._position_ == child) 163 if(this._macro_.remove(child)) 168 if(this._arguments_.remove(child)) 173 if(this._command_ == child) 179 throw new RuntimeException("Not a child."); 185 // Replace child 234 throw new RuntimeException("Not a child.");
|
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/ |
SoapEnvelope.java | 167 Element child = headers.getElement(i); local 168 if (child != null) { 175 Element child = headers.getElement(i); local 176 if (child != null) { 177 headerIn[count++] = child;
|
/external/libchrome/base/process/ |
kill_posix.cc | 39 // the child hasn't exited yet. 137 // Return true if the given child is dead. This will also reap the process. 139 static bool IsChildDead(pid_t child) { 140 const pid_t result = HANDLE_EINTR(waitpid(child, NULL, WNOHANG)); 142 DPLOG(ERROR) << "waitpid(" << child << ")"; 145 // The child has died. 152 // A thread class which waits for the given child to exit and reaps it. 153 // If the child doesn't exit within a couple of seconds, kill it. 156 BackgroundReaper(pid_t child, unsigned timeout) 157 : child_(child), [all...] |
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/ |
OcclusionCuller.java | 53 btDbvtNode child; local 54 if ((child = btDbvtNode.internalTemp(nodePointer, false).getChild(0)).getCPointer() != 0) AllLeaves(child); 55 if ((child = btDbvtNode.internalTemp(nodePointer, false).getChild(1)).getCPointer() != 0) AllLeaves(child); 64 * (i.e. an internal node), and the node is occluded, the child nodes it contains will not be processed or checked for
|
/external/owasp/sanitizer/src/tests/org/owasp/html/ |
HtmlPolicyBuilderFuzzerTest.java | 156 for (Node child = node.getFirstChild(); child != null; 157 child = child.getNextSibling()) { 158 checkSafe(child, html);
|
/external/v8/src/compiler/ |
loop-analysis.h | 130 void SetParent(Loop* parent, Loop* child) { 132 parent->children_.push_back(child); 133 child->parent_ = parent; 134 child->depth_ = parent->depth_ + 1; 136 outer_loops_.push_back(child);
|
/packages/apps/TV/src/com/android/tv/menu/ |
MenuRowView.java | 137 View child = parent.getChildAt(i); local 138 if (child.isFocusable()) { 139 child.setOnFocusChangeListener(mOnFocusChangeListener); 141 if (child instanceof ViewGroup) { 142 setOnFocusChangeListenerToChildren((ViewGroup) child); 207 * Called when the focus of a child view is changed.
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
Session.java | 94 public void removeChild(Session child) { 95 if(child != null) { 96 mChildSessions.remove(child); 196 for (Session child : mChildSessions) { 201 child.printSessionTree(tabI + 1, sb); 209 // Id instead of the child to reduce confusion.
|
/system/extras/simpleperf/ |
callchain.cpp | 64 std::unique_ptr<CallChainNode> child = local 66 child->children = std::move(parent->children); 68 parent->children_period = child->period + child->children_period; 71 parent->children.push_back(std::move(child));
|