Home
last modified time | relevance | path

Searched refs:chipView (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ongoingcall/
DOngoingCallController.kt80 private var chipView: View? = null in <lambda>() variable in com.android.systemui.statusbar.phone.ongoingcall.OngoingCallController
156 fun setChipView(chipView: View) { in <lambda>()
158 this.chipView = chipView in <lambda>()
160 chipView.findViewById(R.id.ongoing_activity_chip_background) in <lambda>()
216 val currentChipView = chipView in <lambda>()
272 val currentChipView = chipView in <lambda>()
321 @VisibleForTesting fun tearDownChipView() = chipView?.getTimeView()?.stop() in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/taptotransfer/receiver/
DMediaTttChipControllerReceiverTest.kt433 val chipView = getChipView() in updateView_isAppIcon_usesAppIconPadding() constant
434 assertThat(chipView.getAppIconView().paddingLeft).isEqualTo(0) in updateView_isAppIcon_usesAppIconPadding()
435 assertThat(chipView.getAppIconView().paddingRight).isEqualTo(0) in updateView_isAppIcon_usesAppIconPadding()
436 assertThat(chipView.getAppIconView().paddingTop).isEqualTo(0) in updateView_isAppIcon_usesAppIconPadding()
437 assertThat(chipView.getAppIconView().paddingBottom).isEqualTo(0) in updateView_isAppIcon_usesAppIconPadding()
444 val chipView = getChipView() in updateView_notAppIcon_usesGenericIconPadding() constant
447 assertThat(chipView.getAppIconView().paddingLeft).isEqualTo(expectedPadding) in updateView_notAppIcon_usesGenericIconPadding()
448 assertThat(chipView.getAppIconView().paddingRight).isEqualTo(expectedPadding) in updateView_notAppIcon_usesGenericIconPadding()
449 assertThat(chipView.getAppIconView().paddingTop).isEqualTo(expectedPadding) in updateView_notAppIcon_usesGenericIconPadding()
450 assertThat(chipView.getAppIconView().paddingBottom).isEqualTo(expectedPadding) in updateView_notAppIcon_usesGenericIconPadding()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ongoingcall/
DOngoingCallControllerTest.kt105 private lateinit var chipView: View variable in com.android.systemui.statusbar.phone.ongoingcall.OngoingCallControllerTest
111 chipView = LayoutInflater.from(mContext).inflate(R.layout.ongoing_activity_chip, null) in setUp()
135 controller.setChipView(chipView) in setUp()
214 chipView.measure( in onEntryUpdated_notificationWhenIsZero_timeHidden()
219 assertThat(chipView.findViewById<View>(R.id.ongoing_activity_chip_time)?.measuredWidth) in onEntryUpdated_notificationWhenIsZero_timeHidden()
231 chipView.measure( in onEntryUpdated_notificationWhenIsZero_timeShown()
236 assertThat(chipView.findViewById<View>(R.id.ongoing_activity_chip_time)?.measuredWidth) in onEntryUpdated_notificationWhenIsZero_timeShown()
247 chipView.measure( in onEntryUpdated_notificationWhenIsValid_timeShown()
252 assertThat(chipView.findViewById<View>(R.id.ongoing_activity_chip_time)?.measuredWidth) in onEntryUpdated_notificationWhenIsValid_timeShown()
552 chipView.performClick() in chipClicked_clickEventLogged()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ui/binder/
DCollapsedStatusBarViewBinder.kt86 val chipView: View = view.requireViewById(R.id.ongoing_activity_chip) in bind() constant
88 chipView.requireViewById(R.id.ongoing_activity_chip_icon) in bind()
90 chipView.requireViewById(R.id.ongoing_activity_chip_time) in bind()
97 chipView.setOnClickListener(chipModel.onClickListener) in bind()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/ui/viewmodel/
DOngoingActivityChipViewModelTest.kt41 private val chipView = constant in com.android.systemui.statusbar.chips.ui.viewmodel.OngoingActivityChipViewModelTest
58 clickListener.onClick(chipView) in createDialogLaunchOnClickListener_showsDialogOnClick()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/ui/view/
DChipBackgroundContainerTest.kt42 val chipView = in setUp() constant
44 underTest = chipView.requireViewById(R.id.ongoing_activity_chip_background) in setUp()
DChipChronometerTest.kt50 val chipView = in setUp() constant
52 textView = chipView.findViewById(R.id.ongoing_activity_chip_time)!! in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/screenrecord/ui/viewmodel/
DScreenRecordChipViewModelTest.kt61 private val chipView = constant in com.android.systemui.statusbar.chips.screenrecord.ui.viewmodel.ScreenRecordChipViewModelTest
141 clickListener.onClick(chipView) in chip_notProjecting_clickListenerShowsDialog()
162 clickListener.onClick(chipView) in chip_projectingEntireScreen_clickListenerShowsDialog()
186 clickListener.onClick(chipView) in chip_projectingSingleTask_clickListenerShowsDialog()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/call/ui/viewmodel/
DCallChipViewModelTest.kt48 private val chipView = constant
143 clickListener.onClick(chipView) in chip_inCall_nullIntent_clickListenerDoesNothing()
156 clickListener.onClick(chipView) in chip_inCall_validIntent_clickListenerLaunchesIntent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/sharetoapp/ui/viewmodel/
DShareToAppChipViewModelTest.kt62 private val chipView = constant in com.android.systemui.statusbar.chips.sharetoapp.ui.viewmodel.ShareToAppChipViewModelTest
181 clickListener.onClick(chipView) in chip_entireScreen_clickListenerShowsShareDialog()
203 clickListener.onClick(chipView) in chip_singleTask_clickListenerShowsShareDialog()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/casttootherdevice/ui/viewmodel/
DCastToOtherDeviceChipViewModelTest.kt62 private val chipView = constant
178 clickListener.onClick(chipView) in chip_entireScreen_clickListenerShowsCastDialog()
201 clickListener.onClick(chipView) in chip_singleTask_clickListenerShowsCastDialog()