HomeSort by relevance Sort by last modified time
    Searched refs:child (Results 526 - 550 of 3822) sorted by null

<<21222324252627282930>>

  /cts/tools/testng/
gen-test-list-xml.py 60 def append_child(self, child):
61 self._children.append(child)
109 for child in self.children:
110 child.write_xml(out, indent + INDENTATION_INCREASE)
128 for child in self.children:
129 if child.name == current_package:
130 return child.get_or_create_suite(rest_of_packages)
156 for child in self.children:
157 if child.name == just_class_name:
158 return child
    [all...]
  /external/libgdx/gdx/src/com/badlogic/gdx/utils/
UBJsonReader.java 130 result.child = val;
159 final JsonValue child = parse(din, valueType == 0 ? din.readByte() : valueType); local
160 child.setName(key);
161 child.parent = result;
163 child.prev = prev;
164 prev.next = child;
167 result.child = child;
170 prev = child;
191 result.child = val
    [all...]
  /external/parameter-framework/upstream/tools/coverage/
coverage.py 56 def __init__(self, parent, child):
58 self.child = child
62 return 'Unable to find the child "%s" in "%s"' % (self.child, self.parent)
66 return 'Add existing child "%s" in "%s".' % (self.child, self.parent)
100 for child in self.children:
101 yield child
102 for descendant in child._getDescendants()
    [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/core/java/com/android/internal/widget/
NotificationActionListLayout.java 103 // Optimization: Don't do this if there's only one child.
121 // Make sure that this child doesn't consume more than its share of the remaining
138 // Make sure to measure the last child full-width if we didn't use up the entire width,
139 // or we didn't measure yet because there's just one child.
185 public void onViewAdded(View child) {
186 super.onViewAdded(child);
191 public void onViewRemoved(View child) {
192 super.onViewRemoved(child);
208 // Where bottom of child should go
211 // Space available for child
239 final View child = getChildAt(childIndex); local
    [all...]
ViewPager.java 319 * Used internally to tag special types of child views that should be added as
436 final View child = getChildAt(i); local
437 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
877 final View child = getChildAt(i);
878 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
    [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...]
  /frameworks/support/design/src/android/support/design/widget/
HeaderBehavior.java 55 public boolean onInterceptTouchEvent(CoordinatorLayout parent, V child, MotionEvent ev) {
72 if (canDragView(child) && parent.isPointInChildBounds(child, x, y)) {
120 public boolean onTouchEvent(CoordinatorLayout parent, V child, MotionEvent ev) {
130 if (parent.isPointInChildBounds(child, x, y) && canDragView(child)) {
161 scroll(parent, child, dy, getMaxDragOffset(child), 0);
172 fling(parent, child, -getScrollRangeForDragFling(child), 0, yvel)
    [all...]
  /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
GridLayoutManagerBaseConfigSetTest.java 74 View child = mRecyclerView.getChildAt(i);
75 final int pos = mRecyclerView.getChildLayoutPosition(child);
81 child.getLayoutParams();
84 mGlm.mOrientationHelper.getDecoratedEnd(child);
87 mGlm.mOrientationHelper.getDecoratedStart(child);
121 assertTrue("child position should be in last page", expectedPositions.get(position));
138 View child = mRecyclerView.getChildAt(i);
139 int pos = mRecyclerView.getChildLayoutPosition(child);
144 child.getLayoutParams();
149 mGlm.mOrientationHelper.getDecoratedEnd(child);
    [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...]
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
MiniDrawerView.java 132 View child; local
134 while ((child=getChildAt(1)) != mSpacer) {
135 removeView(child);
182 final View child = getChildAt(i); local
183 child.setVisibility(View.VISIBLE);
198 final View child = getChildAt(i); local
199 if (child.equals(mSpacer) || child.getVisibility() == View.GONE) {
202 final LayoutParams params = (LayoutParams) child.getLayoutParams();
203 childHeight += params.topMargin + params.bottomMargin + child.getMeasuredHeight()
    [all...]
  /packages/services/Car/vehicle_network_service/
VehiclePropertyAccessControl.cpp 132 xmlNode* child = NULL; local
175 for (child = cur_node->children; child; child = child->next) {
176 if ((xmlStrcmp(child->name, (const xmlChar*)"UID")==0) &&
177 (child->type == XML_ELEMENT_NODE)) {
184 uid = xmlGetProp(child, (const xmlChar*)"name");
186 uid_value_str = xmlGetProp(child,
189 access = xmlGetProp(child, (const xmlChar *)"access")
    [all...]
  /system/core/include/utils/
LruCache.h 63 Entry* child; member in struct:android::LruCache::Entry
65 Entry(TKey key_, TValue value_) : key(key_), value(value_), parent(NULL), child(NULL) {
232 for (Entry* p = mOldest; p != NULL; p = p->child) {
250 mYoungest->child = &entry;
258 entry.parent->child = entry.child;
260 mOldest = entry.child;
262 if (entry.child != NULL) {
263 entry.child->parent = entry.parent;
269 entry.child = NULL
    [all...]
  /frameworks/base/core/java/android/widget/
ScrollView.java 54 * is a {@link FrameLayout}, meaning you should place one child in it
55 * containing the entire contents to scroll; this child may itself be a layout
56 * manager with a complex hierarchy of objects. A child that is often used
100 * The child to give focus to in the event that a child has requested focus while the
101 * layout is dirty. This prevents the scroll from being wrong if the child has not been
119 * When set to true, the scroll view measure its child to make it fill the currently
249 public void addView(View child) {
251 throw new IllegalStateException("ScrollView can host only one direct child");
254 super.addView(child);
288 View child = getChildAt(0); local
352 final View child = getChildAt(0); local
435 final View child = getChildAt(0); local
901 View child = getChildAt(0); local
1655 View child = getChildAt(0); local
    [all...]
FrameLayout.java 41 * a single item. Generally, FrameLayout should be used to hold a single child view, because it can
42 * be difficult to organize child views in a way that's scalable to different screen sizes without
44 * and control their position within the FrameLayout by assigning gravity to each child, using the
47 * <p>Child views are drawn in a stack, with the most recently added child on top.
48 * The size of the FrameLayout is the size of its largest child (plus padding), visible
183 final View child = getChildAt(i); local
184 if (mMeasureAllChildren || child.getVisibility() != GONE) {
185 measureChildWithMargins(child, widthMeasureSpec, 0, heightMeasureSpec, 0);
186 final LayoutParams lp = (LayoutParams) child.getLayoutParams()
223 final View child = mMatchParentChildren.get(i); local
274 final View child = getChildAt(i); local
    [all...]
  /frameworks/support/core-ui/java/android/support/v4/widget/
NestedScrollView.java 63 * as both a nested scrolling parent and child on both new and old versions of Android.
116 * The child to give focus to in the event that a child has requested focus while the
117 * layout is dirty. This prevents the scroll from being wrong if the child has not been
135 * When set to true, the scroll view measure its child to make it fill the currently
263 public boolean onStartNestedScroll(View child, View target, int nestedScrollAxes) {
268 public void onNestedScrollAccepted(View child, View target, int nestedScrollAxes) {
269 mParentHelper.onNestedScrollAccepted(child, target, nestedScrollAxes);
370 public void addView(View child) {
372 throw new IllegalStateException("ScrollView can host only one direct child");
422 View child = getChildAt(0); local
494 final View child = getChildAt(0); local
570 final View child = getChildAt(0); local
1007 View child = getChildAt(0); local
1744 View child = getChildAt(0); local
    [all...]
  /external/mesa3d/src/glsl/
ralloc.c 61 /* The first child (head of a linked list) */
62 struct ralloc_header *child; member in struct:ralloc_header
92 info->next = parent->child;
93 parent->child = info;
134 ralloc_header *child, *old, *info; local
144 if (info->parent->child == old)
145 info->parent->child = info;
154 /* Update child->parent links for all children */
155 for (child = info->child; child != NULL; child = child->next
    [all...]
  /external/valgrind/coregrind/
m_sparsewa.c 66 void* child[256]; /* either LevelN* or Level0* */ member in struct:__anon25145
219 if (levelN->child[curr_ix]) {
222 curr_nd = levelN->child[curr_ix];
259 if (levelN->child[i]) {
260 swa_deleteSWA_wrk( dealloc, levelN->child[i] );
295 levelN = levelN->child[ix];
331 if (levelN->child[ix] == NULL) {
332 levelN->child[ix] = swa_new_LevelN(swa, i-1);
336 levelN = levelN->child[ix];
343 if (levelN->child[ix] == NULL)
    [all...]
  /frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
DocumentsProviderHelper.java 170 for (DocumentInfo child : children) {
171 if (name.equals(child.displayName) && !child.isDirectory()) {
189 for (DocumentInfo child : children) {
190 if (name.equals(child.displayName) && child.isDirectory()) {
208 for (DocumentInfo child : children) {
209 if (name.equals(child.displayName)) {
227 for (DocumentInfo child : children) {
228 if (name.equals(child.displayName))
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
DragLayer.java 127 for (AppWidgetResizeFrame child: mResizeFrames) {
128 child.getHitRect(hitRect);
130 if (child.beginResizeIfPointInRegion(x - child.getLeft(), y - child.getTop())) {
131 mCurrentResizeFrame = child;
226 public boolean onRequestSendAccessibilityEvent(View child, AccessibilityEvent event) {
229 if (child == currentFolder) {
230 return super.onRequestSendAccessibilityEvent(child, event);
236 return super.onRequestSendAccessibilityEvent(child, event)
411 View child = getChildAt(i); local
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
ScrollAdapterView.java 123 * on each child view.
163 /** saved measuredSpec to pass to child views */
200 void recycleView(View child, int type) {
202 mAdapter.viewRemoved(child);
206 mViews[type].add(child);
292 /** saves all expandable child states */
295 /** saves all expanded child states */
559 View child = getChildAt(i);
560 removeViewInLayout(child);
561 recycleExpandableView(child);
    [all...]
  /external/apache-xml/src/main/java/org/apache/xalan/templates/
ElemExtensionDecl.java 210 for (ElemTemplateElement child = getFirstChildElem(); child != null;
211 child = child.getNextSiblingElem())
213 if (Constants.ELEMNAME_EXTENSIONSCRIPT == child.getXSLToken())
215 ElemExtensionScript sdecl = (ElemExtensionScript) child;
291 for (ElemTemplateElement child = getFirstChildElem(); child != null;
292 child = child.getNextSiblingElem()
    [all...]
  /external/autotest/client/site_tests/security_RootCA/
security_RootCA.py 63 child = pexpect.spawn('"%s" -N -d %s' % (NSSCERTUTIL, tmpdir))
64 child.expect('Enter new password:')
65 child.sendline('foo')
66 child.expect('Re-enter password:')
67 child.sendline('foo')
68 child.close()
  /external/jsilver/src/com/google/clearsilver/jsilver/syntax/node/
ALoopCommand.java 194 void removeChild(@SuppressWarnings("unused") Node child)
196 // Remove child
197 if(this._position_ == child)
203 if(this._variable_ == child)
209 if(this._start_ == child)
215 if(this._end_ == child)
221 if(this._command_ == child)
227 throw new RuntimeException("Not a child.");
233 // Replace child
264 throw new RuntimeException("Not a child.")
    [all...]

Completed in 5215 milliseconds

<<21222324252627282930>>