Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ongoingcall/
H A DOngoingCallController.kt71 private var chipView: View? = null
136 fun setChipView(chipView: View) {
138 this.chipView = chipView
140 chipView.findViewById(R.id.ongoing_call_chip_background)
182 val currentChipView = chipView
221 chipView?.setOnClickListener(null)
223 val currentChipView = chipView
269 fun tearDownChipView() = chipView?.getTimeView()?.stop()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ongoingcall/
H A DOngoingCallControllerTest.kt96 private lateinit var chipView: View
125 controller.setChipView(chipView)
184 chipView.measure(
199 chipView.measure(
458 chipView.performClick()
472 chipView.performClick()
493 assertThat(chipView.hasOnClickListeners()).isTrue()
503 assertThat(chipView.hasOnClickListeners()).isFalse()
513 assertThat(chipView.hasOnClickListeners()).isFalse()
526 assertThat(chipView.hasOnClickListeners()).isTrue()
[all …]
H A DOngoingCallBackgroundContainerTest.kt42 val chipView = LayoutInflater.from(context).inflate(R.layout.ongoing_call_chip, null) regex
43 underTest = chipView.requireViewById(R.id.ongoing_call_chip_background)
H A DOngoingCallChronometerTest.kt50 val chipView = LayoutInflater.from(mContext).inflate(R.layout.ongoing_call_chip, null) regex
51 textView = chipView.findViewById(R.id.ongoing_call_chip_time)!!
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/taptotransfer/receiver/
H A DMediaTttChipControllerReceiverTest.kt434 val chipView = getChipView() regex
435 assertThat(chipView.getAppIconView().paddingLeft).isEqualTo(0)
436 assertThat(chipView.getAppIconView().paddingRight).isEqualTo(0)
437 assertThat(chipView.getAppIconView().paddingTop).isEqualTo(0)
438 assertThat(chipView.getAppIconView().paddingBottom).isEqualTo(0)
445 val chipView = getChipView() regex
448 assertThat(chipView.getAppIconView().paddingLeft).isEqualTo(expectedPadding)
449 assertThat(chipView.getAppIconView().paddingRight).isEqualTo(expectedPadding)
450 assertThat(chipView.getAppIconView().paddingTop).isEqualTo(expectedPadding)
451 assertThat(chipView.getAppIconView().paddingBottom).isEqualTo(expectedPadding)