Home
last modified time | relevance | path

Searched refs:osName (Results 1 – 2 of 2) sorted by relevance

/sdk/hierarchyviewer/src/com/android/hierarchyviewer/util/
DOS.java26 String osName = System.getProperty("os.name");
27 macOs = "Mac OS X".startsWith(osName);
28 linux = "Linux".startsWith(osName);
29 windows = "Windows".startsWith(osName);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DIconFactory.java121 public Image getIcon(String osName) { in getIcon() argument
122 return getIcon(osName, COLOR_DEFAULT, SHAPE_DEFAULT); in getIcon()
138 public Image getIcon(String osName, int color, int shape) { in getIcon() argument
139 String key = Character.toString((char) shape) + Integer.toString(color) + osName; in getIcon()
142 ImageDescriptor id = getImageDescriptor(osName, color, shape); in getIcon()
162 public ImageDescriptor getImageDescriptor(String osName) { in getImageDescriptor() argument
163 return getImageDescriptor(osName, COLOR_DEFAULT, SHAPE_DEFAULT); in getImageDescriptor()
179 public ImageDescriptor getImageDescriptor(String osName, int color, int shape) { in getImageDescriptor() argument
180 String key = Character.toString((char) shape) + Integer.toString(color) + osName; in getImageDescriptor()
185 String.format("/icons/%1$s.png", osName)); //$NON-NLS-1$ in getImageDescriptor()
[all …]