/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; 221 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/apct-tests/perftests/core/src/android/view/ |
H A D | ViewShowHidePerfTest.java | 85 LinearLayout child = new LinearLayout(context); 87 parent.addView(child, new LinearLayout.LayoutParams( 92 createNestedLinearLayoutTree(context, child, remainingDepth - 1); 139 void run(BenchmarkState state, int width, int height, ViewGroup parent, View child); argument 171 testParentWithChild((state, width, height, parent, child) -> { 175 parent.addView(child); 176 layout(width, height, child); 187 testParentWithChild((state, width, height, parent, child) -> { 190 layout(width, height, child); // Note, done to be safe, likely not needed 196 parent.addView(child); [all...] |
/frameworks/base/core/java/android/animation/ |
H A D | LayoutTransition.java | 718 * For every child in the parent, we create a change animation of the appropriate 720 * target view. We add layout listeners to all child views and listen for changes. For 773 final View child = parent.getChildAt(i); 776 if (child != newView) { 777 setupChangeAnimation(parent, changeReason, baseAnimator, duration, child); 829 Animator baseAnimator, final long duration, final View child) { 831 // If we already have a listener for this child, then we've already set up the 832 // changing animation we need. Multiple calls for a child may occur when several 835 if (layoutChangeListenerMap.get(child) != null) { 843 if (child 828 setupChangeAnimation(final ViewGroup parent, final int changeReason, Animator baseAnimator, final long duration, final View child) argument 1151 runAppearingTransition(final ViewGroup parent, final View child) argument 1199 runDisappearingTransition(final ViewGroup parent, final View child) argument 1255 addChild(ViewGroup parent, View child, boolean changesLayout) argument 1321 addChild(ViewGroup parent, View child) argument 1329 showChild(ViewGroup parent, View child) argument 1344 showChild(ViewGroup parent, View child, int oldVisibility) argument 1360 removeChild(ViewGroup parent, View child, boolean changesLayout) argument 1399 removeChild(ViewGroup parent, View child) argument 1407 hideChild(ViewGroup parent, View child) argument 1422 hideChild(ViewGroup parent, View child, int newVisibility) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | Activity.java | 494 * <p>If a child activity fails for any reason (such as crashing), the parent 893 /** Return the parent activity if this view is an embedded child. */ 2326 * it should return either a mapping from child activity id strings to arbitrary objects, 2328 * set of child activities, such as ActivityGroup. The same guarantees and restrictions apply 3646 * This is called when a child activity of this one attempts to navigate up. 3649 * @param child The activity making the call. 3651 public boolean onNavigateUpFromChild(Activity child) { argument 4492 // TODO Consider clearing/flushing other event sources and events for child windows. 4563 throw new RuntimeException("Can't be called from a child"); 4599 throw new RuntimeException("Can't be called from a child"); 5050 startActivityFromChild(@onNull Activity child, @RequiresPermission Intent intent, int requestCode) argument 5074 startActivityFromChild(@onNull Activity child, @RequiresPermission Intent intent, int requestCode, @Nullable Bundle options) argument 5176 startIntentSenderFromChild(Activity child, IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags) argument 5190 startIntentSenderFromChild(Activity child, IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, @Nullable Bundle options) argument 5205 startIntentSenderFromChildFragment(Fragment child, IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, @Nullable Bundle options) argument 5547 finishFromChild(Activity child) argument 5594 finishActivityFromChild(@onNull Activity child, int requestCode) argument 6784 navigateUpToFromChild(Activity child, Intent upIntent) argument [all...] |
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 | 256 void writeView(ViewNode child, Parcel out, PooledStringWriter pwriter, int levelAdj) { argument 262 int flags = child.writeSelfToParcel(out, pwriter, mSanitizeOnWrite, mTmpMatrix); 264 // If the child has children, push it on the stack to write them next. 267 "Preparing to write " + child.mChildren.length 270 out.writeInt(child.mChildren.length); 272 pushViewStackEntry(child, pos); 280 // Write the next child in the current view. 281 if (DEBUG_PARCEL_TREE) Log.d(TAG, "Writing child #" 283 ViewNode child = mCurViewStackEntry.node.mChildren[mCurViewStackEntry.curChild]; 285 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; 620 protected boolean drawChild(Canvas canvas, View child, lon argument [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/view/ |
H A D | View.java | 425 * its children. For example, the parent may measure each child once with 451 * child. A MeasureSpec can be in one of three modes: 454 * of a child view. For example, a LinearLayout may call measure() on its child 456 * tall the child view wants to be given a width of 240 pixels. 458 * child. The child must use this size, and guarantee that all of its 461 * child. The child must guarantee that it and all of its descendants will fit 484 * draw it before calling back to its <code>onDraw()</code> method. The child 25942 onRequestSendAccessibilityEvent(ViewGroup host, View child, AccessibilityEvent event) argument [all...] |
H A D | ViewGroup.java | 145 // The last child of this ViewGroup which held focus within the current cluster 150 * apply on the child being drawn. 165 // Current frontmost child that can accept drag and lies under the drag location. 211 // The child capable of showing a tooltip and currently under the pointer. 215 // over the view group but not one of its child views. 244 // When set, ViewGroup invalidates only the child's rectangle 253 // a child needs to be invalidated and FLAG_OPTIMIZE_INVALIDATE is set 288 * to get the index of the child to draw for that iteration. 297 * invoked when a child is drawn. 361 * When set, this ViewGroup will split MotionEvents to multiple child View 737 requestChildFocus(View child, View focused) argument 761 setDefaultFocus(View child) argument 780 clearDefaultFocus(View child) argument 817 clearFocusedInCluster(View child) argument 966 requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) argument 971 requestSendAccessibilityEvent(View child, AccessibilityEvent event) argument 999 onRequestSendAccessibilityEvent(View child, AccessibilityEvent event) argument 1014 onRequestSendAccessibilityEventInternal(View child, AccessibilityEvent event) argument 1022 childHasTransientStateChanged(View child, boolean childHasTransientState) argument 1053 clearChildFocus(View child) argument 1442 onChildVisibilityChanged(View child, int oldVisibility, int newVisibility) argument 1515 recomputeViewAttributes(View child) argument 1537 bringChildToFront(View child) argument 1734 notifyChildOfDragStart(View child) argument 1938 dispatchResolvePointerIcon(MotionEvent event, int pointerIndex, View child) argument 2269 dispatchTooltipHoverEvent(MotionEvent event, View child) argument 2436 dispatchTransformedGenericPointerEvent(MotionEvent event, View child) argument 2461 getTransformedMotionEvent(MotionEvent event, View child) argument 2795 getTouchTarget(@onNull View child) argument 2808 addTouchTarget(@onNull View child, int pointerIdBits) argument 2871 canViewReceivePointerEvents(@onNull View child) argument 2889 isTransformedTouchPointInView(float x, float y, View child, PointF outLocalPoint) argument 2905 transformPointToViewLocal(float[] point, View child) argument 2919 dispatchTransformedTouchEvent(MotionEvent event, boolean cancel, View child, int desiredPointerIdBits) argument 3564 notifySubtreeAccessibilityStateChanged(View child, View source, int changeType) argument 4195 recreateChildDisplayList(View child) argument 4213 drawChild(Canvas canvas, View child, long drawingTime) argument 4414 getChildStaticTransformation(View child, Transformation t) argument 4658 addView(View child) argument 4675 addView(View child, int index) argument 4699 addView(View child, int width, int height) argument 4717 addView(View child, LayoutParams params) argument 4732 addView(View child, int index, LayoutParams params) argument 4776 onChildViewAdded(View parent, View child) argument 4784 onChildViewRemoved(View parent, View child) argument 4797 dispatchViewAdded(View child) argument 4810 onViewAdded(View child) argument 4813 dispatchViewRemoved(View child) argument 4826 onViewRemoved(View child) argument 4868 addViewInLayout(View child, int index, LayoutParams params) argument 4885 addViewInLayout(View child, int index, LayoutParams params, boolean preventRequestLayout) argument 4901 cleanupLayoutState(View child) argument 4905 addViewInner(View child, int index, LayoutParams params, boolean preventRequestLayout) argument 5001 addInArray(View child, int index) argument 5088 bindLayoutAnimation(View child) argument 5103 attachLayoutAnimationParameters(View child, LayoutParams params, int index, int count) argument 5478 removeDetachedView(View child, boolean animate) argument 5535 attachViewToParent(View child, int index, LayoutParams params) argument 5574 detachViewFromParent(View child) argument 5653 onDescendantInvalidated(@onNull View child, @NonNull View target) argument 5696 invalidateChild(View child, final Rect dirty) argument 5970 getChildVisibleRect(View child, Rect r, android.graphics.Point offset) argument 5980 getChildVisibleRect( View child, Rect r, android.graphics.Point offset, boolean forceParentCheck) argument 6478 indexOfChild(View child) argument 6542 measureChild(View child, int parentWidthMeasureSpec, int parentHeightMeasureSpec) argument 6568 measureChildWithMargins(View child, int parentWidthMeasureSpec, int widthUsed, int parentHeightMeasureSpec, int heightUsed) argument 6896 requestTransparentRegion(View child) argument 7022 childDrawableStateChanged(View child) argument 7271 onStartNestedScroll(View child, View target, int nestedScrollAxes) argument 7279 onNestedScrollAccepted(View child, View target, int axes) argument 7290 onStopNestedScroll(View child) argument 7349 onSetLayoutParams(View child, LayoutParams layoutParams) argument 8121 public View child; field in class:ViewGroup.TouchTarget 8132 obtain(@onNull View child, int pointerIdBits) argument 8179 public View child; field in class:ViewGroup.HoverTarget 8187 obtain(@onNull 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 332 onDescendantInvalidated(@onNull View child, @NonNull View target) argument [all...] |
H A D | ViewParent.java | 32 * child of this view parent. This will schedule a layout pass of the view 45 * Called when a child wants the view hierarchy to gather and report 52 * @param child the view requesting the transparent region computation 55 public void requestTransparentRegion(View child); argument 68 * @param child Direct child of this ViewParent containing target 71 default void onDescendantInvalidated(@NonNull View child, @NonNull View target) { argument 74 getParent().onDescendantInvalidated(child, target); 79 * All or part of a child is dirty and needs to be redrawn. 81 * @param child Th 87 invalidateChild(View child, Rect r) argument 130 requestChildFocus(View child, View focused) argument 138 recomputeViewAttributes(View child) argument 145 clearChildFocus(View child) argument 167 getChildVisibleRect(View child, Rect r, android.graphics.Point offset) argument 201 bringChildToFront(View child) argument 300 childDrawableStateChanged(View child) argument 339 requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) argument 358 requestSendAccessibilityEvent(View child, AccessibilityEvent event) argument 383 childHasTransientStateChanged(View child, boolean hasTransientState) argument 415 notifySubtreeAccessibilityStateChanged( View child, @NonNull View source, int changeType) argument 523 onStartNestedScroll(View child, View target, int nestedScrollAxes) argument 541 onNestedScrollAccepted(View child, View target, int nestedScrollAxes) argument [all...] |
H A D | ViewRootImpl.java | 596 * Notifies us that our child has been rebuilt, following 630 * We have one child 1167 public void onDescendantInvalidated(@NonNull View child, @NonNull View descendant) { argument 1192 public void invalidateChild(View child, Rect dirty) { argument 1199 if (DEBUG_DRAW) Log.v(mTag, "Invalidate child: " + dirty); 1304 public boolean getChildVisibleRect(View child, Rect r, android.graphics.Point offset) { argument 1305 if (child != mView) { 1306 throw new RuntimeException("child is not mine, honest!"); 1314 public void bringChildToFront(View child) { argument 2607 public void requestTransparentRegion(View child) { argument 3402 requestChildFocus(View child, View focused) argument 3411 clearChildFocus(View child) argument 3449 recomputeViewAttributes(View child) argument 3599 isViewDescendantOf(View child, View parent) argument 7067 childDrawableStateChanged(View child) argument 7071 requestSendAccessibilityEvent(View child, AccessibilityEvent event) argument 7202 notifySubtreeAccessibilityStateChanged(View child, View source, int changeType) argument 7297 requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) argument 7316 childHasTransientStateChanged(View child, boolean hasTransientState) argument 7321 onStartNestedScroll(View child, View target, int nestedScrollAxes) argument 7330 onNestedScrollAccepted(View child, View target, int nestedScrollAxes) argument [all...] |
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityNodeInfo.java | 913 * Returns the id of the child at the specified index. 929 * @return The child count. 936 * Get the child at given index. 943 * @param index The child index. 944 * @return The child node. 964 * Adds a child. 971 * @param child The child. 975 public void addChild(View child) { argument 976 addChildInternal(child, AccessibilityNodeProvide 985 addChildUnchecked(View child) argument 1003 removeChild(View child) argument [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | WebView.java | 83 * <p>This must be a child of the <a 1370 * a child node. If a phone number is found, the HitTestResult type is set 2021 public void onChildViewAdded(View parent, View child) {} argument 2030 public void onChildViewRemoved(View p, View child) {} argument 2681 * username.setAutofillId(structure.getAutofillId(), 1); // id 1 - first child 2698 * username.setAutofillId(structure, 2); // id 2 - second child 2864 public boolean requestChildRectangleOnScreen(View child, Rect rect, boolean immediate) { argument 2865 return mProvider.getViewDelegate().requestChildRectangleOnScreen(child, rect, immediate); 2937 * @param resultCode The integer result code returned by the child activity
|
H A D | WebViewProvider.java | 409 public boolean requestChildRectangleOnScreen(View child, Rect rect, boolean immediate); argument
|
/frameworks/base/core/java/android/widget/ |
H A D | AbsListView.java | 590 * The select child's view (from the adapter's getView) is enabled. 595 * The cached drawable state for the selector. Accounts for child enabled 1182 final View child = getChildAt(i); 1185 if (child instanceof Checkable) { 1186 ((Checkable) child).setChecked(mCheckStates.get(position)); 1188 child.setActivated(mCheckStates.get(position)); 1492 // child count have not changed we will avoid sending duplicate accessibility 1830 // Remember the position of the first child. 2210 * @return direct child that contains accessibility focus, or null if no 2211 * child contain 2409 setItemViewLayoutParams(View child, int position) argument 3220 performLongPress(final View child, final int longPressPosition, final long longPressId) argument 3230 performLongPress(final View child, final int longPressPosition, final long longPressId, float x, float y) argument 4271 onStartNestedScroll(View child, View target, int nestedScrollAxes) argument 4276 onNestedScrollAccepted(View child, View target, int axes) argument 7128 removeDetachedView(View child, boolean animate) argument [all...] |
H A D | AbsSpinner.java | 57 /** Temporary frame to hold a child View's frame rectangle */ 248 int getChildHeight(View child) { argument 249 return child.getMeasuredHeight(); 252 int getChildWidth(View child) { argument 253 return child.getMeasuredWidth(); 362 View child = getChildAt(i); 363 if (child.getVisibility() == View.VISIBLE) { 364 child.getHitRect(frame);
|
H A D | ActionMenuView.java | 164 final View child = getChildAt(i); 165 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 210 final View child = getChildAt(i); 211 if (child.getVisibility() == GONE) continue; 213 final boolean isGeneratedItem = child instanceof ActionMenuItemView; 219 child.setPadding(mGeneratedItemPadding, 0, mGeneratedItemPadding, 0); 222 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 229 lp.preventEdgeOffset = isGeneratedItem && ((ActionMenuItemView) child).hasText(); 234 final int cellsUsed = measureChildForCells(child, cellSize, cellsAvailable, 242 maxChildHeight = Math.max(maxChildHeight, child 398 measureChildForCells(View child, int cellSize, int cellsRemaining, int parentHeightMeasureSpec, int parentHeightPadding) argument [all...] |
H A D | AdapterView.java | 68 * The position of the first child displayed 112 * Sync based on the selected child 117 * Sync based on the first child displayed 436 * The child view for which the context menu is being displayed. This 471 * @param child Ignored. 476 public void addView(View child) { argument 483 * @param child Ignored. 489 public void addView(View child, int index) { argument 496 * @param child Ignored. 502 public void addView(View child, LayoutParam argument 517 addView(View child, int index, LayoutParams params) argument 530 removeView(View child) argument 975 onRequestSendAccessibilityEventInternal(View child, AccessibilityEvent event) argument [all...] |
H A D | AdapterViewAnimator.java | 51 * The index of the current child, which appears anywhere from the beginning 57 * The index of the child to restore after the asynchronous connection from the 137 * The width and height of some child, used as a size reference in-case our 290 * Sets which child view will be displayed. 292 * @param whichChild the index of the child view to display 320 * transform to the child view. 322 * @param child 325 void applyTransformForChildAtIndex(View child, int relativeIndex) { argument 329 * Returns the index of the currently displayed child view. 336 * Manually shows the next child 394 getMetaDataForChild(View child) argument 577 addChild(View child) argument [all...] |
H A D | DropDownListView.java | 200 final View child = getChildAt(position - getFirstVisiblePosition()); 201 setPressedItem(child, position, x, y); 206 performItemClick(child, position, id); 252 private void setPressedItem(@NonNull View child, int position, float x, float y) { argument 261 // Next, run layout if we need to stabilize child positions. 269 if (motionView != null && motionView != child && motionView.isPressed()) { 274 // Offset for child coordinates. 275 final float childX = x - child.getLeft(); 276 final float childY = y - child.getTop(); 277 child [all...] |
H A D | Gallery.java | 81 * How long the transition animation should run when a child view changes 92 * Left most edge of a child seen so far during layout. 97 * Right most edge of a child seen so far during layout. 144 * The currently selected item's child. 180 * If true, mFirstPosition is the position of the rightmost child, and 186 * Offset between the center of the selected child view and the center of the Gallery. 274 * Sets how long the transition animation should run when a child view 309 protected boolean getChildStaticTransformation(View child, Transformation t) { argument 312 t.setAlpha(child == mSelectedChild ? 1.0f : mUnselectedAlpha); 373 int getChildHeight(View child) { argument 896 setUpChild(View child, int offset, int x, boolean fromLeft) argument 943 calculateTop(View child, boolean duringLayout) argument 1120 dispatchPress(View child) argument [all...] |