HomeSort by relevance Sort by last modified time
    Searched refs:mKeyguardHostView (Results 1 - 2 of 2) sorted by null

  /frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
KeyguardHostViewTest.java 37 private KeyguardHostView mKeyguardHostView;
41 mKeyguardHostView = new KeyguardHostView(getContext());
46 Assert.assertFalse("Action not set yet", mKeyguardHostView.hasDismissActions());
47 mKeyguardHostView.setOnDismissAction(mock(KeyguardHostView.OnDismissAction.class),
49 Assert.assertTrue("Action should exist", mKeyguardHostView.hasDismissActions());
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
KeyguardBouncerTest.java 69 private KeyguardHostView mKeyguardHostView;
82 when(mKeyguardHostView.getViewTreeObserver()).thenReturn(mViewTreeObserver);
83 when(mKeyguardHostView.getHeight()).thenReturn(500);
90 mKeyguardView = mKeyguardHostView;
118 reset(mKeyguardHostView);
119 when(mKeyguardHostView.getHeight()).thenReturn(500);
122 verify(mKeyguardHostView).setAlpha(eq(1f));
123 verify(mKeyguardHostView).setTranslationY(eq(0f));
140 verify(mKeyguardHostView).dismiss(anyInt());
146 verify(mKeyguardHostView, never()).showPrimarySecurityScreen()
    [all...]

Completed in 350 milliseconds