Searched refs:strategy (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | NonDefaultDeviceForStrategyTest.java | 84 for (AudioProductStrategy strategy : mStrategies) { in setUp() 85 if (strategy.supportsAudioAttributes(MEDIA_ATTR)) { in setUp() 86 mStrategyForMedia = strategy; in setUp() 92 for (AudioProductStrategy strategy : mStrategies) { in setUp() 93 if (strategy.supportsAudioAttributes(COMMUNICATION_ATTR)) { in setUp() 94 mStrategyForPhone = strategy; in setUp() 149 for (AudioProductStrategy strategy : mStrategies) { in testInvalidStrategy() 150 maxId = Math.max(maxId, strategy.getId()); in testInvalidStrategy() 284 public void onNonDefaultDevicesForStrategyChanged(AudioProductStrategy strategy, in onNonDefaultDevicesForStrategyChanged() argument 286 mReceivedStrategy = strategy; in onNonDefaultDevicesForStrategyChanged()
|
D | AudioManagerTest.java | 2116 public void onPreferredDevicesForStrategyChanged(AudioProductStrategy strategy, in onPreferredDevicesForStrategyChanged() argument 2137 for (AudioProductStrategy strategy : strategies) { in testPreferredDevicesForStrategy() 2138 if (strategy.supportsAudioAttributes(mediaAttr)) { in testPreferredDevicesForStrategy() 2139 strategyForMedia = strategy; in testPreferredDevicesForStrategy()
|
/cts/tests/tests/uidmigration/src/android/uidmigration/cts/ |
D | Common.kt | 69 inline fun withStrategy(strategy: Int? = null, body: () -> Unit) { in withStrategy() 76 strategy?.let { migrationStrategy = it } in withStrategy()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewPrecomputedTextTest.java | 121 int strategy = params.getBreakStrategy(); in makeDifferentParams() local 123 strategy = strategy == Layout.BREAK_STRATEGY_SIMPLE in makeDifferentParams() 135 final Params outParams = new Builder(paint).setBreakStrategy(strategy) in makeDifferentParams()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | StaticLayoutLineBreakingNoBreakSpanTest.kt | 51 fun buildLayout(text: CharSequence, width: Int, strategy: Int): Layout { in buildLayout() 53 .setBreakStrategy(strategy) in buildLayout()
|
D | BoringLayoutTest.java | 413 LayoutParam(int strategy, int frequency, TextPaint paint, TextDirectionHeuristic dir) { in LayoutParam() argument 414 mStrategy = strategy; in LayoutParam()
|
D | StaticLayoutTest.java | 1384 LayoutParam(int strategy, int frequency, TextPaint paint, TextDirectionHeuristic dir) { 1385 mStrategy = strategy;
|