Searched refs:ScreenRatio (Results 1 – 10 of 10) sorted by relevance
/sdk/layoutlib_api/src/com/android/resources/ |
D | ScreenRatio.java | 23 public enum ScreenRatio implements ResourceEnum { enum 31 private ScreenRatio(String value, String displayValue, String longDisplayValue) { in ScreenRatio() method in ScreenRatio 42 public static ScreenRatio getEnum(String value) { in getEnum() 43 for (ScreenRatio orient : values()) { in getEnum() 67 public static int getIndex(ScreenRatio orientation) { in getIndex() 69 for (ScreenRatio orient : values()) { in getIndex() 80 public static ScreenRatio getByIndex(int index) { in getByIndex() 82 for (ScreenRatio orient : values()) { in getByIndex()
|
/sdk/sdk_common/src/com/android/ide/common/resources/configuration/ |
D | ScreenRatioQualifier.java | 20 import com.android.resources.ScreenRatio; 26 private ScreenRatio mValue = null; 31 public ScreenRatioQualifier(ScreenRatio value) { in ScreenRatioQualifier() 35 public ScreenRatio getValue() { in getValue() 61 ScreenRatio size = ScreenRatio.getEnum(value); in checkAndSet()
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/devices/ |
D | Screen.java | 20 import com.android.resources.ScreenRatio; 29 private ScreenRatio mScreenRatio; 62 public ScreenRatio getRatio() { in getRatio() 66 public void setRatio(ScreenRatio ratio) { in setRatio()
|
D | DeviceParser.java | 27 import com.android.resources.ScreenRatio; 156 ScreenRatio.getEnum(getString(mStringAccumulator))); in endElement()
|
/sdk/layoutlib_api/sample/src/com/example/android/render/ |
D | Main.java | 33 import com.android.resources.ScreenRatio; 92 ScreenRatio.LONG, in main()
|
D | RenderServiceFactory.java | 53 import com.android.resources.ScreenRatio; 110 ScreenRatio screenRatio, in createConfig()
|
/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/devices/ |
D | DeviceParserTest.java | 36 import com.android.resources.ScreenRatio; 65 assertEquals(ScreenRatio.LONG, screen.getRatio()); in testValidDevices()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/layoutRendering/ |
D | ApiDemosRenderingTest.java | 58 import com.android.resources.ScreenRatio; 296 config.addQualifier(new ScreenRatioQualifier(ScreenRatio.NOTLONG)); in getConfiguration()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/ |
D | ConfigurationSelector.java | 52 import com.android.resources.ScreenRatio; 1289 fillCombo(mRatio, ScreenRatio.values()); in ScreenRatioEdit() 1310 ScreenRatio.getByIndex(index))); in onScreenRatioChange() 1327 ScreenRatio value = q.getValue(); in setQualifier() 1331 mRatio.select(ScreenRatio.getIndex(value)); in setQualifier()
|
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/widgets/ |
D | DeviceCreationDialog.java | 27 import com.android.resources.ScreenRatio; 195 mRatio = generateCombo(parent, tooltip, ScreenRatio.values(), 1, validator); in createDialogContent() 869 s.setRatio(ScreenRatio.getEnum(mRatio.getText())); in okPressed()
|