Output switcher panel requires large title icon for Slice slider style
-Add "VIEW_TYPE_SLIDER_LARGE_ICON" to be a new panel type which would enlarge its title icon -Set "VIEW_TYPE_SLIDER_LARGE_ICON" to MediaOutputPanel and MediaOutputGroupPanel -Extend slider style and add customized icon size -Add test cases Bug: 157208551 Test: make -j42 RunSettingsRoboTests Change-Id: I9b4de4aa552e8b26e766411f7eff93ea1a2d1910
This commit is contained in:
@@ -70,4 +70,9 @@ public class VolumePanelTest {
|
||||
public void getSeeMoreIntent_notNull() {
|
||||
assertThat(mPanel.getSeeMoreIntent()).isNotNull();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void getViewType_checkType() {
|
||||
assertThat(mPanel.getViewType()).isEqualTo(PanelContent.VIEW_TYPE_SLIDER);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user