Home
last modified time | relevance | path

Searched refs:ScreenHeightQualifier (Results 1 – 6 of 6) sorted by relevance

/sdk/ide_common/src/com/android/ide/common/resources/configuration/
DScreenHeightQualifier.java25 public final class ScreenHeightQualifier extends ResourceQualifier { class
36 public ScreenHeightQualifier() { in ScreenHeightQualifier() method in ScreenHeightQualifier
40 public ScreenHeightQualifier(int value) { in ScreenHeightQualifier() method in ScreenHeightQualifier
74 ScreenHeightQualifier qualifier = getQualifier(v); in checkAndSet()
84 public static ScreenHeightQualifier getQualifier(String value) { in getQualifier()
88 ScreenHeightQualifier qualifier = new ScreenHeightQualifier(); in getQualifier()
101 if (qualifier instanceof ScreenHeightQualifier) { in isMatchFor()
102 return mValue <= ((ScreenHeightQualifier) qualifier).mValue; in isMatchFor()
114 ScreenHeightQualifier compareQ = (ScreenHeightQualifier)compareTo; in isBetterMatchThan()
115 ScreenHeightQualifier referenceQ = (ScreenHeightQualifier)reference; in isBetterMatchThan()
[all …]
DFolderConfiguration.java229 } else if (qualifier instanceof ScreenHeightQualifier) { in addQualifier()
345 public void setScreenHeightQualifier(ScreenHeightQualifier qualifier) { in setScreenHeightQualifier()
349 public ScreenHeightQualifier getScreenHeightQualifier() { in getScreenHeightQualifier()
350 return (ScreenHeightQualifier) mQualifiers[INDEX_SCREEN_HEIGHT]; in getScreenHeightQualifier()
498 setScreenHeightQualifier(new ScreenHeightQualifier(dp1)); in updateScreenWidthAndHeight()
502 setScreenHeightQualifier(new ScreenHeightQualifier(dp2)); in updateScreenWidthAndHeight()
506 setScreenHeightQualifier(new ScreenHeightQualifier(dp2)); in updateScreenWidthAndHeight()
848 mQualifiers[INDEX_SCREEN_HEIGHT] = new ScreenHeightQualifier(); in createDefault()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/
DConfigurationSelector.java32 import com.android.ide.common.resources.configuration.ScreenHeightQualifier;
431 mUiMap.put(ScreenHeightQualifier.class, new ScreenHeightEdit(mQualifierEditParent)); in ConfigurationSelector()
1115 super(parent, ScreenHeightQualifier.NAME); in ScreenHeightEdit()
1145 mSelectedConfiguration.setScreenHeightQualifier(new ScreenHeightQualifier()); in onSizeChange()
1147 ScreenHeightQualifier qualifier = ScreenHeightQualifier.getQualifier(size); in onSizeChange()
1156 new ScreenHeightQualifier()); in onSizeChange()
1166 ScreenHeightQualifier q = (ScreenHeightQualifier)qualifier; in setQualifier()
/sdk/layoutlib_api/sample/src/com/example/android/render/
DRenderServiceFactory.java34 import com.android.ide.common.resources.configuration.ScreenHeightQualifier;
141 config.addQualifier(new ScreenHeightQualifier(hdp)); in createConfig()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/layoutRendering/
DApiDemosRenderingTest.java37 import com.android.ide.common.resources.configuration.ScreenHeightQualifier;
284 config.addQualifier(new ScreenHeightQualifier(480)); in getConfiguration()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/
DResourceHelper.java46 import com.android.ide.common.resources.configuration.ScreenHeightQualifier;
143 sIconMap.put(ScreenHeightQualifier.class, factory.getIcon("height")); //$NON-NLS-1$ in sIconMap.put()