Searched refs:setMaximumObscuringOpacityForTouch (Results 1 – 2 of 2) sorted by relevance
201 mPreviousTouchOpacity = setMaximumObscuringOpacityForTouch(MAXIMUM_OBSCURING_OPACITY); in setUp()223 setMaximumObscuringOpacityForTouch(mPreviousTouchOpacity); in tearDown()230 setMaximumObscuringOpacityForTouch(mPreviousTouchOpacity); in testMaximumObscuringOpacity()239 setMaximumObscuringOpacityForTouch(threshold); in testAfterSettingThreshold_returnsThresholdSet()246 setMaximumObscuringOpacityForTouch(-.5f); in testAfterSettingThresholdLessThan0_throws()251 setMaximumObscuringOpacityForTouch(1.5f); in testAfterSettingThresholdGreaterThan1_throws()367 setMaximumObscuringOpacityForTouch(0); in testWhenThresholdIs0AndSawWindowAtThreshold_allowsTouch()378 setMaximumObscuringOpacityForTouch(0); in testWhenThresholdIs0AndSawWindowAboveThreshold_allowsTouch()390 setMaximumObscuringOpacityForTouch(1); in testWhenThresholdIs1AndSawWindowAtThreshold_allowsTouch()401 setMaximumObscuringOpacityForTouch(1); in testWhenThresholdIs1AndSawWindowBelowThreshold_allowsTouch()[all …]
1781 …ifest.permission.WRITE_SECURE_SETTINGS) public static void setMaximumObscuringOpacityForTouch(@Non…