/frameworks/av/media/libstagefright/webm/ |
H A D | WebmElement.cpp | 252 sp<WebmElement> child = (*it); local 253 child->serializeInto(buf + off); 254 off += child->totalSize();
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | Serializer.cpp | 88 const xmlNode *child = root; local 89 if (!xmlStrcmp(child->name, (const xmlChar *)Trait::collectionTag)) { 90 child = child->xmlChildrenNode; 92 while (child != NULL) { 93 if (!xmlStrcmp(child->name, (const xmlChar *)Trait::tag)) { 95 status_t status = Trait::deserialize(doc, child, element, serializingContext); 104 child = child->next; 220 status_t MixPortTraits::deserialize(_xmlDoc *doc, const _xmlNode *child, PtrElemen argument 452 const xmlNode *child = children->xmlChildrenNode; local 557 const xmlNode *child = referenceName.empty() ? root->xmlChildrenNode : ref->xmlChildrenNode; local [all...] |
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | AccessibilityNodeInfoDumper.java | 126 AccessibilityNodeInfo child = node.getChild(i); 127 if (child != null) { 128 if (child.isVisibleToUser()) { 129 dumpNodeRec(child, serializer, i, width, height); 130 child.recycle(); 132 Log.i(LOGTAG, String.format("Skipping invisible child: %s", child.toString())); 135 Log.i(LOGTAG, String.format("Null child %d/%d, parent: %s", 178 // and NAF but a child's text or description is available. Will assume
|
H A D | UiSelector.java | 524 * Adds a child UiSelector criteria to this selector. 527 * child widgets under a specific parent widget. 546 * Adds a child UiSelector criteria to this selector which is used to 550 * sibling widgets as well all child widgets under a parent. 598 * Selectors may have a hierarchy defined by specifying child nodes to be matched. 603 * @return a child selector if one exists. Else null if this selector does not 604 * reference child node. 834 * Leaf selector indicates no more child or parent selectors 883 UiSelector child = (UiSelector)mSelectorAttributes.get(UiSelector.SELECTOR_CHILD); 884 if (child [all...] |
/frameworks/base/core/java/android/animation/ |
H A D | AnimatorSet.java | 96 * child animations of this AnimatorSet end. It also determines whether cancel/end 119 // Root of the dependency tree of all the animators in the set. In this tree, parent-child 120 // relationship captures the order of animation (i.e. parent and child will play sequentially), 125 // How long the child animations should last in ms. The default value is negative, which 127 // set, it is passed along to the child animations. 237 * Returns the current list of child Animator objects controlled by this 242 * @return ArrayList<Animator> The list of child animations of this AnimatorSet. 257 * Sets the target object for all current {@link #getChildAnimations() child animations} 291 * Sets the TimeInterpolator for all current {@link #getChildAnimations() child animations} 294 * will cause that interpolator to be set on the child animation [all...] |
H A D | LayoutTransition.java | 714 * For every child in the parent, we create a change animation of the appropriate 716 * target view. We add layout listeners to all child views and listen for changes. For 769 final View child = parent.getChildAt(i); 772 if (child != newView) { 773 setupChangeAnimation(parent, changeReason, baseAnimator, duration, child); 825 Animator baseAnimator, final long duration, final View child) { 827 // If we already have a listener for this child, then we've already set up the 828 // changing animation we need. Multiple calls for a child may occur when several 831 if (layoutChangeListenerMap.get(child) != null) { 839 if (child 824 setupChangeAnimation(final ViewGroup parent, final int changeReason, Animator baseAnimator, final long duration, final View child) argument 1147 runAppearingTransition(final ViewGroup parent, final View child) argument 1195 runDisappearingTransition(final ViewGroup parent, final View child) argument 1251 addChild(ViewGroup parent, View child, boolean changesLayout) argument 1317 addChild(ViewGroup parent, View child) argument 1325 showChild(ViewGroup parent, View child) argument 1340 showChild(ViewGroup parent, View child, int oldVisibility) argument 1356 removeChild(ViewGroup parent, View child, boolean changesLayout) argument 1395 removeChild(ViewGroup parent, View child) argument 1403 hideChild(ViewGroup parent, View child) argument 1418 hideChild(ViewGroup parent, View child, int newVisibility) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | Activity.java | 487 * <p>If a child activity fails for any reason (such as crashing), the parent 872 /** Return the parent activity if this view is an embedded child. */ 2093 * it should return either a mapping from child activity id strings to arbitrary objects, 2095 * set of child activities, such as ActivityGroup. The same guarantees and restrictions apply 3415 * This is called when a child activity of this one attempts to navigate up. 3418 * @param child The activity making the call. 3420 public boolean onNavigateUpFromChild(Activity child) { argument 4244 // TODO Consider clearing/flushing other event sources and events for child windows. 4284 throw new RuntimeException("Can't be called from a child"); 4319 throw new RuntimeException("Can't be called from a child"); 4766 startActivityFromChild(@onNull Activity child, @RequiresPermission Intent intent, int requestCode) argument 4790 startActivityFromChild(@onNull Activity child, @RequiresPermission Intent intent, int requestCode, @Nullable Bundle options) argument 4881 startIntentSenderFromChild(Activity child, IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags) argument 4895 startIntentSenderFromChild(Activity child, IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, @Nullable Bundle options) argument 4910 startIntentSenderFromChildFragment(Fragment child, IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, @Nullable Bundle options) argument 5250 finishFromChild(Activity child) argument 5297 finishActivityFromChild(@onNull Activity child, int requestCode) argument 6475 navigateUpToFromChild(Activity child, Intent upIntent) argument [all...] |
H A D | BackStackRecord.java | 1383 * specific shared elements. This allows developers to target child views of the 1405 * It won't add a child if it is already in views. 1410 return; // This child is already in the list, so all its children are also. 1419 final View child = viewGroup.getChildAt(childIndex); 1420 if (!containedBeforeIndex(views, child, startIndex)) { 1421 views.add(child); 1502 Transition child = set.getTransitionAt(i); 1503 removeTargets(child, views); 1530 Transition child = set.getTransitionAt(i); 1531 addTargets(child, view [all...] |
H A D | FragmentBreadCrumbs.java | 202 final View child = getChildAt(0); 205 final int childBottom = mPaddingTop + child.getMeasuredHeight() - mPaddingBottom; 215 childLeft = childRight - child.getMeasuredWidth(); 219 childLeft = mPaddingLeft + (mRight - mLeft - child.getMeasuredWidth()) / 2; 220 childRight = childLeft + child.getMeasuredWidth(); 226 childRight = childLeft + child.getMeasuredWidth(); 238 child.layout(childLeft, childTop, childRight, childBottom); 249 // Find rightmost and bottom-most child 251 final View child = getChildAt(i); 252 if (child [all...] |
H A D | FragmentManager.java | 1717 FragmentManagerNonConfig child = f.mChildFragmentManager.retainNonConfig(); 1718 if (child != null) { 1725 childFragments.add(child); 2333 // push the inflated child fragment along.
|
H A D | SearchDialog.java | 628 View child, ActionMode.Callback callback, int type) { 631 return super.startActionModeForChild(child, callback, type); 627 startActionModeForChild( View child, ActionMode.Callback callback, int type) argument
|
/frameworks/base/core/java/android/app/assist/ |
H A D | AssistStructure.java | 181 void writeView(ViewNode child, Parcel out, PooledStringWriter pwriter, int levelAdj) { argument 187 int flags = child.writeSelfToParcel(out, pwriter, mTmpMatrix); 189 // If the child has children, push it on the stack to write them next. 192 "Preparing to write " + child.mChildren.length 195 out.writeInt(child.mChildren.length); 197 pushViewStackEntry(child, pos); 205 // Write the next child in the current view. 206 if (DEBUG_PARCEL_TREE) Log.d(TAG, "Writing child #" 208 ViewNode child = mCurViewStackEntry.node.mChildren[mCurViewStackEntry.curChild]; 210 writeView(child, ou [all...] |
/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetHostView.java | 252 View child = getErrorView(); 253 prepareView(child); 254 addViewInLayout(child, 0, child.getLayoutParams()); 255 measureChild(child, MeasureSpec.makeMeasureSpec(getMeasuredWidth(), MeasureSpec.EXACTLY), 257 child.layout(0, 0, child.getMeasuredWidth() + mPaddingLeft + mPaddingRight, 258 child.getMeasuredHeight() + mPaddingTop + mPaddingBottom); 259 mView = child; 615 protected boolean drawChild(Canvas canvas, View child, lon argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | UriMatcher.java | 182 UriMatcher child; 185 child = children.get(j); 186 if (token.equals(child.mText)) { 187 node = child; 193 child = new UriMatcher(); 195 child.mWhich = NUMBER; 197 child.mWhich = TEXT; 199 child.mWhich = EXACT; 201 child.mText = token; 202 node.mChildren.add(child); [all...] |
/frameworks/base/core/java/android/preference/ |
H A D | GenericInflater.java | 64 public void addItemFromInflater(T child); argument
|
H A D | PreferenceFrameLayout.java | 88 public void addView(View child) { argument 94 android.view.ViewGroup.LayoutParams params = child.getLayoutParams(); 96 ? (PreferenceFrameLayout.LayoutParams) child.getLayoutParams() : null; 97 // Check on the id of the child before adding it. 127 super.addView(child);
|
/frameworks/base/core/java/android/provider/ |
H A D | DocumentsProvider.java | 181 * Test if a document is descendant (child, grandchild, etc) from the given 187 * @param documentId child to verify. 199 final String child = getDocumentId(documentUri); 200 if (Objects.equals(parent, child)) { 203 if (!isChildDocument(parent, child)) { 205 "Document " + child + " is not a descendant of " + parent); 269 * Copies a document including all child documents to another location within 275 * @param targetParentDocumentId the target document to be copied into as a child. 286 * <p>Moves a document including all child documents to another location within
|
/frameworks/base/core/java/android/view/ |
H A D | AccessibilityInteractionController.java | 933 final AccessibilityNodeInfo child = nodeMap.get(childId); 934 if (child != null) { 935 fringe.add(child); 977 View child = children.get(i); 978 if (child.getAccessibilityViewId() != current.getAccessibilityViewId() 979 && isShown(child)) { 982 child.getAccessibilityNodeProvider(); 984 info = child.createAccessibilityNodeInfo(); 1016 View child = children.get(i); 1017 if (isShown(child)) { [all...] |
H A D | GhostView.java | 185 View child = viewGroup.getChildAt(i); 186 if (isGhostWrapper(child)) { 187 tempViews.add(child); 188 GhostView ghostView = (GhostView)((ViewGroup)child).getChildAt(0); 263 View child = frameLayout.getChildAt(0); 264 return child instanceof GhostView; 328 final View child = (preorderedList == null) 330 if (child == view) { 333 } else if (child == comparedWith) {
|
H A D | NotificationHeaderView.java | 140 final View child = getChildAt(i); 141 if (child.getVisibility() == GONE) { 145 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); 150 child.measure(childWidthSpec, childHeightSpec); 151 totalWidth += lp.leftMargin + lp.rightMargin + child.getMeasuredWidth(); 181 View child = getChildAt(i); 182 if (child.getVisibility() == GONE) { 185 int childHeight = child.getMeasuredHeight(); 186 MarginLayoutParams params = (MarginLayoutParams) child.getLayoutParams(); 188 int right = left + child [all...] |
H A D | View.java | 415 * its children. For example, the parent may measure each child once with 441 * child. A MeasureSpec can be in one of three modes: 444 * of a child view. For example, a LinearLayout may call measure() on its child 446 * tall the child view wants to be given a width of 240 pixels. 448 * child. The child must use this size, and guarantee that all of its 451 * child. The child must guarantee that it and all of its descendants will fit 474 * draw it before calling back to its <code>onDraw()</code> method. The child 23421 onRequestSendAccessibilityEvent(ViewGroup host, View child, AccessibilityEvent event) argument [all...] |
H A D | ViewGroup.java | 141 * apply on the child being drawn. 156 // View currently under an ongoing drag. Can be null, a child or this window. 227 // When set, ViewGroup invalidates only the child's rectangle 236 // a child needs to be invalidated and FLAG_OPTIMIZE_INVALIDATE is set 270 * to get the index of the child to draw for that iteration. 279 * invoked when a child is drawn. 341 * When set, this ViewGroup will split MotionEvents to multiple child Views when appropriate. 391 * coordinates within the initiating child view. 450 // Index of the child's left position in the mLocation array 452 // Index of the child' 720 requestChildFocus(View child, View focused) argument 877 requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) argument 882 requestSendAccessibilityEvent(View child, AccessibilityEvent event) argument 910 onRequestSendAccessibilityEvent(View child, AccessibilityEvent event) argument 925 onRequestSendAccessibilityEventInternal(View child, AccessibilityEvent event) argument 933 childHasTransientStateChanged(View child, boolean childHasTransientState) argument 964 clearChildFocus(View child) argument 1247 onChildVisibilityChanged(View child, int oldVisibility, int newVisibility) argument 1320 recomputeViewAttributes(View child) argument 1342 bringChildToFront(View child) argument 1575 notifyChildOfDragStart(View child) argument 1750 dispatchResolvePointerIcon(MotionEvent event, int pointerIndex, View child) argument 2144 dispatchTransformedGenericPointerEvent(MotionEvent event, View child) argument 2169 getTransformedMotionEvent(MotionEvent event, View child) argument 2503 getTouchTarget(@onNull View child) argument 2516 addTouchTarget(@onNull View child, int pointerIdBits) argument 2579 canViewReceivePointerEvents(@onNull View child) argument 2597 isTransformedTouchPointInView(float x, float y, View child, PointF outLocalPoint) argument 2613 transformPointToViewLocal(float[] point, View child) argument 2627 dispatchTransformedTouchEvent(MotionEvent event, boolean cancel, View child, int desiredPointerIdBits) argument 3129 notifySubtreeAccessibilityStateChanged(View child, View source, int changeType) argument 3745 recreateChildDisplayList(View child) argument 3763 drawChild(Canvas canvas, View child, long drawingTime) argument 3964 getChildStaticTransformation(View child, Transformation t) argument 4207 addView(View child) argument 4224 addView(View child, int index) argument 4248 addView(View child, int width, int height) argument 4266 addView(View child, LayoutParams params) argument 4281 addView(View child, int index, LayoutParams params) argument 4325 onChildViewAdded(View parent, View child) argument 4333 onChildViewRemoved(View parent, View child) argument 4346 dispatchViewAdded(View child) argument 4359 onViewAdded(View child) argument 4362 dispatchViewRemoved(View child) argument 4375 onViewRemoved(View child) argument 4407 addViewInLayout(View child, int index, LayoutParams params) argument 4424 addViewInLayout(View child, int index, LayoutParams params, boolean preventRequestLayout) argument 4440 cleanupLayoutState(View child) argument 4444 addViewInner(View child, int index, LayoutParams params, boolean preventRequestLayout) argument 4533 addInArray(View child, int index) argument 4620 bindLayoutAnimation(View child) argument 4635 attachLayoutAnimationParameters(View child, LayoutParams params, int index, int count) argument 4988 removeDetachedView(View child, boolean animate) argument 5039 attachViewToParent(View child, int index, LayoutParams params) argument 5078 detachViewFromParent(View child) argument 5160 invalidateChild(View child, final Rect dirty) argument 5329 damageChildDeferred(View child) argument 5351 damageChild(View child, final Rect dirty) argument 5529 getChildVisibleRect(View child, Rect r, android.graphics.Point offset) argument 5539 getChildVisibleRect( View child, Rect r, android.graphics.Point offset, boolean forceParentCheck) argument 6018 indexOfChild(View child) argument 6082 measureChild(View child, int parentWidthMeasureSpec, int parentHeightMeasureSpec) argument 6108 measureChildWithMargins(View child, int parentWidthMeasureSpec, int widthUsed, int parentHeightMeasureSpec, int heightUsed) argument 6424 requestTransparentRegion(View child) argument 6550 childDrawableStateChanged(View child) argument 6799 onStartNestedScroll(View child, View target, int nestedScrollAxes) argument 6807 onNestedScrollAccepted(View child, View target, int axes) argument 6818 onStopNestedScroll(View child) argument 6877 onSetLayoutParams(View child, LayoutParams layoutParams) argument 7623 public View child; field in class:ViewGroup.TouchTarget 7634 obtain(@onNull View child, int pointerIdBits) argument 7681 public View child; field in class:ViewGroup.HoverTarget 7689 obtain(@onNull View child) argument 7764 getChildIndex(View child) argument [all...] |
H A D | ViewOverlay.java | 115 * redirect is necessary because the overlay is not a child of the host view 177 public void add(@NonNull View child) { argument 178 if (child == null) { 182 if (child.getParent() instanceof ViewGroup) { 183 ViewGroup parent = (ViewGroup) child.getParent(); 186 // Moving to different container; figure out how to position child such that 192 child.offsetLeftAndRight(parentLocation[0] - hostViewLocation[0]); 193 child.offsetTopAndBottom(parentLocation[1] - hostViewLocation[1]); 195 parent.removeView(child); 197 // LayoutTransition will cause the child t 322 damageChild(View child, final Rect dirty) argument [all...] |
H A D | ViewParent.java | 31 * child of this view parent. This will schedule a layout pass of the view 44 * Called when a child wants the view hierarchy to gather and report 51 * @param child the view requesting the transparent region computation 54 public void requestTransparentRegion(View child); argument 57 * All or part of a child is dirty and needs to be redrawn. 59 * @param child The child which is dirty 60 * @param r The area within the child that is invalid 62 public void invalidateChild(View child, Rect r); argument 65 * All or part of a child i 102 requestChildFocus(View child, View focused) argument 110 recomputeViewAttributes(View child) argument 117 clearChildFocus(View child) argument 139 getChildVisibleRect(View child, Rect r, android.graphics.Point offset) argument 160 bringChildToFront(View child) argument 259 childDrawableStateChanged(View child) argument 298 requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) argument 317 requestSendAccessibilityEvent(View child, AccessibilityEvent event) argument 342 childHasTransientStateChanged(View child, boolean hasTransientState) argument 374 notifySubtreeAccessibilityStateChanged(View child, View source, int changeType) argument 481 onStartNestedScroll(View child, View target, int nestedScrollAxes) argument 499 onNestedScrollAccepted(View child, View target, int nestedScrollAxes) argument [all...] |
H A D | ViewRootImpl.java | 516 * Notifies us that our child has been rebuilt, following 544 * We have one child 1069 public void invalidateChild(View child, Rect dirty) { argument 1076 if (DEBUG_DRAW) Log.v(mTag, "Invalidate child: " + dirty); 1164 public boolean getChildVisibleRect(View child, Rect r, android.graphics.Point offset) { argument 1165 if (child != mView) { 1166 throw new RuntimeException("child is not mine, honest!"); 1174 public void bringChildToFront(View child) { argument 2465 public void requestTransparentRegion(View child) { argument 2468 if (mView == child) { 3197 requestChildFocus(View child, View focused) argument 3206 clearChildFocus(View child) argument 3242 recomputeViewAttributes(View child) argument 3345 isViewDescendantOf(View child, View parent) argument 6627 childDrawableStateChanged(View child) argument 6631 requestSendAccessibilityEvent(View child, AccessibilityEvent event) argument 6771 notifySubtreeAccessibilityStateChanged(View child, View source, int changeType) argument 6866 requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) argument 6885 childHasTransientStateChanged(View child, boolean hasTransientState) argument 6890 onStartNestedScroll(View child, View target, int nestedScrollAxes) argument 6899 onNestedScrollAccepted(View child, View target, int nestedScrollAxes) argument [all...] |