/external/emma/core/java12/com/vladium/util/ |
IPathEnumerator.java | 170 final File child = dir != null ? new File (dir, childName) : new File (childName); local 175 handler.handleDirStart (currentPathDir, child); 176 if (trace1) m_log.trace1 ("enumeratePathDir", "recursing into [" + child.getName () + "] ..."); 177 enumeratePathDir (child.getPath ()); 178 handler.handleDirEnd (currentPathDir, child); 186 // handler.handleArchiveStart (currentPathDir, child); 187 // enumeratePathArchive (child.getPath ()); 188 // handler.handleArchiveEnd (currentPathDir, child); 192 if (trace1) m_log.trace1 ("enumeratePathDir", "processing file [" + child.getName () + "] ..."); 193 handler.handleFile (currentPathDir, child); [all...] |
/frameworks/base/core/java/android/widget/ |
TableRow.java | 31 * always be used as a child of a {@link android.widget.TableLayout}. If a 100 View child = getVirtualChildAt(columnIndex); local 101 if (child != null) { 102 child.setVisibility(collapsed ? GONE : VISIBLE); 161 final View child = getChildAt(i); local 162 final LayoutParams layoutParams = (LayoutParams) child.getLayoutParams(); 189 void measureChildBeforeLayout(View child, int childIndex, 193 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 221 child.measure(childWidthMeasureSpec, childHeightMeasureSpec); 224 final int childWidth = child.getMeasuredWidth() 295 final View child = getVirtualChildAt(i); local [all...] |
Gallery.java | 76 * How long the transition animation should run when a child view changes 87 * Left most edge of a child seen so far during layout. 92 * Right most edge of a child seen so far during layout. 139 * The currently selected item's child. 175 * If true, mFirstPosition is the position of the rightmost child, and 252 * Sets how long the transition animation should run when a child view 287 protected boolean getChildStaticTransformation(View child, Transformation t) { 290 t.setAlpha(child == mSelectedChild ? 1.0f : mUnselectedAlpha); 351 int getChildHeight(View child) { 352 return child.getMeasuredHeight() 472 final View child = getChildAt(n); local 488 final View child = getChildAt(n); local 566 View child = getChildAt(i); local 824 View child; local 1260 View child = getChildAt(childPosition); local 1283 View child = mSelectedChild = getChildAt(mSelectedPosition - mFirstPosition); local [all...] |
ActivityChooserView.java | 410 View child = mActivityChooserContent; local 418 measureChild(child, widthMeasureSpec, heightMeasureSpec); 419 setMeasuredDimension(child.getMeasuredWidth(), child.getMeasuredHeight());
|
Spinner.java | 35 * A view that displays one child at a time and lets the user pick among them. 245 View child = null; local 248 child = getChildAt(0); 250 child = makeAndAddView(0); 251 mRecycler.put(0, child); 255 if (child != null) { 256 final int childBaseline = child.getBaseline(); 257 return childBaseline >= 0 ? child.getTop() + childBaseline : -1; 377 View child; local 380 child = mRecycler.get(position) [all...] |
ListView.java | 201 View child; local 206 child = getChildAt(0); 207 delta = child.getTop() - mListPadding.top; 219 child = getChildAt(childCount - 1); 220 delta = child.getBottom() - (getHeight() - mListPadding.bottom); 512 final View child = infos.get(i).view; local 513 final LayoutParams p = (LayoutParams) child.getLayoutParams(); 545 public boolean requestChildRectangleOnScreen(View child, Rect rect, boolean immediate) { 550 rect.offset(child.getLeft(), child.getTop()) 672 View child = makeAndAddView(pos, nextTop, true, mListPadding.left, selected); local 705 View child = makeAndAddView(pos, nextBottom, false, mListPadding.left, selected); local 1127 final View child = obtainView(0, mIsScrap); local 1235 View child; local 1673 View child = getChildAt(mMotionPosition - mFirstPosition); local 1751 View child; local [all...] |
TableLayout.java | 56 * <code>layout_height</code> attribute can be defined by a child; default value 57 * is {@link android.widget.TableLayout.LayoutParams#WRAP_CONTENT}. If the child 63 * a child cell, it will autoincrement to the next available column. If you skip 67 * <p>Although the typical child of a TableLayout is a TableRow, you can 68 * actually use any View subclass as a direct child of TableLayout. The View 364 * upon child insertion.</p> 369 * @param child the newly added child 371 private void trackCollapsedColumns(View child) { 372 if (child instanceof TableRow) 489 final View child = getChildAt(i); local 585 View child = getChildAt(i); local [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
ActionMenuView.java | 138 final View child = getChildAt(i); local 139 if (child.getVisibility() == GONE) continue; 141 final boolean isGeneratedItem = child instanceof ActionMenuItemView; 147 child.setPadding(mGeneratedItemPadding, 0, mGeneratedItemPadding, 0); 150 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 157 lp.preventEdgeOffset = isGeneratedItem && ((ActionMenuItemView) child).hasText(); 162 final int cellsUsed = measureChildForCells(child, cellSize, cellsAvailable, 170 maxChildHeight = Math.max(maxChildHeight, child.getMeasuredHeight()); 184 long minCellsAt = 0; // Bit locations are indices of relevant child views 187 final View child = getChildAt(i) local 213 final View child = getChildAt(i); local 259 final View child = getChildAt(i); local 296 final View child = getChildAt(i); local 504 final View child = getChildAt(childIndex); local [all...] |
IconMenuView.java | 270 View child = getChildAt(itemPos++); local 271 LayoutParams lp = (LayoutParams) child.getLayoutParams(); 321 * just computes positions for each child, and then stores them in the child's layout params. 337 View child; local 359 // Tell the child to be exactly this size 360 child = getChildAt(itemPos); 361 child.measure(MeasureSpec.makeMeasureSpec((int) itemWidth, MeasureSpec.EXACTLY), 364 // Remember the child's position for layout 365 childLayoutParams = (IconMenuView.LayoutParams) child.getLayoutParams() 430 View child; local [all...] |
/libcore/luni/src/main/java/java/util/prefs/ |
AbstractPreferences.java | 107 /** cached child nodes */ 166 * Returns an array of all cached child nodes. 168 * @return the array of cached child nodes. 175 * Returns the child node with the specified name or {@code null} if it 182 * the name of the desired child node. 183 * @return the child node with the given name or {@code null} if it doesn't 232 * Returns the names of all of the child nodes of this node or an empty 244 * Returns the child preference node with the given name, creating it 256 * the name of the child preference to be returned. 257 * @return the child preference node 711 AbstractPreferences child = childSpi(childrenName); local [all...] |
/external/apache-harmony/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/ |
AbstractPreferencesTest.java | 172 p = (MockAbstractPreferences) pref.node("child"); 446 assertNotSame(pref.node("child"), pref.node("Child")); 447 assertNotSame(pref.node("child"), pref.node("Child")); 448 assertNotSame(pref.node("child"), pref.node(" child")); 454 || "child".equals(name) || "Child".equals(name) 455 || " child".equals(name)) 516 MockAbstractPreferences child = (MockAbstractPreferences) ((MockAbstractPreferences) pref) local 784 Preferences child = pref.node("child"); local 961 MockAbstractPreferences child = (MockAbstractPreferences) p local 1000 MockAbstractPreferences child = (MockAbstractPreferences) p local 1043 MockAbstractPreferences child = new MockAbstractPreferences(p, "child"); local 1083 Preferences child = pref.node("child<"); local 1138 Preferences child = pref.node("child"); local 1195 MockAbstractPreferences child = (MockAbstractPreferences) p local [all...] |
/cts/tests/src/android/widget/cts/util/ |
ListScenario.java | 567 * Have a child of the list view call {@link View#requestRectangleOnScreen(android.graphics.Rect)}. 570 * @param rect The rectangle, in the child's coordinates. 573 final View child = getListView().getChildAt(childIndex); local 575 child.post(new Runnable() { 577 child.requestRectangleOnScreen(rect);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
HorizontalScrollViewTest.java | 120 + "HorizontalScrollView#addView(View) when there is already one child in the view.") 131 fail("did not throw IllegalStateException when add more than one child"); 146 + "is already one child in the view.") 157 fail("did not throw IllegalStateException when add more than one child"); 172 fail("did not throw IllegalStateException when add more than one child"); 196 + " one child in the view or the layoutparams is null") 209 fail("did not throw IllegalStateException when add more than one child"); 234 + " one child in the view or the layoutparams is null") 247 fail("did not throw IllegalStateException when add more than one child"); 274 fail("did not throw IllegalStateException when add more than one child"); 386 MyView child = new MyView(mActivity); local 412 MyView child = new MyView(mActivity); local [all...] |
GridViewTest.java | 254 View child; local 276 child = mGridView.getChildAt(0); // get the first view. 277 ViewAsserts.assertHorizontalCenterAligned(mGridView, child); 288 child = mGridView.getChildAt(0); // get the first view. 289 ViewAsserts.assertLeftAligned(mGridView, child, mGridView.getListPaddingLeft()); 300 child = mGridView.getChildAt(0); // get the first view. 301 ViewAsserts.assertRightAligned(mGridView, child, mGridView.getListPaddingRight()); 390 View child; local 425 child = mGridView.getChildAt(NUM_COLUMNS - 1); // get the rightmost view at the first line. 426 childRight[STRETCH_SPACING][INDEX_RIGHTMOST] = child.getRight() [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/data/ |
NestedMapData.java | 40 * the HashMap on the 5th child. 52 // First child (first sibling of children) 54 // Last child (last sibling of children) 88 * Creates a child of this node. 90 * @param chunk name to give the new child node. 97 // If the parent node's child count is 5 or more and it does not have a 108 // If the parent node has a children map, add the new child node to it. 115 // Update previous lastChild to point to new child. 188 * can have a value, a child, and a next peer. 280 * Returns number of child nodes [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
ListScenario.java | 569 * Have a child of the list view call {@link View#requestRectangleOnScreen(android.graphics.Rect)}. 572 * @param rect The rectangle, in the child's coordinates. 575 final View child = getListView().getChildAt(childIndex); local 577 child.post(new Runnable() { 579 child.requestRectangleOnScreen(rect);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
NotificationRowLayout.java | 81 public void onChildViewAdded(View parent, View child) { 82 Slog.d(TAG, "view added: " + child + "; new count: " + getChildCount()); 85 public void onChildViewRemoved(View parent, View child) { 86 Slog.d(TAG, "view removed: " + child + "; new count: " + (getChildCount() - 1)); 169 public void addView(View child, int index, LayoutParams params) { 170 super.addView(child, index, params); 172 final View childF = child; 175 final ObjectAnimator alphaFade = ObjectAnimator.ofFloat(child, "alpha", 0f, 1f); 187 mAppearingViews.put(child, alphaFade); 203 public void dismissRowAnimated(View child) { 287 final View child = getChildAt(i); local 322 final View child = getChildAt(i); local 345 final View child = getChildAt(i); local [all...] |
/packages/apps/Calendar/src/com/android/calendar/month/ |
SimpleDayPickerFragment.java | 234 SimpleWeekView child = (SimpleWeekView) mListView.getChildAt(0); local 235 if (child == null) { 238 int julianDay = child.getFirstJulianDay(); 408 View child; local 411 // Find a child that's completely in the view 413 child = mListView.getChildAt(i++); 414 if (child == null) { 417 top = child.getTop(); 419 Log.d(TAG, "child at " + (i-1) + " has top " + top); 425 if (child != null) 476 SimpleWeekView child = (SimpleWeekView)view.getChildAt(0); local 507 SimpleWeekView child = (SimpleWeekView) view.getChildAt(0); local [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
FocusHelper.java | 154 // child siblings willy-nilly 155 View child = null; local 167 child = newParent.getChildAt(newParent.getChildCount() - 1); 168 if (child != null) child.requestFocus(); 184 child = newParent.getChildAt(0); 185 if (child != null) child.requestFocus(); 197 child = parent.getChildAt(newWidgetIndex); 198 if (child != null) child.requestFocus() 314 View child = null; local [all...] |
/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/device/ |
ViewNode.java | 261 ViewNode child = children.get(i); local 262 totalMeasure += child.measureTime; 263 totalLayout += child.layoutTime; 264 totalDraw += child.drawTime; 267 ViewNode child = children.get(i); local 268 if (child.measureTime / totalMeasure >= RED_THRESHOLD) { 269 child.measureRating = ProfileRating.RED; 270 } else if (child.measureTime / totalMeasure >= YELLOW_THRESHOLD) { 271 child.measureRating = ProfileRating.YELLOW; 273 child.measureRating = ProfileRating.GREEN 300 ViewNode child = children.get(i); local [all...] |
/bionic/libc/kernel/common/linux/ |
ioport.h | 23 struct resource *parent, *sibling, *child; member in struct:resource
|
/development/ndk/platforms/android-3/include/linux/ |
ioport.h | 23 struct resource *parent, *sibling, *child; member in struct:resource
|
/external/antlr/src/org/antlr/runtime/tree/ |
BaseTreeAdaptor.java | 86 // ensure new subtree root has parent/child index set 91 Object child = getChild(t, i); local 92 Object newSubTree = dupTree(child, t); 98 /** Add a child to the tree t. If child is a flat tree (a list), make all 99 * in list children of t. Warning: if t has no children, but child does 100 * and child isNil then you can decide it is ok to move children to t via 101 * t.children = child.children; i.e., without copying the array. Just 105 public void addChild(Object t, Object child) { 106 if ( t!=null && child!=null ) [all...] |
TreeWizard.java | 194 Object child = adaptor.getChild(t, i); local 195 _index(child, m); 263 Object child = adaptor.getChild(t, i); local 264 _visit(child, t, i, ttype, visitor);
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/ |
TestUtils.java | 245 PolicyNode child = new PolicyNode() { local 247 // child 276 s.add(child);
|