Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/view/
DMediaHost.kt44 lateinit var hostView: UniqueObjectHostView in <lambda>() variable
59 hostView.getLocationOnScreen(tmpLocationOnScreen) in <lambda>()
60 var left = tmpLocationOnScreen[0] + hostView.paddingLeft in <lambda>()
61 var top = tmpLocationOnScreen[1] + hostView.paddingTop in <lambda>()
62 var right = tmpLocationOnScreen[0] + hostView.width - hostView.paddingRight in <lambda>()
63 var bottom = tmpLocationOnScreen[1] + hostView.height - hostView.paddingBottom in <lambda>()
145 hostView = mediaHierarchyManager.register(this) in <lambda>()
149 hostView.addOnAttachStateChangeListener( in <lambda>()
163 hostView.measurementManager = in <lambda>()
214 if (newVisibility != hostView.visibility) { in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DFaceAuthAccessibilityDelegateTest.kt44 @Mock private lateinit var hostView: View variable in com.android.systemui.biometrics.FaceAuthAccessibilityDelegateTest
64 underTest.onInitializeAccessibilityNodeInfo(hostView, mockedNodeInfo) in shouldListenForFaceTrue_onInitializeAccessibilityNodeInfo_clickActionAdded()
83 underTest.onInitializeAccessibilityNodeInfo(hostView, mockedNodeInfo) in shouldListenForFaceFalse_onInitializeAccessibilityNodeInfo_clickActionNotAdded()
96 hostView, in performAccessibilityAction_actionClick_retriesFaceAuth()
DUdfpsKeyguardAccessibilityDelegateTest.kt43 @Mock private lateinit var hostView: View variable in com.android.systemui.biometrics.UdfpsKeyguardAccessibilityDelegateTest
60 underTest.onInitializeAccessibilityNodeInfo(hostView, mockedNodeInfo) in onInitializeAccessibilityNodeInfo_clickActionAdded()
78 hostView, in performAccessibilityAction_actionClick_showsPrimaryBouncer()
/frameworks/base/core/java/android/view/
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()
DViewGroupOverlay.java36 ViewGroupOverlay(Context context, View hostView) { in ViewGroupOverlay() argument
37 super(context, hostView); in ViewGroupOverlay()
DView.java6757 public DeclaredOnClickListener(@NonNull View hostView, @NonNull String methodName) {
6758 mHostView = hostView;
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dream/
DMediaComplicationViewController.java58 mMediaHost.hostView.setLayoutParams(new FrameLayout.LayoutParams( in onViewAttached()
61 mView.addView(mMediaHost.hostView); in onViewAttached()
66 mView.removeView(mMediaHost.hostView); in onViewDetached()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DStackScrollAlgorithmTest.kt54 private val hostView = FrameLayout(context) in <lambda>() constant in com.android.systemui.statusbar.notification.stack.StackScrollAlgorithmTest
55 private val stackScrollAlgorithm = StackScrollAlgorithm(context, hostView) in <lambda>()
104 hostView.addView(notificationRow) in <lambda>()
274 hostView.removeAllViews() in <lambda>()
275 hostView.addView(emptyShadeView) in <lambda>()
387 hostView.removeAllViews() in <lambda>()
388 hostView.addView(emptyShadeView) in <lambda>()
400 hostView.removeAllViews() in <lambda>()
401 hostView.addView(emptyShadeView) in <lambda>()
413 hostView.removeAllViews() in <lambda>()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DMessagingMessageState.java34 MessagingMessageState(View hostView) { in MessagingMessageState() argument
35 mHostView = hostView; in MessagingMessageState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/util/
DInteractionHandlerDelegate.kt58 val hostView = getNearestParent(view) in onInteraction() constant
60 hostView?.let(ActivityTransitionAnimator.Controller::fromView) in onInteraction()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/
DKeyguardMediaControllerTest.kt65 private val hostView = UniqueObjectHostView(context) constant in com.android.systemui.media.controls.ui.controller.KeyguardMediaControllerTest
80 whenever(mediaHost.hostView).thenReturn(hostView) in setup()
81 hostView.layoutParams = FrameLayout.LayoutParams(100, 100) in setup()
DMediaHierarchyManagerTest.kt186 whenever(host.hostView).thenReturn(uniqueObjectHostView) in setupHost()
194 verify(lockHost).hostView = eq(host) in testHostViewSetOnRegister()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSPanel.java487 private void reAttachMediaHost(ViewGroup hostView, boolean horizontal) { in reAttachMediaHost() argument
490 ViewGroup parent = (ViewGroup) hostView.getParent(); in reAttachMediaHost()
492 parent.removeView(hostView); in reAttachMediaHost()
496 mMediaHostView = hostView; in reAttachMediaHost()
498 ViewGroup currentParent = (ViewGroup) hostView.getParent(); in reAttachMediaHost()
503 currentParent.removeView(hostView); in reAttachMediaHost()
505 newParent.addView(hostView); in reAttachMediaHost()
506 LinearLayout.LayoutParams layoutParams = (LayoutParams) hostView.getLayoutParams(); in reAttachMediaHost()
518 hostView.setLayoutParams(layoutParams); in reAttachMediaHost()
DQSImpl.java806 View hostView = mQsMediaHost.getHostView(); in updateMediaPositions() local
812 float translationY = -hostView.getHeight() * 1.3f * interpolation; in updateMediaPositions()
813 hostView.setTranslationY(translationY); in updateMediaPositions()
815 hostView.setTranslationY(0); in updateMediaPositions()
DQSAnimator.java439 && mQsPanelController.mMediaHost.hostView != null) { in updateAnimators()
440 builder.addFloat(mQsPanelController.mMediaHost.hostView, "alpha", 0, 1); in updateAnimators()
443 mQsPanelController.mMediaHost.hostView.setAlpha(1.0f); in updateAnimators()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DKeyguardMediaController.kt154 mediaHost.hostView.layoutParams.apply { in onMediaHostVisibilityChanged()
183 mediaHost.hostView.parent?.let { (it as? ViewGroup)?.removeView(mediaHost.hostView) } in reattachHostView()
184 activeContainer.addView(mediaHost.hostView) in reattachHostView()
DMediaHierarchyManager.kt662 mediaObject.hostView = viewHost in register()
784 !previousHost.hostView.isAttachedToWindow in performTransitionToNewLocation()
1131 getHost(newLocation)?.hostView?.isShown == false && in updateHostAttachment()
1151 val targetHost = getHost(newLocation)!!.hostView in updateHostAttachment()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dream/
DMediaComplicationViewControllerTest.java52 mMediaHost.hostView = mView; in setup()
/frameworks/base/core/java/android/transition/
DTransitionUtils.java117 public static Bitmap createDrawableBitmap(Drawable drawable, View hostView) { in createDrawableBitmap() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DStackScrollAlgorithm.java83 ViewGroup hostView) { in StackScrollAlgorithm() argument
84 mHostView = hostView; in StackScrollAlgorithm()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/
DCommunalHub.kt1230 viewModel.mediaHost.hostView.layoutParams = in Umo()
1235 viewModel.mediaHost.hostView in Umo()