HomeSort by relevance Sort by last modified time
    Searched refs:child (Results 601 - 625 of 2913) sorted by null

<<21222324252627282930>>

  /external/blktrace/
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...]
  /frameworks/support/v7/recyclerview/src/android/support/v7/widget/
LinearLayoutManager.java 475 // if the child is visible and we are going to move it around, we should layout
659 * Finds an anchor child from existing Views. Most of the time, this is the view closest to
662 * If a child has focus, it is given priority.
671 Log.d(TAG, "decided anchor child from focused view");
684 // If all visible views are removed in 1 pass, reference child might be out of bounds.
687 // validate this child is at least partially visible. if not, offset it to start
722 // if child is visible, try to make it a reference child and ensure it is fully visible.
723 // if child is not visible, align it depending on its virtual position.
726 // Anchor offset depends on how that child was laid out. Here, we update i
1056 final View child = getChildClosestToEnd(); local
1067 final View child = getChildClosestToStart(); local
1161 View child = getChildAt(i); local
1169 View child = getChildAt(i); local
1199 View child = getChildAt(i); local
1207 View child = getChildAt(i); local
1516 final View child = findOneVisibleChild(0, getChildCount(), false); local
1532 final View child = findOneVisibleChild(0, getChildCount(), true); local
1554 final View child = findOneVisibleChild(getChildCount() - 1, -1, false); local
1570 final View child = findOneVisibleChild(getChildCount() - 1, -1, true); local
1579 final View child = getChildAt(i); local
1645 View child = getChildAt(i); local
1671 View child = getChildAt(i); local
1686 View child = getChildAt(i); local
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/map/
BluetoothMapEmailSettingsAdapter.java 122 final BluetoothMapEmailSettingsItem child = getChild(groupPosition, childPosition); local
128 boolean oldIsChecked = child.mIsChecked; // needed to prevent updates on UI redraw
129 child.mIsChecked = isChecked;
132 int childIndex = childList.indexOf(child);
141 BluetoothMapEmailSettingsDataHolder.mCheckedChilds.put(child.getName(),
151 child.mIsChecked = false;
155 if(!(BluetoothMapEmailSettingsDataHolder.mCheckedChilds.containsKey(child.getName())==true)){
156 BluetoothMapEmailSettingsDataHolder.mCheckedChilds.put(child.getName(),
167 BluetoothMapEmailSettingsDataHolder.mCheckedChilds.remove(child.getName());
170 BluetoothMapEmailSettingsDataHolder.mCheckedChilds.remove(child.getName())
    [all...]
  /external/smali/util/src/main/java/ds/tree/
RadixTreeImpl.java 110 // if parent is not real node and has only one child
117 // we need to merge the only child of this node with
127 * Merge a child into its parent node. Operation only valid if it is
128 * only child of the parent node and parent node is not a real node.
132 * @param child
133 * The child Node
136 RadixTreeNode<T> child) {
137 parent.setKey(parent.getKey() + child.getKey());
138 parent.setReal(child.isReal());
139 parent.setValue(child.getValue())
    [all...]
  /external/chromium_org/cc/trees/
damage_tracker_unittest.cc 81 scoped_ptr<LayerImpl> child = local
91 child->SetPosition(gfx::PointF(100.f, 100.f));
92 child->SetBounds(gfx::Size(30, 30));
93 child->SetContentBounds(gfx::Size(30, 30));
94 child->SetDrawsContent(true);
95 root->AddChild(child.Pass());
102 // child1. Additionally, the root has a second child layer, and child1 has
126 // With a child that draws_content, opacity will cause the layer to create
226 LayerImpl* child = root->children()[0]; local
231 child->SetUpdateRect(gfx::RectF(10.f, 11.f, 12.f, 13.f))
266 LayerImpl* child = root->children()[0]; local
318 LayerImpl* child = root->children()[0]; local
360 LayerImpl* child = root->children()[0]; local
409 LayerImpl* child = root->children()[0]; local
459 LayerImpl* child = root->children()[0]; local
498 LayerImpl* child = surface->children()[0]; local
531 LayerImpl* child = root->children()[0]; local
1127 LayerImpl* child = root->children()[0]; local
1346 LayerImpl* child = root->children()[0]; local
1402 LayerImpl* child = root->children()[0]; local
1446 LayerImpl* child = root->children()[0]; local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
InlineFlowBox.cpp 57 for (InlineBox* child = firstChild(); child; child = child->nextOnLine())
58 child->setHasBadParent();
93 void InlineFlowBox::addToLine(InlineBox* child)
95 ASSERT(!child->parent());
96 ASSERT(!child->nextOnLine());
97 ASSERT(!child->prevOnLine());
100 child->setParent(this)
205 InlineBox* child = firstChild(); local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGUseElement.cpp 491 for (Node* child = target->firstChild(); child; child = child->nextSibling()) {
493 if (isDisallowedElement(child))
496 RefPtrWillBeRawPtr<Node> newChild = child->cloneNode(false);
500 if (!buildShadowTree(toSVGElement(child), toSVGElement(newChild), foundUse))
576 for (Node* child = use->firstChild(); child; ) {
577 Node* nextChild = child->nextSibling()
    [all...]
  /frameworks/support/v4/java/android/support/v4/view/
ViewPager.java 343 * Used internally to tag special types of child views that should be added as
460 final View child = getChildAt(i); local
461 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
    [all...]
  /frameworks/base/core/java/android/widget/
ListView.java 211 View child; local
216 child = getChildAt(0);
217 delta = child.getTop() - mListPadding.top;
229 child = getChildAt(childCount - 1);
230 delta = child.getBottom() - (getHeight() - mListPadding.bottom);
538 final View child = infos.get(i).view; local
539 final LayoutParams p = (LayoutParams) child.getLayoutParams();
571 public boolean requestChildRectangleOnScreen(View child, Rect rect, boolean immediate) {
576 rect.offset(child.getLeft(), child.getTop())
698 View child = makeAndAddView(pos, nextTop, true, mListPadding.left, selected); local
732 View child = makeAndAddView(pos, nextBottom, false, mListPadding.left, selected); local
1154 final View child = obtainView(0, mIsScrap); local
1261 View child; local
1725 final View child = getChildAt(mMotionPosition - mFirstPosition); local
1733 final View child = getChildAt(mSelectorPosition - mFirstPosition); local
1848 View child; local
    [all...]
  /frameworks/ex/widget/java/com/android/ex/widget/
StaggeredGridView.java 68 * - Any child index can be translated to an adapter position by adding mFirstPosition.
69 * - Any adapter position can be translated to a child index by subtracting mFirstPosition.
270 * a child view of this grid.
464 * are required to maintain the invariant that child view with index i
472 final View child = getChildAt(i); local
473 if (child.getTop() <= clearBelow) {
485 mRecycler.addScrap(child);
489 final View child = getChildAt(0); local
490 if (child.getBottom() >= clearAbove) {
502 mRecycler.addScrap(child);
513 final View child = getChildAt(i); local
700 final View child = getChildAt(j); local
714 final View child = getChildAt(j); local
728 final View child = getChildAt(i); local
758 View child = getChildAt(i); local
842 final View child = getChildAt(i); local
893 final View child = obtainView(position, null); local
1007 final View child = obtainView(position, null); local
    [all...]
  /packages/apps/Browser/src/com/android/browser/view/
ScrollerView.java 50 * is a {@link FrameLayout}, meaning you should place one child in it
51 * containing the entire contents to scroll; this child may itself be a layout
52 * manager with a complex hierarchy of objects. A child that is often used
87 * The child to give focus to in the event that a child has requested focus while the
88 * layout is dirty. This prevents the scroll from being wrong if the child has not been
106 * When set to true, the scroll view measure its child to make it fill the currently
253 public void addView(View child) {
255 throw new IllegalStateException("ScrollView can host only one direct child");
258 super.addView(child);
292 View child = getChildAt(0); local
359 final View child = getChildAt(0); local
455 final View child = getChildAt(0); local
909 View child = getChildAt(0); local
1830 View child = getChildAt(0); local
    [all...]
  /development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/
PlayerSetupActivity.java 133 Button child = (Button) parent.getChildAt(i); local
134 if (child != clickedView) {
135 child.animate().alpha(0);
138 child.setVisibility(View.INVISIBLE);
139 buttonCopy.setBackground(child.getBackground());
140 buttonCopy.setText(((Button) child).getText());
148 buttonCopy.setPadding(child.getPaddingLeft(), child.getPaddingTop(),
149 child.getPaddingRight(), child.getPaddingBottom())
297 View child = parent.getChildAt(i); local
    [all...]
  /external/chromium_org/third_party/skia/src/xml/
SkDOM.cpp 84 const Node* child = node->fFirstChild; local
88 for (; child != NULL; child = child->fNextSibling)
89 if (!strcmp(name, child->fName))
92 return child;
270 SkDOM::Node* child = parent->fFirstChild; local
272 while (child)
274 SkDOM::Node* next = child->fNextSibling;
275 child->fNextSibling = prev
450 const Node* child = this->getFirstChild(node); local
    [all...]
  /external/skia/src/xml/
SkDOM.cpp 84 const Node* child = node->fFirstChild; local
88 for (; child != NULL; child = child->fNextSibling)
89 if (!strcmp(name, child->fName))
92 return child;
270 SkDOM::Node* child = parent->fFirstChild; local
272 while (child)
274 SkDOM::Node* next = child->fNextSibling;
275 child->fNextSibling = prev
450 const Node* child = this->getFirstChild(node); local
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/
RawContactDelta.java 152 * Get the {@link ValuesDelta} child marked as {@link Data#IS_PRIMARY},
243 * Return the list of child {@link ValuesDelta} from our optimized map,
264 for (ValuesDelta child : mimeEntries) {
266 if (onlyVisible && !child.isVisible()) continue;
334 for (ValuesDelta child : mimeEntries) {
336 if (!other.containsEntry(child)) return false;
348 for (ValuesDelta child : mimeEntries) {
349 // Contained if we find any child that matches
350 if (child.equals(entry)) return true;
362 for (ValuesDelta child : mimeEntries)
531 final ValuesDelta child = source.<ValuesDelta> readParcelable(loader); local
    [all...]
  /cts/suite/cts/utils/
get_csv_report.py 26 for child in parent.childNodes:
27 if (child.nodeType == Node.ELEMENT_NODE) and (child.tagName == tagName):
29 # " " + child.getAttribute("name")
30 children.append(child)
60 for child in childSuites:
61 cases.update(parseSuite(child, parentName + child.getAttribute("name")))
63 for child in childTestCases:
64 className = parentName + child.getAttribute("name"
    [all...]
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/
DOMDataStore.h 117 static void setWrapperReference(const v8::Persistent<v8::Object>& parent, T* child, v8::Isolate* isolate)
119 if (canUseScriptWrappable(child)) {
120 ScriptWrappable::assertWrapperSanity<V8T, T>(child, child);
121 ScriptWrappable::fromObject(child)->setReference(parent, isolate);
124 current(isolate).template setReference<V8T>(parent, child, isolate);
152 inline void setReference(const v8::Persistent<v8::Object>& parent, T* child, v8::Isolate* isolate)
154 if (ScriptWrappable::wrapperCanBeStoredInObject(child) && m_isMainWorld) {
155 ScriptWrappable::fromObject(child)->setReference(parent, isolate);
158 m_wrapperMap.setReference(parent, V8T::toInternalPointer(child), isolate)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLFrameOwnerElement.cpp 61 Widget* child = it->key.get(); local
62 ScrollView* currentParent = toScrollView(child->parent());
66 currentParent->removeChild(child);
68 newParent->addChild(child);
81 static void moveWidgetToParentSoon(Widget* child, FrameView* parent)
85 parent->addChild(child);
86 else if (toScrollView(child->parent()))
87 toScrollView(child->parent())->removeChild(child);
90 widgetNewParentMap().set(child, parent)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/timeline/
TimelineJSProfile.js 78 var child = originalChildren[childIndex];
79 var midTime = (child.startTime() + child.endTime()) / 2;
82 child.parent = record;
83 record.children().push(child);
  /external/chromium_org/third_party/skia/src/core/
SkTSort.h 34 * This version does extra work, in that it copies child to parent on the way down,
35 * then copies parent to child on the way back up. When copies are inexpensive,
79 size_t child = root << 1; local
80 while (child <= bottom) {
81 if (child < bottom && lessThan(array[child-1], array[child])) {
82 ++child;
84 if (lessThan(x, array[child-1])) {
85 array[root-1] = array[child-1]
    [all...]
  /external/skia/src/core/
SkTSort.h 34 * This version does extra work, in that it copies child to parent on the way down,
35 * then copies parent to child on the way back up. When copies are inexpensive,
79 size_t child = root << 1; local
80 while (child <= bottom) {
81 if (child < bottom && lessThan(array[child-1], array[child])) {
82 ++child;
84 if (lessThan(x, array[child-1])) {
85 array[root-1] = array[child-1]
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
PseudoGridView.java 84 View child = getChildAt(i); local
85 child.measure(childWidthSpec, childHeightSpec);
86 maxHeight = Math.max(maxHeight, child.getMeasuredHeight());
90 View child = getChildAt(i); local
91 if (child.getMeasuredHeight() != maxHeight) {
92 child.measure(childWidthSpec, maxHeightSpec);
116 View child = getChildAt(i); local
117 int width = child.getMeasuredWidth();
118 int height = child.getMeasuredHeight();
122 child.layout(x, y, x + width, y + height)
    [all...]
  /packages/apps/Dialer/src/com/android/dialer/list/
PhoneFavoriteListView.java 69 // child's left coordinate. This is used to aid in the drawing of the drag shadow.
208 View child; local
210 child = getChildAt(childIdx);
211 if (y >= child.getTop() && y <= child.getBottom() && x >= child.getLeft()
212 && x <= child.getRight()) {
213 return child;
318 final View child = getViewAtPosition(viewX, viewY); local
320 if (!(child instanceof PhoneFavoriteSquareTileView))
    [all...]
  /packages/apps/Settings/src/com/android/settings/widget/
ChartView.java 110 final View child = getChildAt(i); local
111 final LayoutParams params = (LayoutParams) child.getLayoutParams();
115 if (child instanceof ChartNetworkSeriesView) {
119 child.layout(childRect.left, childRect.top, childRect.right, childRect.bottom);
121 } else if (child instanceof ChartGridView) {
124 child.layout(childRect.left, childRect.top, childRect.right,
125 childRect.bottom + child.getPaddingBottom());
127 } else if (child instanceof ChartSweepView) {
128 layoutSweep((ChartSweepView) child, parentRect, childRect);
129 child.layout(childRect.left, childRect.top, childRect.right, childRect.bottom)
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
HorizontalScrollViewTest.java 96 fail("did not throw IllegalStateException when add more than one child");
113 fail("did not throw IllegalStateException when add more than one child");
128 fail("did not throw IllegalStateException when add more than one child");
156 fail("did not throw IllegalStateException when add more than one child");
185 fail("did not throw IllegalStateException when add more than one child");
212 fail("did not throw IllegalStateException when add more than one child");
295 MyView child = new MyView(mActivity); local
296 child.setBackgroundDrawable(null);
297 child.setPadding(0, 0, 0, 0);
298 child.setMinimumWidth(30)
316 MyView child = new MyView(mActivity); local
    [all...]

Completed in 892 milliseconds

<<21222324252627282930>>