Home
last modified time | relevance | path

Searched refs:Integer (Results 1 – 25 of 151) sorted by relevance

1234567

/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/
DGLIntegerProperty.java21 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()
DGLState.java98 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/
DDebugPortProvider.java45 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 …]
DStaticPortConfigDialog.java75 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/
DEditableItemConstants.java38 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/
DDynamicIdMap.java28 …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()
DCompiledResourcesMonitor.java221 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()
DProjectResources.java61 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/
DViewNode.java78 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/
DStateTransformFactory.java205 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 …]
DPredicates.java23 public IntegerPropertyEqualsPredicate(Integer expected) { in IntegerPropertyEqualsPredicate()
29 return value instanceof Integer && ((Integer) value).intValue() == mExpected; in apply()
DCurrentProgramPropertyAccessor.java50 Integer program = (Integer) currentProgramProperty.getValue(); in getProperty()
58 Integer.valueOf(mLocation), in getProperty()
DTexturePropertyAccessor.java58 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/
DRelativeLayoutConversionHelper.java155 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 …]
DGridLayoutConverter.java164 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/
DGridModel.java80 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/
DAttrsXmlParserTest.java84 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/
DEditors.java38 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/
DLinearLayoutRule.java400 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/
DOS.java33 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/
DReplaceStringsVisitor.java339 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/
DInstallDependencyPage.java181 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()
DTemplateMetadata.java76 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/
DDeviceBridge.java37 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/
DVersionCheck.java86 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()

1234567