/frameworks/base/core/java/android/widget/ |
H A D | ListView.java | 204 View child; 209 child = getChildAt(0); 210 delta = child.getTop() - mListPadding.top; 222 child = getChildAt(childCount - 1); 223 delta = child.getBottom() - (getHeight() - mListPadding.bottom); 515 final View child = infos.get(i).view; 516 final LayoutParams p = (LayoutParams) child.getLayoutParams(); 548 public boolean requestChildRectangleOnScreen(View child, Rect rect, boolean immediate) { argument 553 rect.offset(child.getLeft(), child 1166 measureScrapChild(View child, int position, int widthMeasureSpec) argument 1790 isDirectChildHeaderOrFooter(View child) argument 1862 setupChild(View child, int position, int y, boolean flowDown, int childrenLeft, boolean selected, boolean recycled) argument 2603 measureAndAdjustDown(View child, int childIndex, int numChildren) argument 2623 measureItem(View child) argument 2648 relayoutMeasuredItem(View child) argument 2928 isViewAncestorOf(View child, View parent) argument 3330 drawChild(Canvas canvas, View child, long drawingTime) argument [all...] |
H A D | Spinner.java | 43 * A view that displays one child at a time and lets the user pick among them. 393 View child = null; 396 child = getChildAt(0); 398 child = makeAndAddView(0); 399 mRecycler.put(0, child); 403 if (child != null) { 404 final int childBaseline = child.getBaseline(); 405 return childBaseline >= 0 ? child.getTop() + childBaseline : -1; 538 View child; 541 child 565 setUpChild(View child) argument [all...] |
H A D | FrameLayout.java | 39 * a single item. Generally, FrameLayout should be used to hold a single child view, because it can 40 * be difficult to organize child views in a way that's scalable to different screen sizes without 42 * and control their position within the FrameLayout by assigning gravity to each child, using the 45 * <p>Child views are drawn in a stack, with the most recently added child on top. 46 * The size of the FrameLayout is the size of its largest child (plus padding), visible 215 * Supply a Drawable that is to be rendered on top of all of the child 308 final View child = getChildAt(i); 309 if (mMeasureAllChildren || child.getVisibility() != GONE) { 310 measureChildWithMargins(child, widthMeasureSpec, 0, heightMeasureSpec, 0); 311 final LayoutParams lp = (LayoutParams) child [all...] |
H A D | RelativeLayout.java | 54 * {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT WRAP_CONTENT} and a child set to 59 * a measurement bug that could cause child views to be measured with incorrect 93 * Rule that aligns a child's right edge with another child's left edge. 97 * Rule that aligns a child's left edge with another child's right edge. 101 * Rule that aligns a child's bottom edge with another child's top edge. 105 * Rule that aligns a child's top edge with another child' 648 alignBaseline(View child, LayoutParams params) argument 687 measureChild(View child, LayoutParams params, int myWidth, int myHeight) argument 701 measureChildHorizontal(View child, LayoutParams params, int myWidth, int myHeight) argument 820 positionChildHorizontal(View child, LayoutParams params, int myWidth, boolean wrapContent) argument 857 positionChildVertical(View child, LayoutParams params, int myHeight, boolean wrapContent) argument 1049 centerHorizontal(View child, LayoutParams params, int myWidth) argument 1057 centerVertical(View child, LayoutParams params, int myHeight) argument [all...] |
H A D | GridView.java | 334 View child = null; 341 child = makeAndAddView(pos, y, flow, nextLeft, selected, where); 349 selectedView = child; 353 mReferenceView = child; 592 // Get the last child ... 631 // Get the first child ... 769 * @param childInSelectedRow A child in the row that contains the selection 798 * @param childInSelectedRow A child in the row that contains the selection 1040 final View child = obtainView(0, mIsScrap); 1042 AbsListView.LayoutParams p = (AbsListView.LayoutParams) child 1100 attachLayoutAnimationParameters(View child, ViewGroup.LayoutParams params, int index, int count) argument 1365 setupChild(View child, int position, int y, boolean flow, int childrenLeft, boolean selected, boolean recycled, int where) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | QuickSettingsContainerView.java | 75 // Update the child's width 82 // Measure the child 114 QuickSettingsTileView child = (QuickSettingsTileView) getChildAt(i); 115 ViewGroup.LayoutParams lp = child.getLayoutParams(); 116 if (child.getVisibility() != GONE) { 118 final int colSpan = child.getColumnSpan(); 139 child.layout(childLeft, childTop, childRight, childBottom); 143 cursor += child.getColumnSpan();
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | SpinnerICS.java | 39 * A view that displays one child at a time and lets the user pick among them. 234 View child = null; 237 child = getChildAt(0); 239 child = makeAndAddView(0); 240 mRecycler.put(0, child); 244 if (child != null) { 245 final int childBaseline = child.getBaseline(); 246 return childBaseline >= 0 ? child.getTop() + childBaseline : -1; 370 View child; 373 child 397 setUpChild(View child) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
H A D | NotificationLinearLayout.java | 83 final View child = getChildAt(i); 85 final int childBottom = child.getBottom(); 87 glow.setBounds(child.getLeft() - padding.left + insetLeft, childBottom, 88 child.getRight() - padding.right, childBottom + glowHeight);
|
H A D | NotificationPanelTitle.java | 99 public boolean onRequestSendAccessibilityEvent(View child, AccessibilityEvent event) { argument 100 if (super.onRequestSendAccessibilityEvent(child, event)) {
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | AbsActionBarView.java | 214 protected int measureChildView(View child, int availableWidth, int childSpecHeight, argument 216 child.measure(MeasureSpec.makeMeasureSpec(availableWidth, MeasureSpec.AT_MOST), 219 availableWidth -= child.getMeasuredWidth(); 229 protected int positionChild(View child, int x, int y, int contentHeight, boolean reverse) { argument 230 int childWidth = child.getMeasuredWidth(); 231 int childHeight = child.getMeasuredHeight(); 235 child.layout(x - childWidth, childTop, x, childTop + childHeight); 237 child.layout(x, childTop, x + childWidth, childTop + childHeight);
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/ |
H A D | GridTouchSetSelectionTest.java | 74 View child = mGridView.getChildAt(i); 75 if (child.getId() == targetPosition) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | NotificationRowLayout.java | 89 public void onChildViewAdded(View parent, View child) { 90 Slog.d(TAG, "view added: " + child + "; new count: " + getChildCount()); 93 public void onChildViewRemoved(View parent, View child) { 94 Slog.d(TAG, "view removed: " + child + "; new count: " + (getChildCount() - 1)); 250 public void dismissRowAnimated(View child) { argument 251 dismissRowAnimated(child, 0); 254 public void dismissRowAnimated(View child, int vel) { argument 255 mSwipeHelper.dismissChild(child, vel);
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
H A D | Transform.java | 61 Transform child = mChildren.get(i); 62 childrenAllocs[i] = child.getRSData().getAllocation();
|
/frameworks/base/tools/preload/ |
H A D | Operation.java | 85 for (Operation child : subops) { 86 exclusive -= child.inclusiveTimeNanos();
|
/frameworks/native/include/utils/ |
H A D | GenerationCache.h | 39 parent(e.parent), child(e.child) { } 47 sp<Entry<EntryKey, EntryValue> > child; // next younger entry member in struct:android::Entry 222 mYoungest->child = entry; 230 entry->parent->child = entry->child; 232 mOldest = entry->child; 235 if (entry->child.get()) { 236 entry->child->parent = entry->parent; 242 entry->child [all...] |
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | AccessibilityDelegateCompat.java | 44 public boolean onRequestSendAccessibilityEvent(Object delegate, ViewGroup host, View child, argument 90 public boolean onRequestSendAccessibilityEvent(Object delegate, ViewGroup host, View child, argument 152 public boolean onRequestSendAccessibilityEvent(ViewGroup host, View child, 154 return compat.onRequestSendAccessibilityEvent(host, child, event); 196 public boolean onRequestSendAccessibilityEvent(Object delegate, ViewGroup host, View child, argument 199 child, event); 243 public boolean onRequestSendAccessibilityEvent(ViewGroup host, View child, 245 return compat.onRequestSendAccessibilityEvent(host, child, event); 442 * Called when a child of the host View has requested sending an 453 * @param child Th 460 onRequestSendAccessibilityEvent(ViewGroup host, View child, AccessibilityEvent event) argument [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | SlidingChallengeLayout.java | 67 // Initialized during measurement from child layoutparams 329 public void requestChildFocus(View child, View focused) { argument 330 if (mIsBouncing && child != mChallengeView) { 335 super.requestChildFocus(child, focused); 815 final View child = getChildAt(i); 816 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 820 "There may only be one child with layout_isChallenge=\"true\""); 822 if (!(child instanceof KeyguardSecurityContainer)) { 826 mChallengeView = (KeyguardSecurityContainer) child; 833 mHasGlowpad = child [all...] |
/frameworks/base/test-runner/src/android/test/ |
H A D | ViewAsserts.java | 319 * child should be non-null. 325 assertTrue("child count should be >= 0", count >= 0); 334 * Assert that the specified group contains a specific child once and only once. 337 * @param child The child that should belong to group 339 static public void assertGroupContains(ViewGroup parent, View child) { argument 345 if (parent.getChildAt(i) == child) { 349 assertTrue("child " + child + " is duplicated in parent", false); 354 assertTrue("group does not contain " + child, foun 363 assertGroupNotContains(ViewGroup parent, View child) argument [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | ViewDragHelper.java | 146 * governing the range and draggability of child views. 173 * Called when a child view is captured for dragging or settling. The ID of the pointer 179 * @param activePointerId Pointer id tracking the child capture 184 * Called when the child view is no longer being actively dragged. 197 * @param releasedChild The captured child view now being released 205 * by the user while no child view is currently captured. 231 * of the subscribed edges in the parent view while no child view is currently captured. 243 * Called to determine the Z-order of child views. 253 * Return the magnitude of a draggable child view's horizontal range of motion in pixels. 256 * @param child Chil 259 getViewHorizontalDragRange(View child) argument 270 getViewVerticalDragRange(View child) argument 290 tryCaptureView(View child, int pointerId) argument 303 clampViewPositionHorizontal(View child, int left, int dx) argument 318 clampViewPositionVertical(View child, int top, int dy) argument 538 smoothSlideViewTo(View child, int finalLeft, int finalTop) argument 596 computeSettleDuration(View child, int dx, int dy, int xvel, int yvel) argument 1244 checkTouchSlop(View child, float dx, float dy) argument [all...] |
/frameworks/base/sax/java/android/sax/ |
H A D | RootElement.java | 129 // Look for a child to push onto the stack. 132 Element child = children.get(uri, localName); 133 if (child != null) { 134 start(child, attributes);
|
/frameworks/support/v4/jellybean/android/support/v4/view/ |
H A D | AccessibilityDelegateCompatJellyBean.java | 37 public boolean onRequestSendAccessibilityEvent(ViewGroup host, View child, argument 70 public boolean onRequestSendAccessibilityEvent(ViewGroup host, View child, 72 return bridge.onRequestSendAccessibilityEvent(host, child, event);
|
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceFrameLayout.java | 84 public void addView(View child) { argument 90 android.view.ViewGroup.LayoutParams params = child.getLayoutParams(); 92 ? (PreferenceFrameLayout.LayoutParams) child.getLayoutParams() : null; 93 // Check on the id of the child before adding it. 123 super.addView(child);
|
/frameworks/base/core/tests/benchmarks/src/com/android/internal/util/ |
H A D | IndentingPrintWriterBenchmark.java | 130 for (Node child : children) { 131 child.dumpDirect(pw, depth + 1); 143 for (Node child : children) { 144 child.dumpIndenting(pw);
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
H A D | WeightSumTest.java | 40 mChild = activity.findViewById(R.id.child);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | ViewLayerInvalidationActivity.java | 128 View child = parent.getChildAt(i); 130 child.invalidate(); 132 if (child instanceof ViewGroup) { 133 randomInvalidator((ViewGroup) child);
|