Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DKeyguardClockSwitchTest.java74 private FrameLayout mSmallClockFrame; field in KeyguardClockSwitchTest
122 assertEquals(mSmallClockFrame.getChildCount(), 0); in noPluginConnected_showNothing()
129 assertEquals(mSmallClockFrame.getChildCount(), 1); in pluginConnectedThenDisconnected_showNothing()
133 assertEquals(mSmallClockFrame.getChildCount(), 0); in pluginConnectedThenDisconnected_showNothing()
195 assertThat(mSmallClockFrame.getAlpha()).isEqualTo(0); in switchingToBigClockWithAnimation_makesSmallClockDisappear()
196 assertThat(mSmallClockFrame.getVisibility()).isEqualTo(INVISIBLE); in switchingToBigClockWithAnimation_makesSmallClockDisappear()
205 assertThat(mSmallClockFrame.getAlpha()).isEqualTo(0); in switchingToBigClockNoAnimation_makesSmallClockDisappear()
217 assertThat(mSmallClockFrame.getAlpha()).isEqualTo(1); in switchingToSmallClockWithAnimation_makesBigClockDisappear()
218 assertThat(mSmallClockFrame.getVisibility()).isEqualTo(VISIBLE); in switchingToSmallClockWithAnimation_makesBigClockDisappear()
229 assertThat(mSmallClockFrame.getAlpha()).isEqualTo(1); in switchingToSmallClockNoAnimation_makesBigClockDisappear()
[all …]
H A DKeyguardClockSwitchControllerBaseTest.java111 protected FrameLayout mSmallClockFrame; field in KeyguardClockSwitchControllerBaseTest
156 when(mView.findViewById(R.id.lockscreen_clock_view)).thenReturn(mSmallClockFrame); in setup()
H A DKeyguardClockSwitchControllerTest.java182 when(mSmallClockFrame.getHeight()).thenReturn(50); in testGetLargeClockBottom_returnsExpectedValue()
194 when(mSmallClockFrame.getHeight()).thenReturn(50); in testGetSmallLargeClockBottom_returnsExpectedValue()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardClockSwitch.java92 private KeyguardClockFrame mSmallClockFrame; field in KeyguardClockSwitch
187 mSmallClockFrame = findViewById(R.id.lockscreen_clock_view); in onFinishInflate()
230 mSmallClockFrame.removeAllViews(); in setClock()
244 mSmallClockFrame.addView(clock.getSmallClock().getView()); in setClock()
258 if (mSmallClockFrame.isLaidOut()) { in updateClockTargetRegions()
259 Rect targetRegion = getSmallClockRegion(mSmallClockFrame); in updateClockTargetRegions()
308 out = mSmallClockFrame; in updateClockViews()
337 in = mSmallClockFrame; in updateClockViews()
361 mSmallClockFrame.setTranslationY(statusAreaYTranslation); in updateClockViews()
465 pw.println(" mSmallClockFrame = " + mSmallClockFrame); in dump()
[all …]
H A DKeyguardClockSwitchController.java87 private FrameLayout mSmallClockFrame; // top aligned clock field in KeyguardClockSwitchController
222 mSmallClockFrame = mView.findViewById(R.id.lockscreen_clock_view); in onInit()
461 PropertyAnimator.setProperty(mSmallClockFrame, AnimatableProperty.TRANSLATION_X, in updatePosition()