/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/ |
D | GLIntegerProperty.java | 21 private final Integer mDefaultValue; 22 private Integer mCurrentValue; 25 public GLIntegerProperty(GLStateType name, Integer defaultValue, DisplayRadix radix) { in GLIntegerProperty() 32 public GLIntegerProperty(GLStateType name, Integer defaultValue) { in GLIntegerProperty() 41 public void setValue(Integer newValue) { in setValue() 48 return String.format("0x%08x", Integer.valueOf(mCurrentValue)); in getStringValue() 61 if (value instanceof Integer) { in setValue() 62 mCurrentValue = (Integer) value; in setValue()
|
D | GLState.java | 98 IGLProperty size = new GLIntegerProperty(GLStateType.BUFFER_SIZE, Integer.valueOf(0)); in createVboState() 178 Integer.valueOf(0xffffffff), DisplayRadix.HEX); in createPixelOperationsState() 180 Integer.valueOf(0)); in createPixelOperationsState() 189 GLStateType.STENCIL_BACK_VALUE_MASK, Integer.valueOf(0xffffffff), DisplayRadix.HEX); in createPixelOperationsState() 233 Integer.valueOf(4)); in createPixelPackState() 235 Integer.valueOf(4)); in createPixelPackState() 251 Integer.valueOf(0)); in createTextureState() 254 Integer.valueOf(0)); in createTextureState() 256 Integer.valueOf(0)); in createTextureState() 258 Integer.valueOf(0)); in createTextureState() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/ddms/ |
D | DebugPortProvider.java | 45 private Map<String, Map<String, Integer>> mMap; 68 Map<String, Integer> deviceMap = mMap.get(device.getSerialNumber()); in getPort() 70 Integer i = deviceMap.get(appName); in getPort() 83 public Map<String, Map<String, Integer>> getPortList() { in getPortList() 91 mMap = new HashMap<String, Map<String, Integer>>(); in computePortList() 116 Map<String, Integer> deviceMap = mMap.get(deviceName); in computePortList() 118 deviceMap = new HashMap<String, Integer>(); in computePortList() 122 deviceMap.put(entry[0], Integer.valueOf(entry[1])); in computePortList() 132 public void setPortList(Map<String, Map<String,Integer>> map) { in setPortList() 143 Map<String, Integer> deviceMap = map.get(deviceKey); in setPortList() [all …]
|
D | StaticPortConfigDialog.java | 75 private ArrayList<Integer> mPorts = new ArrayList<Integer>(); 275 item.setText(COL_PORT, Integer.toString(portNumber)); in addEntry() 307 item.setText(COL_PORT, Integer.toString(portNumber)); in replaceEntry() 350 Map<String, Map<String, Integer>> map = provider.getPortList(); in updateFromStore() 356 Map<String, Integer> deviceMap = map.get(deviceKey); in updateFromStore() 361 Integer port = deviceMap.get(appKey); in updateFromStore() 375 HashMap<String, Map<String, Integer>> map = new HashMap<String, Map<String, Integer>>(); in updateStore() 383 Map<String, Integer> deviceMap = map.get(deviceName); in updateStore() 385 deviceMap = new HashMap<String, Integer>(); in updateStore() 389 deviceMap.put(item.getText(COL_APPLICATION), Integer.valueOf(item.getText(COL_PORT))); in updateStore()
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/model/ |
D | EditableItemConstants.java | 38 public static final Integer PRESET_CUSTOM = R.string.preset_custom; 39 public static final Integer PRESET_BASIC = R.string.preset_basic; 40 public static final Integer PRESET_EMAIL = R.string.preset_email; 41 public static final Integer PRESET_PHOTO = R.string.preset_photo; 43 public static final Integer STYLE_NONE = R.string.style_none; 44 public static final Integer STYLE_BIG_PICTURE = R.string.style_big_picture; 45 public static final Integer STYLE_BIG_TEXT = R.string.style_big_text; 46 public static final Integer STYLE_INBOX = R.string.style_inbox;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/ |
D | DynamicIdMap.java | 28 …te final Map<Pair<ResourceType, String>, Integer> mDynamicIds = new HashMap<Pair<ResourceType, Str… 50 public Integer getId(ResourceType type, String name) { in getId() 61 public Integer getId(Pair<ResourceType, String> resource) { in getId() 62 Integer value = mDynamicIds.get(resource); in getId() 64 value = Integer.valueOf(++mDynamicSeed); in getId()
|
D | CompiledResourcesMonitor.java | 221 Map<ResourceType, Map<String, Integer>> resourceValueMap = in loadAndParseRClass() 222 new EnumMap<ResourceType, Map<String, Integer>>(ResourceType.class); in loadAndParseRClass() 223 Map<Integer, Pair<ResourceType, String>> genericValueToNameMap = in loadAndParseRClass() 224 new HashMap<Integer, Pair<ResourceType, String>>(); in loadAndParseRClass() 255 Map<Integer, Pair<ResourceType, String>> genericValueToNameMap, in parseClass() argument 257 Map<String, Integer>> resourceValueMap) { in parseClass() 264 Map<String, Integer> fullMap = new HashMap<String, Integer>(); in parseClass() 278 Integer value = (Integer) f.get(null); in parseClass()
|
D | ProjectResources.java | 61 private Map<ResourceType, Map<String, Integer>> mResourceValueMap; 63 private Map<Integer, Pair<ResourceType, String>> mResIdValueToNameMap; 215 public Integer getResourceId(ResourceType type, String name) { in getResourceId() 216 Integer result = null; in getResourceId() 218 Map<String, Integer> map = mResourceValueMap.get(type); in getResourceId() 262 void setCompiledResources(Map<Integer, Pair<ResourceType, String>> resIdValueToNameMap, in setCompiledResources() argument 264 Map<ResourceType, Map<String, Integer>> resourceValueMap) { in setCompiledResources()
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
D | ViewNode.java | 78 marginLeft = getInt("layout_leftMargin", Integer.MIN_VALUE); in decode() 79 marginRight = getInt("layout_rightMargin", Integer.MIN_VALUE); in decode() 80 marginTop = getInt("layout_topMargin", Integer.MIN_VALUE); in decode() 81 marginBottom = getInt("layout_bottomMargin", Integer.MIN_VALUE); in decode() 86 hasMargins = marginLeft != Integer.MIN_VALUE && in decode() 87 marginRight != Integer.MIN_VALUE && in decode() 88 marginTop != Integer.MIN_VALUE && in decode() 89 marginBottom != Integer.MIN_VALUE; in decode() 110 return Integer.parseInt(p.value); in getInt()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/ |
D | StateTransformFactory.java | 205 Integer.valueOf(index), in transformsForGlVertexAttribPointer() 207 Integer.valueOf(size))); in transformsForGlVertexAttribPointer() 212 Integer.valueOf(index), in transformsForGlVertexAttribPointer() 219 Integer.valueOf(index), in transformsForGlVertexAttribPointer() 226 Integer.valueOf(index), in transformsForGlVertexAttribPointer() 228 Integer.valueOf(stride))); in transformsForGlVertexAttribPointer() 233 Integer.valueOf(index), in transformsForGlVertexAttribPointer() 246 Integer.valueOf(index), in transformsForGlVertexAttrib() 253 Integer.valueOf(index), in transformsForGlVertexAttrib() 260 Integer.valueOf(index), in transformsForGlVertexAttrib() [all …]
|
D | Predicates.java | 23 public IntegerPropertyEqualsPredicate(Integer expected) { in IntegerPropertyEqualsPredicate() 29 return value instanceof Integer && ((Integer) value).intValue() == mExpected; in apply()
|
D | CurrentProgramPropertyAccessor.java | 50 Integer program = (Integer) currentProgramProperty.getValue(); in getProperty() 58 Integer.valueOf(mLocation), in getProperty()
|
D | TexturePropertyAccessor.java | 58 Integer textureId = (Integer) targetTexture.getValue(); in getProperty() 68 Integer.valueOf(mMipmapLevel), in getProperty()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | RelativeLayoutConversionHelper.java | 155 List<Integer> columnOffsets = edgeList.getColumnOffsets(); in analyzeLayout() 156 List<Integer> rowOffsets = edgeList.getRowOffsets(); in analyzeLayout() 162 Map<Integer, Integer> xToCol = new HashMap<Integer, Integer>(); in analyzeLayout() 164 for (Integer offset : columnOffsets) { in analyzeLayout() 168 Map<Integer, Integer> yToRow = new HashMap<Integer, Integer>(); in analyzeLayout() 170 for (Integer offset : rowOffsets) { in analyzeLayout() 202 private List<View> createViews(EdgeList edgeList, List<Integer> columnOffsets) { in createViews() 204 for (Integer offset : columnOffsets) { in createViews() 240 private void initializeSpans(EdgeList edgeList, List<Integer> columnOffsets, in initializeSpans() 241 List<Integer> rowOffsets, Map<Integer, Integer> xToCol, Map<Integer, Integer> yToRow) { in initializeSpans() argument [all …]
|
D | GridLayoutConverter.java | 164 mNamespace, ATTR_COLUMN_COUNT, Integer.toString(mColumnCount)); in convertToGridLayout() 178 Map<Integer, Boolean> rowFixed = new HashMap<Integer, Boolean>(); in insertStretchableSpans() 179 Map<Integer, Boolean> columnFixed = new HashMap<Integer, Boolean>(); in insertStretchableSpans() 254 sb.append(ATTR_LAYOUT_ROW).append('=').append('"').append(Integer.toString(row)); in insertStretchableSpans() 258 sb.append(ATTR_LAYOUT_COLUMN).append('=').append('"').append(Integer.toString(column)); in insertStretchableSpans() 348 mNamespace, ATTR_LAYOUT_COLUMN, Integer.toString(column)); in assignCellAttributes() 356 mNamespace, ATTR_LAYOUT_ROW, Integer.toString(row)); in assignCellAttributes() 366 mNamespace, ATTR_LAYOUT_ROW_SPAN, Integer.toString(rowSpan)); in assignCellAttributes() 371 Integer.toString(columnSpan)); in assignCellAttributes() 681 Map<Integer, List<View>> mColumnViews = new HashMap<Integer, List<View>>(); in initializeColumns() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
D | GridModel.java | 80 static final int UNDEFINED = Integer.MIN_VALUE; 335 setGridAttribute(node, name, Integer.toString(value)); in setGridAttribute() 430 private Pair<Map<Integer, Integer>, Map<Integer, Integer>> findCellsOutsideDeclaredBounds() { in findCellsOutsideDeclaredBounds() 434 Map<Integer, Integer> extraColumnsMap = null; in findCellsOutsideDeclaredBounds() 435 Map<Integer, Integer> extraRowsMap = null; in findCellsOutsideDeclaredBounds() 437 Set<Integer> extraRows = null; in findCellsOutsideDeclaredBounds() 441 extraRows = new HashSet<Integer>(); in findCellsOutsideDeclaredBounds() 447 List<Integer> rows = new ArrayList<Integer>(extraRows); in findCellsOutsideDeclaredBounds() 450 extraRowsMap = new HashMap<Integer, Integer>(); in findCellsOutsideDeclaredBounds() 451 for (Integer declared : rows) { in findCellsOutsideDeclaredBounds() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/resources/platform/ |
D | AttrsXmlParserTest.java | 84 Map<String, Map<String, Integer>> attrMap = mParser.getEnumFlagValues(); in testEnumFlagValues() 87 Map<String, Integer> valueMap = attrMap.get("orientation"); in testEnumFlagValues() 90 assertEquals(Integer.valueOf(0), valueMap.get("horizontal")); in testEnumFlagValues() 91 assertEquals(Integer.valueOf(1), valueMap.get("vertical")); in testEnumFlagValues()
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/ |
D | Editors.java | 38 private static final Map<Integer, Editor> EDITORS = editors(); 41 private static Map<Integer, Editor> editors() { in editors() 42 Map<Integer, Editor> editors = new HashMap<Integer, Editor>(); in editors()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
D | LinearLayoutRule.java | 400 Integer currX = data.getCurrX(); 401 Integer currY = data.getCurrY(); 490 int bestDist = Integer.MAX_VALUE; 491 int bestIndex = Integer.MIN_VALUE; 492 Integer bestPos = null; 509 if (bestIndex != Integer.MIN_VALUE) { 510 Integer oldX = data.getCurrX(); 511 Integer oldY = data.getCurrY(); 534 private static boolean equals(Integer i1, Integer i2) { 668 private Integer mCurrX; [all …]
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/util/ |
D | OS.java | 33 leopard = Integer.parseInt(parts[0]) >= 10 && Integer.parseInt(parts[1]) >= 5;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/ |
D | ReplaceStringsVisitor.java | 339 TreeMap<Integer, Expression> results = new TreeMap<Integer, Expression>(); in findContextFieldOrMethod() 342 Integer bestRating = results.keySet().iterator().next(); in findContextFieldOrMethod() 370 private void findContextCandidates(TreeMap<Integer, Expression> results, in findContextCandidates() argument 388 results.put(Integer.MIN_VALUE, mi); in findContextCandidates() 394 Integer rating = Integer.valueOf(10000 + 1000 * superType + argsLen); in findContextCandidates() 414 Integer rating = Integer.valueOf(superType); in findContextCandidates()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
D | InstallDependencyPage.java | 181 public static boolean isInstalled(List<Pair<String, Integer>> dependencies) { in isInstalled() 182 for (Pair<String, Integer> dependency : dependencies) { in isInstalled() 218 mInstalledVersion.setText(Integer.toString(version)); in updateVersionLabels() 222 for (Pair<String, Integer> dependency : mTemplate.getDependencies()) { in updateVersionLabels() 226 mRequiredVersion.setText(Integer.toString(required)); in updateVersionLabels() 240 List<Pair<String, Integer>> dependencies = mTemplate.getDependencies(); in validatePage() 271 for (Pair<String, Integer> dependency : mTemplate.getDependencies()) { in widgetSelected()
|
D | TemplateMetadata.java | 76 private List<Pair<String, Integer>> mDependencies; 77 private Integer mMinApi; 78 private Integer mMinBuildApi; 79 private Integer mRevision; 105 int version = Integer.parseInt(versionString); in isSupported() 142 mMinApi = Integer.parseInt(api); in getMinSdk() 160 mMinBuildApi = Integer.parseInt(api); in getMinBuildApi() 178 mRevision = Integer.parseInt(revision); in getRevision() 293 mIconState.padding = Integer.parseInt(paddingString); in getIconState() 417 List<Pair<String, Integer>> getDependencies() { in getDependencies() [all …]
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/device/ |
D | DeviceBridge.java | 37 private static final HashMap<IDevice, Integer> devicePortMap = new HashMap<IDevice, Integer>(); 166 final Integer localPort = devicePortMap.get(device); in removeDeviceForward() 188 Integer port = devicePortMap.get(device); in getDeviceLocalPort() 226 if (Integer.parseInt(matcher.group(1)) == 1) { in processNewLines()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ |
D | VersionCheck.java | 86 minMajorVersion = Integer.parseInt(m.group(1)); in checkVersion() 87 minMinorVersion = Integer.parseInt(m.group(2)); in checkVersion() 88 minMicroVersion = Integer.parseInt(m.group(3)); in checkVersion() 150 FullRevision toolsRevision = new FullRevision(Integer.MAX_VALUE); in checkVersion()
|