Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityManagerTest.java99 private int mFocusColorDefaultValue; field in AccessibilityManagerTest
108 mFocusColorDefaultValue = mInstrumentation.getContext().getResources().getColor( in setUp()
126 when(mMockService.getFocusColor()).thenReturn(mFocusColorDefaultValue); in createManager()
245 assertEquals(mFocusColorDefaultValue, in testGetDefaultValueOfFocusAppearanceData()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DProxyAccessibilityServiceConnectionTest.java87 private int mFocusColorDefaultValue; field in ProxyAccessibilityServiceConnectionTest
106 mFocusColorDefaultValue = mProxyConnection.getFocusColorLocked(); in setup()
123 final int updatedColor = mFocusColorDefaultValue in testSetFocusAppearance_updateAppearance_notifiesSystemOfProxyChange()
DAccessibilityUserStateTest.java120 private int mFocusColorDefaultValue; field in AccessibilityUserStateTest
139 mFocusColorDefaultValue = resources.getColor(R.color.accessibility_focus_highlight_color); in setUp()
196 assertEquals(mFocusColorDefaultValue, mUserState.getFocusColorLocked()); in onSwitchToAnotherUser_userStateClearedNonDefaultValues()
423 assertEquals(mFocusColorDefaultValue, mUserState.getFocusColorLocked()); in setFocusAppearanceData_returnExpectedFocusAppearanceData()
DProxyManagerTest.java120 private int mFocusColorDefaultValue; field in ProxyManagerTest
132 mFocusColorDefaultValue = resources.getColor(R.color.accessibility_focus_highlight_color); in setup()
422 assertThat(focusColor).isEqualTo(mFocusColorDefaultValue); in testGetFocusColor_defaultProxy_getsDefaultSystemColor()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityUserState.java164 private final int mFocusColorDefaultValue; field in AccessibilityUserState
193 mFocusColorDefaultValue = mContext.getResources().getColor( in AccessibilityUserState()
196 mFocusColor = mFocusColorDefaultValue; in AccessibilityUserState()
240 mFocusColor = mFocusColorDefaultValue; in onSwitchToAnotherUserLocked()