/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | CrossFadeHelper.java | 19 import android.view.View; 32 fadeOut(view, null); in fadeOut() 41 view.animate().cancel(); in fadeOut() 42 view.animate() in fadeOut() 79 view.animate().cancel(); in fadeOut() 89 view.setAlpha(alpha); in fadeOut() 117 view.animate().cancel(); in fadeIn() 119 view.setAlpha(0.0f); in fadeIn() 122 view.animate() in fadeIn() 149 view.animate().cancel(); in fadeIn() [all …]
|
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
H A D | CachingIconViewTest.java | 29 import android.view.LayoutInflater; 99 view.setImageURI(Uri.parse( in customDrawable_setImageUri_skipsResizeSuccessfully() 123 assertDrawableResized(view); in maxDrawableDimensionsSet_setImageIcon_resizesImageIcon() 141 assertDrawableResized(view); in maxDrawableDimensionsSet_setImageIconAsync_resizesImageIcon() 159 assertDrawableResized(view); in maxDrawableDimensionsSet_setImageResource_resizesImageIcon() 177 assertDrawableResized(view); in maxDrawableDimensionsSet_setImageResourceAsync_resizesImageIcon() 193 view.setImageURI(Uri.parse( in maxDrawableDimensionsSet_setImageUri_resizesImageIcon() 196 assertDrawableResized(view); in maxDrawableDimensionsSet_setImageUri_resizesImageIcon() 203 view.setImageURI(Uri.parse( in maxDrawableWithNoDimensionsSet_setImageUri_doesNotResizeImageIcon() 216 assertDrawableResized(view); in maxDrawableDimensionsSet_setImageUriAsync_resizesImageIcon() [all …]
|
/aosp14/frameworks/base/core/java/com/android/internal/view/ |
H A D | ScrollCaptureInternal.java | 17 package com.android.internal.view; 26 import android.view.View; 27 import android.view.ViewGroup; 78 if (!(view.canScrollVertically(DOWN) || view.canScrollVertically(UP))) { in detectScrollingType() 117 if (view.getScrollY() != 0) { in detectScrollingType() 137 view.scrollTo(view.getScrollX(), 1); in detectScrollingType() 141 view.scrollTo(view.getScrollX(), 0); in detectScrollingType() 168 + "[" + resolveId(view.getContext(), view.getId()) + "]"); in requestCallback() 175 + "[" + resolveId(view.getContext(), view.getId()) + "]" in requestCallback() 183 + "[" + resolveId(view.getContext(), view.getId()) + "]" in requestCallback() [all …]
|
H A D | ScrollViewCaptureHelper.java | 17 package com.android.internal.view; 23 import android.view.View; 24 import android.view.ViewGroup; 25 import android.view.ViewParent; 50 return view.isVisibleToUser() in onAcceptSession() 51 && (view.canScrollVertically(UP) || view.canScrollVertically(DOWN)); in onAcceptSession() 55 mStartScrollY = view.getScrollY(); in onPrepareForStart() 56 mOverScrollMode = view.getOverScrollMode(); in onPrepareForStart() 62 view.setVerticalScrollBarEnabled(false); in onPrepareForStart() 140 int remainingHeight = view.getHeight() - view.getPaddingTop() in onScrollRequested() [all …]
|
H A D | WebViewCaptureHelper.java | 17 package com.android.internal.view; 45 return view.isVisibleToUser() in onAcceptSession() 46 && (view.getContentHeight() * view.getScale()) > view.getHeight(); in onAcceptSession() 51 mOriginScrollX = view.getScrollX(); in onPrepareForStart() 52 mOriginScrollY = view.getScrollY(); in onPrepareForStart() 68 mWebViewBounds.set(0, 0, view.getWidth(), view.getHeight()); in onScrollRequested() 70 if (!view.isVisibleToUser()) { in onScrollRequested() 79 int upLimit = min(0, -view.getScrollY()); in onScrollRequested() 80 int contentHeightPx = (int) (view.getContentHeight() * view.getScale()); in onScrollRequested() 81 int downLimit = max(0, (contentHeightPx - view.getHeight()) - view.getScrollY()); in onScrollRequested() [all …]
|
/aosp14/frameworks/base/core/java/com/android/internal/widget/ |
H A D | OrientationHelper.java | 20 import android.view.View; 275 view.getLayoutParams(); in createHorizontalHelper() 283 view.getLayoutParams(); in createHorizontalHelper() 291 view.getLayoutParams(); in createHorizontalHelper() 298 view.getLayoutParams(); in createHorizontalHelper() 322 view.offsetLeftAndRight(offset); in createHorizontalHelper() 373 view.getLayoutParams(); 381 view.getLayoutParams(); 389 view.getLayoutParams(); 396 view.getLayoutParams(); [all …]
|
H A D | MessagingPropertyAnimator.java | 23 import android.view.View; 24 import android.view.ViewGroup; 25 import android.view.animation.Interpolator; 43 view -> view.getId() == com.android.internal.R.id.notification_messaging; 92 return getTop(view); in getLayoutTop() 105 startTopAnimation(view, getTop(view) + startTranslation, getLayoutTop(view), interpolator); in startLocalTranslationFrom() 116 int top = getTop(view); in startLocalTranslationTo() 219 if (!view.isShown() || (MessagingLinearLayout.isGone(view) && !isHidingAnimated(view))) { in fadeOut() 220 view.setAlpha(0.0f); in fadeOut() 227 view.getAlpha(), 0.0f); in fadeOut() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/ui/view/ |
H A D | ModernStatusBarViewTest.kt | 51 val view = createAndInitView() regex 60 val view = createAndInitView() regex 69 val view = createAndInitView() regex 78 val view = createAndInitView() regex 88 val view = createAndInitView() regex 97 val view = createAndInitView() regex 99 view.setDecorColor(0x23456789) 106 val view = createAndInitView() regex 126 view.translationX = 50f 127 view.translationY = 60f [all …]
|
/aosp14/frameworks/base/core/java/android/webkit/ |
H A D | WebViewClient.java | 24 import android.view.InputEvent; 25 import android.view.KeyEvent; 26 import android.view.ViewRootImpl; 114 public void onPageFinished(WebView view, String url) { in onPageFinished() argument 124 public void onLoadResource(WebView view, String url) { in onLoadResource() argument 339 onReceivedError(view, in onReceivedError() 471 public void onReceivedHttpAuthRequest(WebView view, in onReceivedHttpAuthRequest() argument 503 onUnhandledInputEventInternal(view, event); in onUnhandledKeyEvent() 527 onUnhandledKeyEvent(view, (KeyEvent) event); in onUnhandledInputEvent() 530 onUnhandledInputEventInternal(view, event); in onUnhandledInputEvent() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/ |
H A D | KeyguardQuickAffordanceViewBinder.kt | 23 import android.view.View 24 import android.view.ViewGroup 130 view: ImageView, 141 if (!view.isVisible) { 145 view.translationY = view.height / 2f 146 view 180 view.drawable.setTint( 182 view.context, 204 view 214 view, [all …]
|
H A D | KeyguardBottomAreaViewBinder.kt | 24 import android.view.View 25 import android.view.ViewGroup 108 view: ViewGroup, 307 view: ImageView, 322 view.translationY = view.height / 2f 323 view 381 view 391 view, 436 view: View, 541 view: View, [all …]
|
/aosp14/frameworks/base/core/java/android/view/ |
H A D | HandwritingInitiator.java | 17 package android.view; 274 if (connectedView == view) { in onInputConnectionCreated() 281 if (view.isHandwritingDelegate() && tryAcceptStylusHandwritingDelegation(view)) { in onInputConnectionCreated() 303 if (connectedView == view) { in onInputConnectionClosed() 450 view.requestFocus(); in requestFocusWithoutReveal() 453 view.requestFocus(); in requestFocusWithoutReveal() 501 return view; in findBestCandidateView() 578 if (viewParent != null && view.isAttachedToWindow() && view.isAggregatedVisible()) { in getViewHandwritingArea() 583 rect.set(0, 0, view.getWidth(), view.getHeight()); in getViewHandwritingArea() 616 mTempRegion.set(0, 0, view.getWidth(), view.getHeight()); in isInHandwritingArea() [all …]
|
H A D | ViewOutlineProvider.java | 17 package android.view; 35 public void getOutline(View view, Outline outline) { 36 Drawable background = view.getBackground(); 40 outline.setRect(0, 0, view.getWidth(), view.getHeight()); 54 public void getOutline(View view, Outline outline) { 55 outline.setRect(0, 0, view.getWidth(), view.getHeight()); 67 public void getOutline(View view, Outline outline) { 68 outline.setRect(view.getPaddingLeft(), 69 view.getPaddingTop(), 70 view.getWidth() - view.getPaddingRight(), [all …]
|
/aosp14/frameworks/base/core/java/com/android/internal/dynamicanimation/animation/ |
H A D | DynamicAnimation.java | 28 import android.view.View; 108 view.setScaleX(value); 113 return view.getScaleX(); 123 view.setScaleY(value); 183 view.setX(value); 188 return view.getX(); 198 view.setY(value); 203 return view.getY(); 213 view.setZ(value); 218 return view.getZ(); [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/view/ |
H A D | ModernStatusBarMobileViewTest.kt | 24 import android.view.View 99 val view = regex 109 ViewUtils.attachView(view) 120 val view = regex 140 val view = regex 163 val view = regex 183 val view = regex 202 val view = regex 221 val view = regex 238 val view = regex [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/ui/view/ |
H A D | ModernStatusBarWifiViewTest.kt | 24 import android.view.View 25 import android.view.ViewGroup 124 ViewUtils.attachView(view) 130 ViewUtils.detachView(view) 139 ViewUtils.attachView(view) 145 ViewUtils.detachView(view) 154 ViewUtils.attachView(view) 160 ViewUtils.detachView(view) 172 ViewUtils.attachView(view) 173 val lp = view.layoutParams [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/ |
H A D | ControlsAnimations.kt | 28 import android.view.View 29 import android.view.ViewGroup 30 import android.view.Window 54 view: ViewGroup, 99 view.translationY = 0f 107 view.transitionAlpha = 0.0f 108 view.alpha = 1.0f 110 view.translationY = translationY 143 view.translationY = 0.0f 162 WindowTransition({ view: View -> enterAnimation(view) }).apply { [all …]
|
/aosp14/frameworks/base/core/java/android/transition/ |
H A D | Slide.java | 24 import android.view.Gravity; 25 import android.view.View; 26 import android.view.ViewGroup; 71 return view.getTranslationY(); in getGoneY() 79 return view.getTranslationX(); in getGoneX() 163 View view = transitionValues.view; in captureValues() local 165 view.getLocationOnScreen(position); in captureValues() 240 float endX = view.getTranslationX(); in onAppear() 241 float endY = view.getTranslationY(); in onAppear() 256 float startX = view.getTranslationX(); in onDisappear() [all …]
|
H A D | ChangeTransform.java | 31 import android.view.GhostView; 32 import android.view.View; 33 import android.view.ViewGroup; 188 View view = transitionValues.view; in captureValues() local 286 final View view = endValues.view; in createTransformAnimator() local 370 View view = endValues.view; in createGhostView() local 382 GhostListener listener = new GhostListener(view, startValues.view, ghostView); in createGhostView() 385 if (startValues.view != endValues.view) { in createGhostView() 420 view.setScaleX(scaleX); in setTransforms() 476 mView = view; in GhostListener() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/ |
H A D | NotificationPanelUnfoldAnimationControllerTest.kt | 20 import android.view.View 21 import android.view.ViewGroup 92 val view = View(context) regex 96 assertThat(view.translationX).isZero() 99 assertThat(view.translationX).isZero() 102 assertThat(view.translationX).isZero() 112 val view = View(context) regex 132 val view = View(context) regex 152 val view = View(context) regex 172 val view = View(context) regex [all …]
|
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/animation/ |
H A D | UnfoldMoveFromCenterAnimator.kt | 19 import android.view.Surface 20 import android.view.Surface.Rotation 21 import android.view.View 22 import android.view.WindowManager 78 animatedView.view.get()?.let { 112 view.get()?.let { view -> 114 view = view, 127 AnimatedView(view = WeakReference(view)).updateAnimatedView(view) 157 view.translationX = x 158 view.translationY = y [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/animation/ |
H A D | UnfoldMoveFromCenterAnimatorTest.kt | 20 import android.view.Display 21 import android.view.Surface.ROTATION_0 22 import android.view.Surface.ROTATION_90 23 import android.view.View 24 import android.view.WindowManager 60 animator.registerViewForAnimation(view) 76 animator.registerViewForAnimation(view) 92 animator.registerViewForAnimation(view) 163 val view = createView(x = 20) regex 183 val view = spy(View(context)) regex [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/footer/ui/binder/ |
H A D | FooterActionsViewBinder.kt | 21 import android.view.LayoutInflater 22 import android.view.View 23 import android.view.ViewGroup 28 import androidx.core.view.isVisible 58 view: LinearLayout, 274 val view = regex 280 root.addView(view) 292 val view = regex 298 root.addView(view) 313 val view = regex [all …]
|
/aosp14/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/ |
H A D | MyAutofillCallback.java | 16 package android.view.autofill; 18 import android.view.View; 19 import android.view.autofill.AutofillManager.AutofillCallback; 51 public void onAutofillEvent(View view, int event) { in onAutofillEvent() argument 80 if (!myEvent.view.equals(view) || myEvent.event != event) { in expectEvent() 82 + toString(view, event)); in expectEvent() 109 private static String toString(View view, int event) { in toString() argument 110 return eventToString(event) + ": " + view + ")"; in toString() 114 public final View view; field in MyAutofillCallback.MyEvent 117 MyEvent(View view, int event) { in MyEvent() argument [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | PropertyAnimator.java | 24 import android.view.View; 25 import android.view.animation.Interpolator; 86 property.set(view, newEndValue); in startAnimation() 91 Float currentValue = property.get(view); in startAnimation() 124 view.setTag(animatorTag, null); in startAnimation() 125 view.setTag(animationStartTag, null); in startAnimation() 126 view.setTag(animationEndTag, null); in startAnimation() 130 view.setTag(animatorTag, animator); in startAnimation() 132 view.setTag(animationEndTag, newEndValue); in startAnimation() 137 cancelAnimation(view, property); in applyImmediately() [all …]
|