Searched defs:child (Results 101 - 125 of 222) sorted by last modified time

123456789

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DMockView.java60 public void addView(View child) { argument
61 if (child == mView) {
62 super.addView(child);
67 public void addView(View child, int index) { argument
68 if (child == mView) {
69 super.addView(child, index);
74 public void addView(View child, int width, int height) { argument
75 if (child == mView) {
76 super.addView(child, width, height);
81 public void addView(View child, ViewGrou argument
88 addView(View child, int index, ViewGroup.LayoutParams params) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
H A DAdapterItem.java43 void addChild(AdapterItem child) { argument
48 mChildren.add(child);
/frameworks/base/tools/layoutlib/studio-custom-widgets/src/com/android/tools/idea/editors/theme/widgets/
H A DErrorCatcher.java29 * {@link ViewGroup} that wraps another view and catches any possible exceptions that the child view
54 assert getChildCount() == 1 : "ErrorCatcher can only have one child";
56 View child = getChildAt(0);
58 measureChild(child, widthMeasureSpec, heightMeasureSpec);
60 setMeasuredDimension(resolveSize(child.getMeasuredWidth(), widthMeasureSpec),
61 resolveSize(child.getMeasuredHeight(), heightMeasureSpec));
64 child.getClass().getCanonicalName(), t);
71 protected boolean drawChild(Canvas canvas, View child, long drawingTime) { argument
73 return super.drawChild(canvas, child, drawingTime);
76 child
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationIconContainer.java158 View child = getChildAt(i);
161 int width = child.getMeasuredWidth();
162 int height = child.getMeasuredHeight();
164 child.layout(0, top, width, top + height);
166 mIconSize = child.getWidth();
178 View child = getChildAt(i);
179 ViewState childState = mIconStates.get(child);
181 childState.applyToView(child);
190 public void onViewAdded(View child) { argument
191 super.onViewAdded(child);
215 isReplacingIcon(View child) argument
236 onViewRemoved(View child) argument
[all...]
H A DNotificationsQuickSettingsContainer.java113 protected boolean drawChild(Canvas canvas, View child, long drawingTime) { argument
122 if (child == mQsFrame) {
127 } else if (child == mStackScroller) {
133 } else if (child == mUserSwitcher) {
138 } else if (child == mKeyguardStatusBar) {
143 return super.drawChild(canvas, child, drawingTime);
H A DPhoneStatusBarView.java100 public boolean onRequestSendAccessibilityEventInternal(View child, AccessibilityEvent event) { argument
101 if (super.onRequestSendAccessibilityEventInternal(child, event)) {
H A DReverseLinearLayout.java50 public void addView(View child) { argument
51 reversParams(child.getLayoutParams());
53 super.addView(child, 0);
55 super.addView(child);
60 public void addView(View child, ViewGroup.LayoutParams params) { argument
63 super.addView(child, 0, params);
65 super.addView(child, params);
H A DStatusBarWindowView.java144 View child = getChildAt(i);
145 if (child.getLayoutParams() instanceof LayoutParams) {
146 LayoutParams lp = (LayoutParams) child.getLayoutParams();
151 child.requestLayout();
177 public void onViewAdded(View child) { argument
178 super.onViewAdded(child);
179 if (child.getId() == R.id.brightness_mirror) {
180 mBrightnessMirror = child;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
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);
H A DRemoteInputView.java318 public boolean onRequestSendAccessibilityEvent(View child, AccessibilityEvent event) { argument
319 if (mResetting && child == mEditText) {
325 return super.onRequestSendAccessibilityEvent(child, event);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DAnimationProperties.java56 public Interpolator getCustomInterpolator(View child, Property property) { argument
H A DExpandableViewState.java98 * How much the child overlaps with the previous child on top. This is used to
99 * show the background properly when the child on top is translating away.
182 public void animateTo(View child, AnimationProperties properties) { argument
183 super.animateTo(child, properties);
184 if (!(child instanceof ExpandableView)) {
187 ExpandableView expandableView = (ExpandableView) child;
194 abortAnimation(child, TAG_ANIMATOR_HEIGHT);
201 abortAnimation(child, TAG_ANIMATOR_SHADOW_ALPHA);
208 abortAnimation(child, TAG_ANIMATOR_TOP_INSE
234 startHeightAnimation(final ExpandableView child, AnimationProperties properties) argument
315 startShadowAlphaAnimation(final ExpandableView child, AnimationProperties properties) argument
378 startInsetAnimation(final ExpandableView child, AnimationProperties properties) argument
[all...]
H A DNotificationChildrenContainer.java47 * A container containing child notifications
135 View child = mChildren.get(i);
138 child.layout(0, 0, child.getMeasuredWidth(), child.getMeasuredHeight());
184 ExpandableNotificationRow child = mChildren.get(i);
188 child.setSingleLineWidthIndention(isOverflow && mOverflowNumber != null
191 child.measure(widthMeasureSpec, newHeightSpec);
195 if (child.getVisibility() != GONE) {
196 height += child
639 updateChildStateForExpandedGroup(ExpandableNotificationRow child, int parentHeight, ExpandableViewState childState, int yPosition) argument
[all...]
H A DNotificationStackScrollLayout.java554 View child = getChildAt(i);
557 float width = child.getMeasuredWidth();
558 float height = child.getMeasuredHeight();
559 child.layout((int) (centerX - width / 2.0f),
649 ExpandableView child = (ExpandableView) getChildAt(i);
650 if (mChildrenToAddAnimated.contains(child)) {
651 int startingPosition = getPositionInLinearLayout(child);
652 float increasedPaddingAmount = child.getIncreasedPaddingAmount();
655 int childHeight = getIntrinsicHeight(child) + padding;
657 // This child start
1275 dismissViewAnimated(View child, Runnable endRunnable, int delay, long duration) argument
1280 snapViewIfNeeded(ExpandableNotificationRow child) argument
2534 onViewRemoved(View child) argument
2547 cleanUpViewState(View child) argument
2562 onViewRemovedInternal(View child, ViewGroup container) argument
2609 isChildInGroup(View child) argument
2621 generateRemoveAnimation(View child) argument
2646 isClickedHeadsUp(View child) argument
2655 removeRemovedChildFromHeadsUpChangeAnimations(View child) argument
2679 isChildInInvisibleGroup(View child) argument
2793 onViewAdded(View child) argument
2813 onViewAddedInternal(View child) argument
2821 updateHideSensitiveForChild(View child) argument
2852 updateAnimationState(View child) argument
2858 updateAnimationState(boolean running, View child) argument
2875 generateAddAnimation(View child, boolean fromMoreCard) argument
2896 changeViewPosition(View child, int newIndex) argument
3290 clearChildFocus(View child) argument
3412 updateChronometerForChild(View child) argument
3729 getNotGoneIndex(View child) argument
[all...]
H A DStackScrollAlgorithm.java112 View child = algorithmState.visibleChildren.get(i);
113 ExpandableViewState childViewState = resultState.getViewStateForView(child);
134 ExpandableView child = algorithmState.visibleChildren.get(i);
135 ExpandableViewState state = resultState.getViewStateForView(child);
136 if (!child.mustStayOnScreen()) {
143 boolean isHeadsUp = (child instanceof ExpandableNotificationRow)
144 && ((ExpandableNotificationRow) child).isPinned();
154 if (!child.isTransparent()) {
185 View child = algorithmState.visibleChildren.get(i);
186 ExpandableViewState childViewState = resultState.getViewStateForView(child);
385 getPaddingAfterChild(StackScrollAlgorithmState algorithmState, ExpandableView child) argument
483 getMaxAllowedChildHeight(View child) argument
570 getPaddingAfterChild(ExpandableView child) argument
[all...]
H A DStackScrollState.java53 ExpandableView child = (ExpandableView) mHostView.getChildAt(i);
54 resetViewState(child);
56 // handling reset for child notifications
57 if (child instanceof ExpandableNotificationRow) {
58 ExpandableNotificationRow row = (ExpandableNotificationRow) child;
93 public void removeViewStateForView(View child) { argument
94 mStateMap.remove(child);
104 ExpandableView child = (ExpandableView) mHostView.getChildAt(i);
105 ExpandableViewState state = mStateMap.get(child);
107 Log.wtf(CHILD_NOT_FOUND_TAG, "No child stat
[all...]
H A DStackStateAnimator.java71 /** The current index for the last child which was not added in this event set. */
102 public Interpolator getCustomInterpolator(View child, Property property) {
103 if (mHeadsUpAppearChildren.contains(child) && View.TRANSLATION_Y.equals(property)) {
127 final ExpandableView child = (ExpandableView) mHostLayout.getChildAt(i);
129 ExpandableViewState viewState = finalState.getViewStateForView(child);
130 if (viewState == null || child.getVisibility() == View.GONE
131 || applyWithoutAnimation(child, viewState, finalState)) {
135 initAnimationProperties(finalState, child, viewState);
136 viewState.animateTo(child, mAnimationProperties);
139 // no child ha
148 initAnimationProperties(StackScrollState finalState, ExpandableView child, ExpandableViewState viewState) argument
167 adaptDurationWhenGoingToFullShade(ExpandableView child, ExpandableViewState viewState, boolean wasAdded) argument
183 applyWithoutAnimation(ExpandableView child, ExpandableViewState viewState, StackScrollState finalState) argument
[all...]
H A DViewState.java260 * @param child the view to animate
263 public void animateTo(View child, AnimationProperties animationProperties) { argument
264 boolean wasVisible = child.getVisibility() == View.VISIBLE;
266 if (!wasVisible && (alpha != 0 || child.getAlpha() != 0)
268 child.setVisibility(View.VISIBLE);
270 float childAlpha = child.getAlpha();
272 if (child instanceof ExpandableView) {
274 alphaChanging &= !((ExpandableView) child).willBeGone();
278 if (child.getTranslationX() != this.xTranslation) {
279 startXTranslationAnimation(child, animationPropertie
324 startAlphaAnimation(final View child, AnimationProperties properties) argument
411 startZTranslationAnimation(final View child, AnimationProperties properties) argument
471 startXTranslationAnimation(final View child, AnimationProperties properties) argument
536 startYTranslationAnimation(final View child, AnimationProperties properties) argument
613 getChildTag(View child, int tag) argument
617 abortAnimation(View child, int animatorTag) argument
676 isAnimatingY(View child) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DLockscreenFragment.java213 public void addChild(Item child) { argument
214 mChildren.add(child);
241 mChildren.forEach(child -> adapter.addItem(this, child));
243 mChildren.forEach(child -> adapter.remItem(child));
311 public void addItem(Item parent, Item child) { argument
313 mItems.add(index + 1, child);
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumeDialogImpl.java1252 public boolean onRequestSendAccessibilityEvent(ViewGroup host, View child, argument
1255 return super.onRequestSendAccessibilityEvent(host, child, event);
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityStack.java589 void positionChildWindowContainerAtTop(TaskRecord child) { argument
590 mWindowContainerController.positionChildAtTop(child.getWindowContainerController(),
1277 // Top level stack, not a child. Look for child stacks.
5250 + " is not a child of stack=" + this + " current parent=" + task.getStack());
/frameworks/base/services/core/java/com/android/server/firewall/
H A DNotFilter.java30 private NotFilter(Filter child) { argument
31 mChild = child;
45 Filter child = null;
49 if (child == null) {
50 child = filter;
53 "<not> tag can only contain a single child filter.", parser, null);
56 return new NotFilter(child);
/frameworks/base/services/core/java/com/android/server/wm/
H A DAppWindowToken.java468 // No need to loop through child window as base application and starting types can't be
469 // child windows.
833 // Also removes child windows.
841 // No need to loop through child windows as the answer should be the same as that of the
870 + " with replacing child windows.");
920 // try and clean up it's child surfaces. We need to prevent this from
953 * Returns true if the new child window we are adding to this token is considered greater than
954 * the existing child window in this token in terms of z-order.
998 void removeChild(WindowState child) { argument
999 super.removeChild(child);
[all...]
H A DDisplayContent.java156 /** The containers below are the only child containers the display can have. */
751 // Add itself as a child to the root container.
1502 final DisplayChildWindowContainer child = mChildren.get(i);
1503 if (child == mImeWindowsContainers && mService.mInputMethodTarget != null) {
1508 if (child.forAllWindows(callback, traverseTopToBottom)) {
1515 final DisplayChildWindowContainer child = mChildren.get(i);
1516 if (child == mImeWindowsContainers && mService.mInputMethodTarget != null) {
1521 if (child.forAllWindows(callback, traverseTopToBottom)) {
1736 protected void addChild(DisplayChildWindowContainer child, argument
1742 protected void addChild(DisplayChildWindowContainer child, in argument
1747 removeChild(DisplayChildWindowContainer child) argument
1758 positionChildAt(int position, DisplayChildWindowContainer child, boolean includingParents) argument
3295 positionChildAt(int position, TaskStack child, boolean includingParents) argument
[all...]
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...]

Completed in 270 milliseconds

123456789