Searched refs:KeyguardClockAccessibilityDelegate (Results 1 – 3 of 3) sorted by relevance
53 mView.setAccessibilityDelegate(new KeyguardClockAccessibilityDelegate(mContext)); in setUp()91 assertTrue(KeyguardClockAccessibilityDelegate.isNeeded(mContext)); in isNeeded_returnsTrueIfDateFormatsContainNonAscii()100 assertEquals(hasFancyColon, KeyguardClockAccessibilityDelegate.isNeeded(mContext)); in isNeeded_returnsWhetherFancyColonExists()
31 class KeyguardClockAccessibilityDelegate extends View.AccessibilityDelegate { class34 public KeyguardClockAccessibilityDelegate(Context context) { in KeyguardClockAccessibilityDelegate() method in KeyguardClockAccessibilityDelegate
74 if (KeyguardClockAccessibilityDelegate.isNeeded(mContext)) { in onFinishInflate()75 mClockView.setAccessibilityDelegate(new KeyguardClockAccessibilityDelegate(mContext)); in onFinishInflate()