Home
last modified time | relevance | path

Searched refs:hostView (Results 1 – 20 of 20) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/
H A DMediaHost.kt40 lateinit var hostView: UniqueObjectHostView
55 hostView.getLocationOnScreen(tmpLocationOnScreen)
56 var left = tmpLocationOnScreen[0] + hostView.paddingLeft
57 var top = tmpLocationOnScreen[1] + hostView.paddingTop
58 var right = tmpLocationOnScreen[0] + hostView.width - hostView.paddingRight
59 var bottom = tmpLocationOnScreen[1] + hostView.height - hostView.paddingBottom
141 hostView = mediaHierarchyManager.register(this)
145 hostView.addOnAttachStateChangeListener(
159 hostView.measurementManager =
208 if (newVisibility != hostView.visibility) {
[all …]
H A DKeyguardMediaController.kt173 mediaHost.hostView.layoutParams.apply {
202 mediaHost.hostView.parent?.let { (it as? ViewGroup)?.removeView(mediaHost.hostView) }
203 activeContainer.addView(mediaHost.hostView)
H A DMediaHierarchyManager.kt582 mediaObject.hostView = viewHost
704 !previousHost.hostView.isAttachedToWindow
1034 getHost(newLocation)?.hostView?.isShown == false &&
1054 val targetHost = getHost(newLocation)!!.hostView
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
H A DStackScrollAlgorithmTest.kt140 hostView.removeAllViews()
248 hostView.removeAllViews()
262 hostView.removeAllViews()
272 hostView.removeAllViews()
274 hostView.addView(row1)
276 hostView.addView(row2)
334 hostView.addView(footerView)
347 hostView.addView(footerView)
361 hostView.addView(footerView)
1025 hostView.removeAllViews()
[all …]
/aosp14/frameworks/base/core/java/android/view/
H A DViewOverlay.java51 ViewOverlay(Context context, View hostView) { in ViewOverlay() argument
52 mOverlayViewGroup = new OverlayViewGroup(context, hostView); in ViewOverlay()
139 OverlayViewGroup(Context context, View hostView) { in OverlayViewGroup() argument
141 mHostView = hostView; in OverlayViewGroup()
144 mRight = hostView.getWidth(); in OverlayViewGroup()
145 mBottom = hostView.getHeight(); in OverlayViewGroup()
H A DViewGroupOverlay.java36 ViewGroupOverlay(Context context, View hostView) { in ViewGroupOverlay() argument
37 super(context, hostView); in ViewGroupOverlay()
H A DView.java6456 public DeclaredOnClickListener(@NonNull View hostView, @NonNull String methodName) {
6457 mHostView = hostView;
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
H A DFaceAuthAccessibilityDelegateTest.kt48 @Mock private lateinit var hostView: View
69 underTest.onInitializeAccessibilityNodeInfo(hostView, mockedNodeInfo)
88 underTest.onInitializeAccessibilityNodeInfo(hostView, mockedNodeInfo)
101 hostView,
H A DUdfpsKeyguardAccessibilityDelegateTest.kt43 @Mock private lateinit var hostView: View
60 underTest.onInitializeAccessibilityNodeInfo(hostView, mockedNodeInfo)
78 hostView,
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dream/
H A DMediaComplicationViewController.java58 mMediaHost.hostView.setLayoutParams(new FrameLayout.LayoutParams( in onViewAttached()
61 mView.addView(mMediaHost.hostView); in onViewAttached()
66 mView.removeView(mMediaHost.hostView); in onViewDetached()
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DMessagingMessageState.java34 MessagingMessageState(View hostView) { in MessagingMessageState() argument
35 mHostView = hostView; in MessagingMessageState()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/preview/
H A DKeyguardPreviewRenderer.kt444 val hostView = FrameLayout(context) regex
445 hostView.layoutParams =
450 return hostView
454 val hostView = FrameLayout(context) regex
463 hostView.layoutParams = layoutParams
465 hostView.setPaddingRelative(
471 hostView.clipChildren = false
472 return hostView
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/
H A DKeyguardMediaControllerTest.kt62 private val hostView = UniqueObjectHostView(context) regex
80 whenever(mediaHost.hostView).thenReturn(hostView)
81 hostView.layoutParams = FrameLayout.LayoutParams(100, 100)
H A DMediaHierarchyManagerTest.kt144 whenever(host.hostView).thenReturn(uniqueObjectHostView)
152 verify(lockHost).hostView = eq(host)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSPanel.java452 private void reAttachMediaHost(ViewGroup hostView, boolean horizontal) { in reAttachMediaHost() argument
456 mMediaHostView = hostView; in reAttachMediaHost()
458 ViewGroup currentParent = (ViewGroup) hostView.getParent(); in reAttachMediaHost()
463 currentParent.removeView(hostView); in reAttachMediaHost()
465 newParent.addView(hostView); in reAttachMediaHost()
466 LinearLayout.LayoutParams layoutParams = (LayoutParams) hostView.getLayoutParams(); in reAttachMediaHost()
478 hostView.setLayoutParams(layoutParams); in reAttachMediaHost()
H A DQSFragment.java791 View hostView = mQsMediaHost.getHostView(); in updateMediaPositions() local
797 float translationY = -hostView.getHeight() * 1.3f * interpolation; in updateMediaPositions()
798 hostView.setTranslationY(translationY); in updateMediaPositions()
800 hostView.setTranslationY(0); in updateMediaPositions()
H A DQSAnimator.java441 && mQsPanelController.mMediaHost.hostView != null) { in updateAnimators()
442 builder.addFloat(mQsPanelController.mMediaHost.hostView, "alpha", 0, 1); in updateAnimators()
445 mQsPanelController.mMediaHost.hostView.setAlpha(1.0f); in updateAnimators()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dream/
H A DMediaComplicationViewControllerTest.java52 mMediaHost.hostView = mView; in setup()
/aosp14/frameworks/base/core/java/android/transition/
H A DTransitionUtils.java117 public static Bitmap createDrawableBitmap(Drawable drawable, View hostView) { in createDrawableBitmap() argument
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
H A DStackScrollAlgorithm.java78 ViewGroup hostView) { in StackScrollAlgorithm() argument
79 mHostView = hostView; in StackScrollAlgorithm()