Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DKeyguardClockSwitchTest.java75 private FrameLayout mLargeClockFrame; field in KeyguardClockSwitchTest
121 assertEquals(mLargeClockFrame.getChildCount(), 0); in noPluginConnected_showNothing()
128 assertEquals(mLargeClockFrame.getChildCount(), 1); in pluginConnectedThenDisconnected_showNothing()
132 assertEquals(mLargeClockFrame.getChildCount(), 0); in pluginConnectedThenDisconnected_showNothing()
193 assertThat(mLargeClockFrame.getAlpha()).isEqualTo(1); in switchingToBigClockWithAnimation_makesSmallClockDisappear()
194 assertThat(mLargeClockFrame.getVisibility()).isEqualTo(VISIBLE); in switchingToBigClockWithAnimation_makesSmallClockDisappear()
203 assertThat(mLargeClockFrame.getAlpha()).isEqualTo(1); in switchingToBigClockNoAnimation_makesSmallClockDisappear()
220 assertThat(mLargeClockFrame.getParent()).isNull(); in switchingToSmallClockWithAnimation_makesBigClockDisappear()
221 assertThat(mLargeClockFrame.getAlpha()).isEqualTo(0); in switchingToSmallClockWithAnimation_makesBigClockDisappear()
232 assertThat(mLargeClockFrame.getParent()).isNull(); in switchingToSmallClockNoAnimation_makesBigClockDisappear()
[all …]
H A DKeyguardClockSwitchControllerTest.java180 when(mLargeClockFrame.getVisibility()).thenReturn(View.VISIBLE); in testGetLargeClockBottom_returnsExpectedValue()
181 when(mLargeClockFrame.getHeight()).thenReturn(100); in testGetLargeClockBottom_returnsExpectedValue()
192 when(mLargeClockFrame.getVisibility()).thenReturn(View.GONE); in testGetSmallLargeClockBottom_returnsExpectedValue()
193 when(mLargeClockFrame.getHeight()).thenReturn(100); in testGetSmallLargeClockBottom_returnsExpectedValue()
H A DKeyguardClockSwitchControllerBaseTest.java113 protected FrameLayout mLargeClockFrame; field in KeyguardClockSwitchControllerBaseTest
155 when(mView.findViewById(R.id.lockscreen_clock_view_large)).thenReturn(mLargeClockFrame); in setup()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardClockSwitch.java93 private KeyguardClockFrame mLargeClockFrame; field in KeyguardClockSwitch
188 mLargeClockFrame = findViewById(R.id.lockscreen_clock_view_large); in onFinishInflate()
231 mLargeClockFrame.removeAllViews(); in setClock()
245 mLargeClockFrame.addView(clock.getLargeClock().getView()); in setClock()
263 if (mLargeClockFrame.isLaidOut()) { in updateClockTargetRegions()
264 Rect targetRegion = getLargeClockRegion(mLargeClockFrame); in updateClockTargetRegions()
309 in = mLargeClockFrame; in updateClockViews()
338 out = mLargeClockFrame; in updateClockViews()
467 pw.println(" mLargeClockFrame = " + mLargeClockFrame); in dump()
468 pw.println(" mLargeClockFrame.alpha = " + mLargeClockFrame.getAlpha()); in dump()
H A DKeyguardClockSwitchController.java88 private FrameLayout mLargeClockFrame; // centered clock field in KeyguardClockSwitchController
223 mLargeClockFrame = mView.findViewById(R.id.lockscreen_clock_view_large); in onInit()
463 PropertyAnimator.setProperty(mLargeClockFrame, AnimatableProperty.SCALE_X, in updatePosition()
465 PropertyAnimator.setProperty(mLargeClockFrame, AnimatableProperty.SCALE_Y, in updatePosition()
484 if (mLargeClockFrame.getVisibility() == View.VISIBLE) { in getClockBottom()
489 int frameHeight = mLargeClockFrame.getHeight(); in getClockBottom()
507 if (mLargeClockFrame.getVisibility() == View.VISIBLE) { in getClockHeight()
515 return mLargeClockFrame.getVisibility() != View.VISIBLE; in isClockTopAligned()