Searched refs:stateBuilder (Results 1 – 5 of 5) sorted by relevance
42 DisplayBrightnessState.Builder stateBuilder) { in apply() argument46 float value = stateBuilder.getBrightness(); in apply()48 stateBuilder.setBrightness(getBrightnessAdjusted(value, request)); in apply()49 stateBuilder.getBrightnessReason().addModifier(getModifier()); in apply()52 stateBuilder.setIsSlowChange(false); in apply()56 stateBuilder.setIsSlowChange(false); in apply()
171 DisplayBrightnessState.Builder stateBuilder) { in apply() argument173 stateBuilder.setMinBrightness(mBrightnessLowerBound); in apply()174 float boundedBrightness = Math.max(mBrightnessLowerBound, stateBuilder.getBrightness()); in apply()175 stateBuilder.setBrightness(boundedBrightness); in apply()176 if (BrightnessSynchronizer.floatEquals(stateBuilder.getBrightness(), in apply()178 stateBuilder.getBrightnessReason().addModifier(mReason); in apply()
33 DisplayBrightnessState.Builder stateBuilder); in apply() argument
239 StringBuilder stateBuilder = new StringBuilder(); in printStates() local241 stateBuilder.append(" ").append(mStateDepository.get(i).toString()).append("->"); in printStates()243 return stateBuilder.toString(); in printStates()
1711 val stateBuilder = PlaybackState.Builder().setActions(stateActions) in testPlaybackActions_hasPrevNext() constant1713 stateBuilder.addCustomAction("action: $it", it, android.R.drawable.ic_media_pause) in testPlaybackActions_hasPrevNext()1715 whenever(controller.playbackState).thenReturn(stateBuilder.build()) in testPlaybackActions_hasPrevNext()1752 val stateBuilder = PlaybackState.Builder().setActions(stateActions) in testPlaybackActions_noPrevNext_usesCustom() constant1754 stateBuilder.addCustomAction("action: $it", it, android.R.drawable.ic_media_pause) in testPlaybackActions_noPrevNext_usesCustom()1756 whenever(controller.playbackState).thenReturn(stateBuilder.build()) in testPlaybackActions_noPrevNext_usesCustom()1784 val stateBuilder = in testPlaybackActions_connecting() constant1788 whenever(controller.playbackState).thenReturn(stateBuilder.build()) in testPlaybackActions_connecting()1805 val stateBuilder = PlaybackState.Builder().setActions(stateActions) in testPlaybackActions_reservedSpace() constant1807 stateBuilder.addCustomAction("action: $it", it, android.R.drawable.ic_media_pause) in testPlaybackActions_reservedSpace()[all …]