/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetHostView.java | 476 protected boolean drawChild(Canvas canvas, View child, long drawingTime) { argument 479 int l = child.getLeft(); 480 int t = child.getTop(); 487 + " w=" + child.getWidth()); 495 int restoreTo = canvas.saveLayerAlpha(l, t, child.getWidth(), child.getHeight(), alpha, 497 boolean rv = super.drawChild(canvas, child, drawingTime); 510 return super.drawChild(canvas, child, drawingTime); 519 // Take requested dimensions from child, but apply default gravity.
|
/frameworks/base/core/java/android/widget/ |
H A D | AdapterView.java | 64 * The position of the first child displayed 108 * Sync based on the selected child 113 * Sync based on the first child displayed 410 * The child view for which the context menu is being displayed. This 445 * @param child Ignored. 450 public void addView(View child) { argument 457 * @param child Ignored. 463 public void addView(View child, int index) { argument 470 * @param child Ignored. 476 public void addView(View child, LayoutParam argument 491 addView(View child, int index, LayoutParams params) argument 504 removeView(View child) argument 921 onRequestSendAccessibilityEvent(View child, AccessibilityEvent event) argument [all...] |
H A D | StackView.java | 520 * Apply any necessary tranforms for the child that is being added. 522 void applyTransformForChildAtIndex(View child, int relativeIndex) { argument 532 final View child = getChildAt(i); 533 LayoutParams lp = (LayoutParams) child.getLayoutParams(); 535 child.getAlpha() == 0f || child.getVisibility() != VISIBLE) { 1099 final View child = getChildAt(i); 1101 int childRight = mPaddingLeft + child.getMeasuredWidth(); 1102 int childBottom = mPaddingTop + child.getMeasuredHeight(); 1103 LayoutParams lp = (LayoutParams) child [all...] |
H A D | ZoomButtonsController.java | 424 * respects the gravity of a child's layout parameters. 614 // Reverse order so the child drawn on top gets first dibs. 623 View child = mContainer.getChildAt(i); 624 if (child.getVisibility() != View.VISIBLE) { 628 child.getHitRect(frame); 630 return child; 651 closestChild = child;
|
H A D | GridLayout.java | 75 * If a child does not specify the row and column indices of the cell it 105 * A child's ability to stretch is inferred from the alignment properties of 107 * {@link LayoutParams#setGravity(int) gravity} property of the child's layout parameters). 422 * based on the child's visual characteristics. Each of the 645 private int getTotalMargin(View child, boolean horizontal) { argument 646 return getMargin(child, horizontal, true) + getMargin(child, horizontal, false); 758 protected void onSetLayoutParams(View child, ViewGroup.LayoutParams layoutParams) { argument 759 super.onSetLayoutParams(child, layoutParams); 893 protected void onViewAdded(View child) { argument 902 onViewRemoved(View child) argument 914 onChildVisibilityChanged(View child, int oldVisibility, int newVisibility) argument 946 measureChildWithMargins2(View child, int parentWidthSpec, int parentHeightSpec, int childWidth, int childHeight) argument [all...] |
H A D | ActivityChooserView.java | 411 View child = mActivityChooserContent; 419 measureChild(child, widthMeasureSpec, heightMeasureSpec); 420 setMeasuredDimension(child.getMeasuredWidth(), child.getMeasuredHeight());
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ActionBarContainer.java | 253 public ActionMode startActionModeForChild(View child, ActionMode.Callback callback) { argument 254 // No starting an action mode for an action bar child! (Where would it go?) 293 final View child = getChildAt(i); 295 if (child == mTabContainer) continue; 298 child.offsetTopAndBottom(tabHeight);
|
H A D | ActionBarContextView.java | 417 View child = mMenuView.getChildAt(i); 418 child.setScaleY(0); 419 ObjectAnimator a = ObjectAnimator.ofFloat(child, "scaleY", 0, 1); 443 View child = mMenuView.getChildAt(i); 444 child.setScaleY(0); 445 ObjectAnimator a = ObjectAnimator.ofFloat(child, "scaleY", 0);
|
H A D | ScrollingTabContainerView.java | 175 final View child = mTabLayout.getChildAt(i); 177 child.setSelected(isSelected); 522 final View child = mTabLayout.getChildAt(i); 523 child.setSelected(child == view);
|
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityNodeInfoCache.java | 321 AccessibilityNodeInfo child = mCacheImpl.get(childId); 322 if (child != null) { 323 fringe.add(child);
|
H A D | AccessibilityInteractionClient.java | 749 AccessibilityNodeInfo child = infos.get(j); 750 if (child.getSourceNodeId() == childId) { 751 fringe.add(child);
|
/frameworks/base/services/java/com/android/server/wm/ |
H A D | DragState.java | 403 WindowState child = windows.get(i); 404 final int flags = child.mAttrs.flags; 405 if (!child.isVisibleLw()) { 414 child.getTouchableRegion(mTmpRegion); 421 touchedWin = child;
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
H A D | ICalendar.java | 116 * Adds a child component to this component. 117 * @param child The child component. 119 public void addChild(Component child) { argument 120 getOrCreateChildren().add(child); 492 Component child = new Component(componentName, component); 494 component.addChild(child); 496 return child;
|
/frameworks/support/v4/java/android/support/v4/view/accessibility/ |
H A D | AccessibilityNodeInfoCompat.java | 46 public void addChild(Object info, View child); argument 47 public void addChild(Object info, View child, int virtualDescendantId); argument 124 public void addChild(Object info, View child) { argument 129 public void addChild(Object info, View child, int virtualDescendantId) { argument 421 public void addChild(Object info, View child) { argument 422 AccessibilityNodeInfoCompatIcs.addChild(info, child); 653 public void addChild(Object info, View child, int virtualDescendantId) { argument 654 AccessibilityNodeInfoCompatJellyBean.addChild(info, child, virtualDescendantId); 1064 * @return The child count. 1071 * Get the child a 1098 addChild(View child) argument [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | CameraWidgetFrame.java | 255 final View child = getChildAt(0); 258 final int startWidth = child.getWidth(); 259 final int startHeight = child.getHeight(); 272 child.getLocationInWindow(loc);
|
H A D | PagedView.java | 639 final View child = getPageAt(i); 640 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 661 child.measure(childWidthMeasureSpec, childHeightMeasureSpec); 723 final View child = getPageAt(i); 725 if (child.getVisibility() != View.GONE) { 726 final int childWidth = getScaledMeasuredWidth(child); 727 final int childHeight = child.getMeasuredHeight(); 729 if (DEBUG) Log.d(TAG, "\tlayout-child" + i + ": " + childLeft + ", " + childTop); 730 child.layout(childLeft, childTop, 731 childLeft + child 748 onChildViewAdded(View parent, View child) argument 757 onChildViewRemoved(View parent, View child) argument 819 getScaledMeasuredWidth(View child) argument 871 shouldDrawChild(View child) argument 924 requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) argument 1666 requestChildFocus(View child, View focused) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
H A D | RecentsHorizontalScrollView.java | 368 View child = mAdapter.createView(mLinearLayout); 369 child.measure(childWidthMeasureSpec, childheightMeasureSpec); 371 (int) FloatMath.ceil(dm.widthPixels / (float) child.getMeasuredWidth()); 372 addToRecycledViews(child);
|
H A D | RecentsVerticalScrollView.java | 378 View child = mAdapter.createView(mLinearLayout); 379 child.measure(childWidthMeasureSpec, childheightMeasureSpec); 381 (int) FloatMath.ceil(dm.heightPixels / (float) child.getMeasuredHeight()); 382 addToRecycledViews(child);
|
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 75 * If a child does not specify the row and column indices of the cell it 105 * A child's ability to stretch is inferred from the alignment properties of 107 * {@link LayoutParams#setGravity(int) gravity} property of the child's layout parameters). 402 * based on the child's visual characteristics. Each of the 625 private int getTotalMargin(View child, boolean horizontal) { argument 626 return getMargin(child, horizontal, true) + getMargin(child, horizontal, false); 740 protected void onSetLayoutParams(View child, ViewGroup.LayoutParams layoutParams) { argument 741 super.onSetLayoutParams(child, layoutParams); 839 protected void onViewAdded(View child) { argument 848 onViewRemoved(View child) argument 860 onChildVisibilityChanged(View child, int oldVisibility, int newVisibility) argument 890 measureChildWithMargins2(View child, int parentWidthSpec, int parentHeightSpec, int childWidth, int childHeight) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | XMLNode.h | 112 status_t addChild(const sp<XMLNode>& child); 114 status_t insertChildAt(const sp<XMLNode>& child, size_t index);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/ |
H A D | BaseAdapter.java | 65 void addChild(AdapterItem child) { argument 70 mChildren.add(child);
|
/frameworks/support/v4/ics/android/support/v4/view/accessibility/ |
H A D | AccessibilityNodeInfoCompatIcs.java | 46 public static void addChild(Object info, View child) { argument 47 ((AccessibilityNodeInfo) info).addChild(child);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | PhoneStatusBarView.java | 92 public boolean onRequestSendAccessibilityEvent(View child, AccessibilityEvent event) { argument 93 if (super.onRequestSendAccessibilityEvent(child, event)) {
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderSessionImpl.java | 675 * Insert a new child into an existing parent. 694 // inflate the child without adding it to the root since we want to control where it'll 697 final View child = mInflater.inflate(blockParser, parentView, false /*attachToRoot*/); 708 return addView(parentView, child, index); 718 return SUCCESS.createResult(child); 722 Result result = addView(parentView, child, index); 729 result = result.getCopyWithData(child); 873 * @param previousParent the previous parent, still owning the child at the time of the call. 889 // in this case there is an animation. This means we have to wait for the child's 896 // adding the child o [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | 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); 577 child.post(new Runnable() { 579 child.requestRectangleOnScreen(rect);
|