Searched defs:child (Results 126 - 150 of 222) sorted by relevance

123456789

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DRemoteInputView.java318 public boolean onRequestSendAccessibilityEvent(View child, AccessibilityEvent event) { argument
319 if (mResetting && child == mEditText) {
325 return super.onRequestSendAccessibilityEvent(child, event);
H A DHeadsUpManager.java582 public static void setIsClickedNotification(View child, boolean clicked) { argument
583 child.setTag(TAG_CLICKED_NOTIFICATION, clicked ? true : null);
586 public static boolean isClickedHeadsUpNotification(View child) { argument
587 Boolean clicked = (Boolean) child.getTag(TAG_CLICKED_NOTIFICATION);
/frameworks/base/services/core/java/com/android/server/wm/
H A DInputMonitor.java301 final WindowState child, int flags, final int type, final boolean isVisible,
304 inputWindowHandle.name = child.toString();
305 flags = child.getTouchableRegion(inputWindowHandle.touchableRegion, flags);
308 inputWindowHandle.dispatchingTimeoutNanos = child.getInputDispatchingTimeoutNanos();
310 inputWindowHandle.canReceiveKeys = child.canReceiveKeys();
313 inputWindowHandle.paused = child.mAppToken != null ? child.mAppToken.paused : false;
314 inputWindowHandle.layer = child.mLayer;
315 inputWindowHandle.ownerPid = child.mSession.mPid;
316 inputWindowHandle.ownerUid = child
300 addInputWindowHandle(final InputWindowHandle inputWindowHandle, final WindowState child, int flags, final int type, final boolean isVisible, final boolean hasFocus, final boolean hasWallpaper) argument
[all...]
H A DWindowContainer.java113 * Adds the input window container has a child of this container in order based on the input
115 * @param child The window container to add as a child of this window container.
116 * @param comparator Comparator to use in determining the position the child should be added to.
117 * If null, the child will be added to the top.
120 protected void addChild(E child, Comparator<E> comparator) { argument
121 if (child.getParent() != null) {
122 throw new IllegalArgumentException("addChild: container=" + child.getName()
123 + " is already a child of container=" + child
149 addChild(E child, int index) argument
166 removeChild(E child) argument
216 hasChild(WindowContainer child) argument
237 positionChildAt(int position, E child, boolean includingParents) argument
[all...]
/frameworks/support/design/src/android/support/design/widget/
H A DBaseTransientBottomBar.java175 // happen to sync vertical positioning of all its child views
729 public boolean canSwipeDismissView(View child) { argument
730 return child instanceof SnackbarBaseLayout;
734 public boolean onInterceptTouchEvent(CoordinatorLayout parent, SnackbarBaseLayout child, argument
740 if (parent.isPointInChildBounds(child, (int) event.getX(),
750 return super.onInterceptTouchEvent(parent, child, event);
H A DBottomSheetBehavior.java49 * An interaction behavior plugin for a child view of {@link CoordinatorLayout} to make it work as
199 public Parcelable onSaveInstanceState(CoordinatorLayout parent, V child) { argument
200 return new SavedState(super.onSaveInstanceState(parent, child), mState);
204 public void onRestoreInstanceState(CoordinatorLayout parent, V child, Parcelable state) { argument
206 super.onRestoreInstanceState(parent, child, ss.getSuperState());
216 public boolean onLayoutChild(CoordinatorLayout parent, V child, int layoutDirection) { argument
217 if (ViewCompat.getFitsSystemWindows(parent) && !ViewCompat.getFitsSystemWindows(child)) {
218 ViewCompat.setFitsSystemWindows(child, true);
220 int savedTop = child.getTop();
222 parent.onLayoutChild(child, layoutDirectio
255 onInterceptTouchEvent(CoordinatorLayout parent, V child, MotionEvent event) argument
307 onTouchEvent(CoordinatorLayout parent, V child, MotionEvent event) argument
335 onStartNestedScroll(CoordinatorLayout coordinatorLayout, V child, View directTargetChild, View target, int nestedScrollAxes) argument
343 onNestedPreScroll(CoordinatorLayout coordinatorLayout, V child, View target, int dx, int dy, int[] consumed) argument
380 onStopNestedScroll(CoordinatorLayout coordinatorLayout, V child, View target) argument
420 onNestedPreFling(CoordinatorLayout coordinatorLayout, V child, View target, float velocityX, float velocityY) argument
586 shouldHide(View child, float yvel) argument
620 startSettlingAnimation(View child, int state) argument
[all...]
H A DFloatingActionButton.java604 public boolean onDependentViewChanged(CoordinatorLayout parent, FloatingActionButton child, argument
609 updateFabVisibilityForAppBarLayout(parent, (AppBarLayout) dependency, child);
611 updateFabVisibilityForBottomSheet(dependency, child);
630 private boolean shouldUpdateVisibility(View dependency, FloatingActionButton child) { argument
632 (CoordinatorLayout.LayoutParams) child.getLayoutParams();
644 if (child.getUserSetVisibility() != VISIBLE) {
653 AppBarLayout appBarLayout, FloatingActionButton child) {
654 if (!shouldUpdateVisibility(appBarLayout, child)) {
668 child.hide(mInternalAutoHideListener, false);
671 child
652 updateFabVisibilityForAppBarLayout(CoordinatorLayout parent, AppBarLayout appBarLayout, FloatingActionButton child) argument
676 updateFabVisibilityForBottomSheet(View bottomSheet, FloatingActionButton child) argument
692 onLayoutChild(CoordinatorLayout parent, FloatingActionButton child, int layoutDirection) argument
717 getInsetDodgeRect(@onNull CoordinatorLayout parent, @NonNull FloatingActionButton child, @NonNull Rect rect) argument
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/
H A DPicker.java429 public void onChildViewHolderSelected(RecyclerView parent, RecyclerView.ViewHolder child,
436 if (child != null) {
595 public void requestChildFocus(View child, View focused) { argument
596 super.requestChildFocus(child, focused);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DActionMenuView.java167 final View child = getChildAt(i);
168 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
213 final View child = getChildAt(i);
214 if (child.getVisibility() == GONE) continue;
216 final boolean isGeneratedItem = child instanceof ActionMenuItemView;
222 child.setPadding(mGeneratedItemPadding, 0, mGeneratedItemPadding, 0);
225 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
232 lp.preventEdgeOffset = isGeneratedItem && ((ActionMenuItemView) child).hasText();
237 final int cellsUsed = measureChildForCells(child, cellSize, cellsAvailable,
245 maxChildHeight = Math.max(maxChildHeight, child
401 measureChildForCells(View child, int cellSize, int cellsRemaining, int parentHeightMeasureSpec, int parentHeightPadding) argument
[all...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBaseLinearLayoutManagerTest.java466 public void removeAndRecycleView(View child, RecyclerView.Recycler recycler) { argument
468 Log.d(TAG, "recycling view " + mRecyclerView.getChildViewHolder(child));
470 super.removeAndRecycleView(child, recycler);
514 View child = getChildAt(i);
515 sb.append("child (ind:").append(i).append(", pos:").append(getPosition(child))
517 mOrientationHelper.getDecoratedStart(child)).append(", end:")
518 .append(mOrientationHelper.getDecoratedEnd(child)).append("]\n");
548 View child = getChildAt(i);
549 final int childStart = mOrientationHelper.getDecoratedStart(child);
[all...]
H A DBaseWrapContentTest.java45 * dimensions and once with wrap_content setup. Then compares all child locations & ids +
336 assertMap("child coordinates. step:" + step, mChildCoordinates,
382 sb.append("child coordinates:\n");
438 View child = recyclerView.getChildAt(i);
439 Rect childBounds = getChildBounds(recyclerView, child, true);
440 mRawChildrenBox.union(getChildBounds(recyclerView, child, false));
441 RecyclerView.ViewHolder childViewHolder = recyclerView.getChildViewHolder(child);
450 private Rect getChildBounds(RecyclerView recyclerView, View child, boolean offset) { argument
452 RecyclerView.LayoutParams lp = (RecyclerView.LayoutParams) child.getLayoutParams();
453 Rect rect = new Rect(layoutManager.getDecoratedLeft(child)
[all...]
/frameworks/base/core/java/android/animation/
H A DLayoutTransition.java718 * 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/widget/
H A DAdapterView.java68 * 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 DAdapterViewAnimator.java51 * 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 DGallery.java81 * 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...]
H A DGridView.java358 View child = null;
366 child = makeAndAddView(pos, y, flow, nextLeft, selected, where);
374 selectedView = child;
378 mReferenceView = child;
617 // Get the last child ...
656 // Get the first child ...
794 * @param childInSelectedRow A child in the row that contains the selection
823 * @param childInSelectedRow A child in the row that contains the selection
1065 final View child = obtainView(0, mIsScrap);
1067 AbsListView.LayoutParams p = (AbsListView.LayoutParams) child
1127 attachLayoutAnimationParameters(View child, ViewGroup.LayoutParams params, int index, int count) argument
1465 setupChild(View child, int position, int y, boolean flowDown, int childrenLeft, boolean selected, boolean isAttachedToWindow, int where) argument
[all...]
H A DHorizontalScrollView.java53 * is a {@link FrameLayout}, meaning you should place one child in it
54 * containing the entire contents to scroll; this child may itself be a layout
55 * manager with a complex hierarchy of objects. A child that is often used
95 * The child to give focus to in the event that a child has requested focus while the
96 * layout is dirty. This prevents the scroll from being wrong if the child has not been
114 * When set to true, the scroll view measure its child to make it fill the currently
231 public void addView(View child) { argument
233 throw new IllegalStateException("HorizontalScrollView can host only one direct child");
236 super.addView(child);
240 addView(View child, int index) argument
249 addView(View child, ViewGroup.LayoutParams params) argument
258 addView(View child, int index, ViewGroup.LayoutParams params) argument
1259 measureChild(View child, int parentWidthMeasureSpec, int parentHeightMeasureSpec) argument
1274 measureChildWithMargins(View child, int parentWidthMeasureSpec, int widthUsed, int parentHeightMeasureSpec, int heightUsed) argument
1344 scrollToChild(View child) argument
1445 requestChildFocus(View child, View focused) argument
1494 requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) argument
1580 isViewDescendantOf(View child, View parent) argument
1690 clamp(int n, int my, int child) argument
[all...]
H A DLinearLayout.java56 * "child views" or "children" of the linear layout --&gt;
61 * whether child views are displayed in a row or column.</p>
66 * both horizontal and vertical alignment of all child views within the single row or column.</p>
70 * on individual child views to specify how linear layout divides remaining space amongst
77 * to learn about other attributes you can set on a child view to affect its
141 * use the child at this index as the baseline.
150 * The additional offset to the child's baseline.
406 final View child = getVirtualChildAt(i);
407 if (child != null && child
1483 getChildrenSkipCount(View child, int index) argument
1511 measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, int heightMeasureSpec, int totalHeight) argument
1525 getLocationOffset(View child) argument
1537 getNextLocationOffset(View child) argument
1790 setChildFrame(View child, int left, int top, int width, int height) argument
[all...]
H A DSpinner.java53 * A view that displays one child at a time and lets the user pick among them.
546 View child = null;
549 child = getChildAt(0);
551 child = makeView(0, false);
552 mRecycler.put(0, child);
555 if (child != null) {
556 final int childBaseline = child.getBaseline();
557 return childBaseline >= 0 ? child.getTop() + childBaseline : -1;
695 * @param addChild true to add the child to the spinner, false to obtain and configure only.
699 View child;
727 setUpChild(View child, boolean addChild) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarOverlayLayout.java483 final View child = getChildAt(i);
484 if (child.getVisibility() != GONE) {
485 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
487 final int width = child.getMeasuredWidth();
488 final int height = child.getMeasuredHeight();
492 if (child == mActionBarBottom) {
498 child.layout(childLeft, childTop, childLeft + width, childTop + height);
521 public boolean onStartNestedScroll(View child, View target, int axes) { argument
529 public void onNestedScrollAccepted(View child, View target, int axes) { argument
530 super.onNestedScrollAccepted(child, targe
[all...]
H A DResolverDrawerLayout.java452 final View child = getChildAt(i);
453 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
455 child.offsetTopAndBottom((int) dy);
535 final View child = parent.getChildAt(i);
536 if (isChildUnder(child, x, y)) {
537 return child;
565 private boolean isDescendantClipped(View child) { argument
566 mTempRect.set(0, 0, child.getWidth(), child.getHeight());
567 offsetDescendantRectToMyCoords(child, mTempRec
595 isChildUnder(View child, float x, float y) argument
604 requestChildFocus(View child, View focused) argument
625 onStartNestedScroll(View child, View target, int nestedScrollAxes) argument
630 onNestedScrollAccepted(View child, View target, int axes) argument
635 onStopNestedScroll(View child) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_graphics_drawable_VectorDrawable.cpp90 VectorDrawable::Node* child = reinterpret_cast<VectorDrawable::Node*>(childPtr); local
91 group->addChild(child);
/frameworks/base/libs/hwui/
H A DFrameBuilder.cpp320 RenderNode* child = childOp->renderNode; local
321 float childZ = child->properties().getZ();
326 } else if (!child->properties().getProjectBackwards()) {
371 shadowIndex = drawIndex; // potentially draw shadow for each pos Z child
490 // Draw child if it has content, but ignore state in childOp - matrix already applied to
/frameworks/base/libs/hwui/tests/unit/
H A DFrameBuilderTests.cpp841 auto child = TestUtils::createNode<RecordingCanvas>(10, 10, 110, 110, local
849 [&child](RenderProperties& props, RecordingCanvas& canvas) {
856 canvas.drawRenderNode(child.get());
1383 * - startRepaintLayer(child), rect(grey), endLayer
1384 * - startTemporaryLayer, drawLayer(child), endLayer
1444 auto child = TestUtils::createNode<RecordingCanvas>(50, 50, 150, 150, local
1452 *(child->getLayerHandle()) = &childLayer;
1454 RenderNode* childPtr = child.get();
1472 layerUpdateQueue.enqueueLayerWithDamage(child.get(), Rect(100, 100));
1485 *(child
1686 auto child = TestUtils::createNode<RecordingCanvas>(0, 50, 100, 100, local
1763 auto child = TestUtils::createNode<RecordingCanvas>(100, 100, 300, 300, local
1837 auto child = TestUtils::createNode<RecordingCanvas>(0, 0, 400, 400, local
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationShelf.java222 ExpandableView child = (ExpandableView) mHostLayout.getChildAt(notificationIndex);
224 if (!(child instanceof ExpandableNotificationRow)
225 || child.getVisibility() == GONE) {
228 ExpandableNotificationRow row = (ExpandableNotificationRow) child;
231 boolean isLastChild = child == lastChild;
659 public void animateTo(View child, AnimationProperties properties) { argument
660 super.animateTo(child, properties);

Completed in 5301 milliseconds

123456789