/frameworks/base/core/java/android/animation/ |
H A D | LayoutTransition.java | 701 * For every child in the parent, we create a change animation of the appropriate 703 * target view. We add layout listeners to all child views and listen for changes. For 756 final View child = parent.getChildAt(i); 759 if (child != newView) { 760 setupChangeAnimation(parent, changeReason, baseAnimator, duration, child); 824 Animator baseAnimator, final long duration, final View child) { 826 // If we already have a listener for this child, then we've already set up the 827 // changing animation we need. Multiple calls for a child may occur when several 830 if (layoutChangeListenerMap.get(child) != null) { 838 if (child 823 setupChangeAnimation(final ViewGroup parent, final int changeReason, Animator baseAnimator, final long duration, final View child) argument 1132 runAppearingTransition(final ViewGroup parent, final View child) argument 1177 runDisappearingTransition(final ViewGroup parent, final View child) argument 1230 addChild(ViewGroup parent, View child, boolean changesLayout) argument 1296 addChild(ViewGroup parent, View child) argument 1304 showChild(ViewGroup parent, View child) argument 1319 showChild(ViewGroup parent, View child, int oldVisibility) argument 1335 removeChild(ViewGroup parent, View child, boolean changesLayout) argument 1374 removeChild(ViewGroup parent, View child) argument 1382 hideChild(ViewGroup parent, View child) argument 1397 hideChild(ViewGroup parent, View child, int newVisibility) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | Activity.java | 443 * <p>If a child activity fails for any reason (such as crashing), the parent 790 /** Return the parent activity if this view is an embedded child. */ 1596 * it should return either a mapping from child activity id strings to arbitrary objects, 1598 * set of child activities, such as ActivityGroup. The same guarantees and restrictions apply 2754 * This is called when a child activity of this one attempts to navigate up. 2757 * @param child The activity making the call. 2759 public boolean onNavigateUpFromChild(Activity child) { argument 3412 throw new RuntimeException("Called be called from a child"); 3701 * called from a child activity, a runtime exception will be thrown. 3808 * @param child Th 3817 startActivityFromChild(Activity child, Intent intent, int requestCode) argument 3841 startActivityFromChild(Activity child, Intent intent, int requestCode, Bundle options) argument 3909 startIntentSenderFromChild(Activity child, IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags) argument 3923 startIntentSenderFromChild(Activity child, IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, Bundle options) argument 4198 finishFromChild(Activity child) argument 4232 finishActivityFromChild(Activity child, int requestCode) argument 5002 navigateUpToFromChild(Activity child, Intent upIntent) argument [all...] |
H A D | FragmentBreadCrumbs.java | 183 final View child = getChildAt(0); 186 final int childBottom = mPaddingTop + child.getMeasuredHeight() - mPaddingBottom; 196 childLeft = childRight - child.getMeasuredWidth(); 200 childLeft = mPaddingLeft + (mRight - mLeft - child.getMeasuredWidth()) / 2; 201 childRight = childLeft + child.getMeasuredWidth(); 207 childRight = childLeft + child.getMeasuredWidth(); 219 child.layout(childLeft, childTop, childRight, childBottom); 230 // Find rightmost and bottom-most child 232 final View child = getChildAt(i); 233 if (child [all...] |
H A D | SearchDialog.java | 640 public ActionMode startActionModeForChild(View child, ActionMode.Callback callback) { argument
|
/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/content/ |
H A D | UriMatcher.java | 165 UriMatcher child; 168 child = children.get(j); 169 if (token.equals(child.mText)) { 170 node = child; 176 child = new UriMatcher(); 178 child.mWhich = NUMBER; 180 child.mWhich = TEXT; 182 child.mWhich = EXACT; 184 child.mText = token; 185 node.mChildren.add(child); [all...] |
/frameworks/base/core/java/android/preference/ |
H A D | GenericInflater.java | 63 public void addItemFromInflater(T child); argument
|
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/java/android/view/ |
H A D | AccessibilityInteractionController.java | 681 View child = children.get(i); 682 if (child.getAccessibilityViewId() != current.getAccessibilityViewId() 683 && isShown(child)) { 686 child.getAccessibilityNodeProvider(); 688 info = child.createAccessibilityNodeInfo(); 720 View child = children.get(i); 721 if (isShown(child)) { 722 AccessibilityNodeProvider provider = child.getAccessibilityNodeProvider(); 724 AccessibilityNodeInfo info = child.createAccessibilityNodeInfo(); 727 addedChildren.put(child, nul [all...] |
H A D | View.java | 387 * its children. For example, the parent may measure each child once with 413 * child. A MeasureSpec can be in one of three modes: 416 * of a child view. For example, a LinearLayout may call measure() on its child 418 * tall the child view wants to be given a width of 240 pixels. 420 * child. The child must use this size, and guarantee that all of its 423 * child. The child must gurantee that it and all of its descendants will fit 1728 * child vie 18305 onRequestSendAccessibilityEvent(ViewGroup host, View child, AccessibilityEvent event) argument [all...] |
H A D | ViewGroup.java | 108 * apply on the child being drawn. 130 // Does this group have a child that can accept the current drag payload? 193 // When set, ViewGroup invalidates only the child's rectangle 202 // a child needs to be invalidated and FLAG_OPTIMIZE_INVALIDATE is set 237 * to get the index of the child to draw for that iteration. 246 * invoked when a child is drawn. 315 * When set, this ViewGroup will split MotionEvents to multiple child Views when appropriate. 380 // Index of the child's left position in the mLocation array 382 // Index of the child's top position in the mLocation array 415 // Indicates how many of this container's child subtree 568 requestChildFocus(View child, View focused) argument 649 requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) argument 657 requestSendAccessibilityEvent(View child, AccessibilityEvent event) argument 685 onRequestSendAccessibilityEvent(View child, AccessibilityEvent event) argument 698 onRequestSendAccessibilityEventInternal(View child, AccessibilityEvent event) argument 707 childHasTransientStateChanged(View child, boolean childHasTransientState) argument 746 clearChildFocus(View child) argument 991 onChildVisibilityChanged(View child, int oldVisibility, int newVisibility) argument 1059 recomputeViewAttributes(View child) argument 1083 bringChildToFront(View child) argument 1274 notifyChildOfDrag(View child) argument 1659 childAccessibilityStateChanged(View child) argument 1769 dispatchTransformedGenericPointerEvent(MotionEvent event, View child) argument 2021 getTouchTarget(View child) argument 2034 addTouchTarget(View child, int pointerIdBits) argument 2097 canViewReceivePointerEvents(View child) argument 2108 isTransformedTouchPointInView(float x, float y, View child, PointF outLocalPoint) argument 2132 dispatchTransformedTouchEvent(MotionEvent event, boolean cancel, View child, int desiredPointerIdBits) argument 2927 drawChild(Canvas canvas, View child, long drawingTime) argument 3033 getChildStaticTransformation(View child, Transformation t) argument 3130 addView(View child) argument 3147 addView(View child, int index) argument 3168 addView(View child, int width, int height) argument 3185 addView(View child, LayoutParams params) argument 3200 addView(View child, int index, LayoutParams params) argument 3245 onChildViewAdded(View parent, View child) argument 3253 onChildViewRemoved(View parent, View child) argument 3269 onViewAdded(View child) argument 3278 onViewRemoved(View child) argument 3295 addViewInLayout(View child, int index, LayoutParams params) argument 3312 addViewInLayout(View child, int index, LayoutParams params, boolean preventRequestLayout) argument 3325 cleanupLayoutState(View child) argument 3329 addViewInner(View child, int index, LayoutParams params, boolean preventRequestLayout) argument 3400 addInArray(View child, int index) argument 3487 bindLayoutAnimation(View child) argument 3502 attachLayoutAnimationParameters(View child, LayoutParams params, int index, int count) argument 3825 removeDetachedView(View child, boolean animate) argument 3876 attachViewToParent(View child, int index, LayoutParams params) argument 3913 detachViewFromParent(View child) argument 3994 invalidateChild(View child, final Rect dirty) argument 4162 invalidateChildFast(View child, final Rect dirty) argument 4326 getChildVisibleRect(View child, Rect r, android.graphics.Point offset) argument 4725 indexOfChild(View child) argument 4789 measureChild(View child, int parentWidthMeasureSpec, int parentHeightMeasureSpec) argument 4815 measureChildWithMargins(View child, int parentWidthMeasureSpec, int widthUsed, int parentHeightMeasureSpec, int heightUsed) argument 5096 requestTransparentRegion(View child) argument 5223 childDrawableStateChanged(View child) argument 5480 onSetLayoutParams(View child, LayoutParams layoutParams) argument 6043 public View child; field in class:ViewGroup.TouchTarget 6054 obtain(View child, int pointerIdBits) argument 6093 public View child; field in class:ViewGroup.HoverTarget 6101 obtain(View child) argument 6193 getChildIndex(View child) argument [all...] |
H A D | ViewParent.java | 30 * child of this view parent. This will schedule a layout pass of the view 43 * Called when a child wants the view hierarchy to gather and report 50 * @param child the view requesting the transparent region computation 53 public void requestTransparentRegion(View child); argument 56 * All or part of a child is dirty and needs to be redrawn. 58 * @param child The child which is dirty 59 * @param r The area within the child that is invalid 61 public void invalidateChild(View child, Rect r); argument 64 * All or part of a child i 101 requestChildFocus(View child, View focused) argument 109 recomputeViewAttributes(View child) argument 116 clearChildFocus(View child) argument 138 getChildVisibleRect(View child, Rect r, android.graphics.Point offset) argument 153 bringChildToFront(View child) argument 205 childDrawableStateChanged(View child) argument 244 requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) argument 263 requestSendAccessibilityEvent(View child, AccessibilityEvent event) argument 273 childHasTransientStateChanged(View child, boolean hasTransientState) argument 297 childAccessibilityStateChanged(View child) argument [all...] |
H A D | ViewRootImpl.java | 462 * We have one child 849 public void invalidateChild(View child, Rect dirty) { argument 855 if (DEBUG_DRAW) Log.v(TAG, "Invalidate child: " + dirty); 914 public boolean getChildVisibleRect(View child, Rect r, android.graphics.Point offset) { argument 915 if (child != mView) { 916 throw new RuntimeException("child is not mine, honest!"); 923 public void bringChildToFront(View child) { argument 1898 public void requestTransparentRegion(View child) { argument 1901 if (mView == child) { 2251 // need to clear it before drawing so that the child wil 2552 requestChildFocus(View child, View focused) argument 2565 clearChildFocus(View child) argument 2609 recomputeViewAttributes(View child) argument 2704 isViewDescendantOf(View child, View parent) argument 4662 childDrawableStateChanged(View child) argument 4665 requestSendAccessibilityEvent(View child, AccessibilityEvent event) argument 4705 childAccessibilityStateChanged(View child) argument 4755 requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) argument 4770 childHasTransientStateChanged(View child, boolean hasTransientState) argument [all...] |
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityInteractionClient.java | 749 AccessibilityNodeInfo child = infos.get(j); 750 if (child.getSourceNodeId() == childId) { 751 fringe.add(child);
|
H A D | AccessibilityNodeInfo.java | 501 * @return The child count. 508 * Get the child at given index. 515 * @param index The child index. 516 * @return The child node. 533 * Adds a child. 540 * @param child The child. 544 public void addChild(View child) { argument 545 addChild(child, UNDEFINED); 549 * Adds a virtual child whic [all...] |
H A D | AccessibilityNodeInfoCache.java | 321 AccessibilityNodeInfo child = mCacheImpl.get(childId); 322 if (child != null) { 323 fringe.add(child);
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebView.java | 65 * <p>This must be a child of the <a 1076 * a child node. If a phone number is found, the HitTestResult type is set 1604 public void onChildViewAdded(View parent, View child) {} argument 1613 public void onChildViewRemoved(View p, View child) {} argument 2126 public boolean requestChildRectangleOnScreen(View child, Rect rect, boolean immediate) { argument 2127 return mProvider.getViewDelegate().requestChildRectangleOnScreen(child, rect, immediate);
|
H A D | WebViewClassic.java | 771 // Used by WebViewCore to create child views. 6537 // arrow key events, not trackball events, from one child to the next 7108 public boolean requestChildRectangleOnScreen(View child, argument 7120 rect.offset(child.getLeft() - child.getScrollX(), 7121 child.getTop() - child.getScrollY());
|
H A D | WebViewProvider.java | 339 public boolean requestChildRectangleOnScreen(View child, Rect rect, boolean immediate); argument
|
/frameworks/base/core/java/android/widget/ |
H A D | AbsListView.java | 558 * The select child's view (from the adapter's getView) is enabled. 1117 final View child = getChildAt(i); 1120 if (child instanceof Checkable) { 1121 ((Checkable) child).setChecked(mCheckStates.get(position)); 1123 child.setActivated(mCheckStates.get(position)); 1348 // child count have not changed we will avoid sending duplicate accessibility 1651 // Remember the position of the first child. 2035 View child = getChildAt(0); 2036 canScrollUp = child.getTop() < mListPadding.top; 2052 View child 2801 performLongPress(final View child, final int longPressPosition, final long longPressId) argument [all...] |
H A D | AbsSpinner.java | 55 /** Temporary frame to hold a child View's frame rectangle */ 239 int getChildHeight(View child) { argument 240 return child.getMeasuredHeight(); 243 int getChildWidth(View child) { argument 244 return child.getMeasuredWidth(); 353 View child = getChildAt(i); 354 if (child.getVisibility() == View.VISIBLE) { 355 child.getHitRect(frame);
|
H A D | AbsoluteLayout.java | 65 // Find rightmost and bottom-most child 67 View child = getChildAt(i); 68 if (child.getVisibility() != GONE) { 73 = (AbsoluteLayout.LayoutParams) child.getLayoutParams(); 75 childRight = lp.x + child.getMeasuredWidth(); 76 childBottom = lp.y + child.getMeasuredHeight(); 112 View child = getChildAt(i); 113 if (child.getVisibility() != GONE) { 116 (AbsoluteLayout.LayoutParams) child.getLayoutParams(); 120 child [all...] |
H A D | ActivityChooserView.java | 411 View child = mActivityChooserContent; 419 measureChild(child, widthMeasureSpec, heightMeasureSpec); 420 setMeasuredDimension(child.getMeasuredWidth(), child.getMeasuredHeight());
|
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 | AdapterViewAnimator.java | 53 * The index of the current child, which appears anywhere from the beginning 59 * The index of the child to restore after the asynchronous connection from the 139 * The width and height of some child, used as a size reference in-case our 287 * Sets which child view will be displayed. 289 * @param whichChild the index of the child view to display 317 * transform to the child view. 319 * @param child 322 void applyTransformForChildAtIndex(View child, int relativeIndex) { argument 326 * Returns the index of the currently displayed child view. 333 * Manually shows the next child 391 getMetaDataForChild(View child) argument 575 addChild(View child) argument [all...] |