Home
last modified time | relevance | path

Searched refs:getType (Results 1 – 25 of 75) sorted by relevance

123

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidXmlAutoEditStrategy.java102 if (region != null && region.getType().equals(XML_TAG_NAME)) { in customizeDocumentCommand()
124 && (left.getType().equals(XML_TAG_CLOSE) in customizeDocumentCommand()
125 || left.getType().equals(XML_EMPTY_TAG_CLOSE))) { in customizeDocumentCommand()
134 if (right != null && right.getType().equals(XML_END_TAG_OPEN)) { in customizeDocumentCommand()
165 && left.getType().equals(XML_TAG_CLOSE) in customizeDocumentCommand()
166 && right.getType().equals(XML_END_TAG_OPEN)) { in customizeDocumentCommand()
177 } else if (region != null && region.getType().equals(XML_CONTENT)) { in customizeDocumentCommand()
211 if (previous != null && previous.getType() == XML_TAG_NAME) { in customizeDocumentCommand()
214 if (last.getType() == XML_TAG_CLOSE || in customizeDocumentCommand()
215 last.getType() == XML_EMPTY_TAG_CLOSE) { in customizeDocumentCommand()
[all …]
DAndroidXmlCharacterMatcher.java77 String type = subRegion.getType(); in findOppositeTag()
99 type = subRegion.getType(); in findOppositeTag()
108 type = subRegion.getType(); in findOppositeTag()
162 String type = subRegion.getType(); in findTagBackwards()
214 String type = subRegion.getType(); in findTagForwards()
/sdk/testapps/testSensors/src/com/android/tests/testsensors/
DTestSensorsActivity.java80 switch (sensor.getType()) { in MonitoredSensor()
148 private int getType() { in getType() method in TestSensorsActivity.MonitoredSensor
149 return mSensor.getType(); in getType()
218 if (!isSensorTypeAlreadyMonitored(avail_sensor.getType())) { in onCreate()
222 Sensor def_sens = sm.getDefaultSensor(avail_sensor.getType()); in onCreate()
240 if (mSensors.get(n).getType() == type) { in isSensorTypeAlreadyMonitored()
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/handlers/
DSensorChannel.java92 if (!isSensorTypeAlreadyMonitored(avail_sensor.getType())) { in SensorChannel()
96 Sensor def_sens = mSenMan.getDefaultSensor(avail_sensor.getType()); in SensorChannel()
103 cur_index, def_sens.getName(), def_sens.getType())); in SensorChannel()
189 resp.putInt(sensor.getType()); in onEmulatorQuery()
311 if (sensor.getType() == type) { in isSensorTypeAlreadyMonitored()
380 switch (sensor.getType()) { in MonitoredSensor()
440 if (DEBUG) Loge("Unknown sensor type " + mSensor.getType() + in MonitoredSensor()
508 private int getType() { in getType() method in SensorChannel.MonitoredSensor
509 return mSensor.getType(); in getType()
602 mChangeMsg.putInt(getType()); in onSensorChanged()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/views/detail/
DTextureImageDetailsProvider.java102 if (state.getType() == GLStateType.TEXTURE_IMAGE) { in getTextureImageProperty()
120 if (state != null && state.getType() != GLStateType.PER_TEXTURE_LEVEL_STATE) { in getImageFromPerTextureLevelState()
124 if (state == null || state.getType() != GLStateType.PER_TEXTURE_LEVEL_STATE) { in getImageFromPerTextureLevelState()
136 if (state != null && state.getType() != GLStateType.PER_TEXTURE_STATE) { in getFirstMipmapImage()
140 if (state == null || state.getType() != GLStateType.PER_TEXTURE_STATE) { in getFirstMipmapImage()
DShaderSourceDetailsProvider.java80 if (state.getType() == GLStateType.SHADER_SOURCE) { in getShaderSourceProperty()
85 if (state.getType() != GLStateType.PER_SHADER_STATE) { in getShaderSourceProperty()
91 if (state != null && state.getType() == GLStateType.PER_SHADER_STATE) { in getShaderSourceProperty()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/
DGLStringProperty.java40 + getType()); in setValue()
60 return getType() + "=" + getStringValue(); //$NON-NLS-1$ in toString()
DGLFloatProperty.java45 + getType()); in setValue()
61 return getType() + "=" + getStringValue(); //$NON-NLS-1$ in toString()
DGLBooleanProperty.java47 return getType() + "=" + getStringValue(); //$NON-NLS-1$ in toString()
56 + getType()); in setValue()
DGLEnumProperty.java48 return getType() + "=" + getStringValue(); //$NON-NLS-1$ in toString()
56 … throw new IllegalArgumentException("Attempt to set invalid value for " + getType()); //$NON-NLS-1$ in setValue()
DGLCompositeProperty.java37 mPropertiesMap.put(p.getType(), p); in GLCompositeProperty()
59 return new GLCompositeProperty(getType(), props); in clone()
85 public GLStateType getType() { in getType() method in GLCompositeProperty
DGLLongProperty.java56 return getType() + "=" + getStringValue(); //$NON-NLS-1$ in toString()
65 + getType()); in setValue()
DGLIntegerProperty.java56 return getType() + "=" + getStringValue(); //$NON-NLS-1$ in toString()
65 + getType()); in setValue()
DIGLProperty.java26 GLStateType getType(); in getType() method
DGLAbstractAtomicProperty.java33 public GLStateType getType() { in getType() method in GLAbstractAtomicProperty
DGLListProperty.java97 return new GLListProperty(getType(), props); in clone()
127 public GLStateType getType() { in getType() method in GLListProperty
DGLObjectProperty.java59 return getType() + "=" + getStringValue(); //$NON-NLS-1$ in toString()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/
DStateLabelProvider.java64 if (element.getType() == GLStateType.GL_STATE_ES1) { in getName()
66 } else if (element.getType() == GLStateType.GL_STATE_ES2) { in getName()
78 return element.getType().getDescription(); in getName()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DLayoutEditorMatchingStrategy.java58 if (resFolder != null && resFolder.getType() == ResourceFolderType.LAYOUT) { in matches()
67 || editorFolder.getType() != ResourceFolderType.LAYOUT) { in matches()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/
DPreCompilerDeltaVisitor.java251 if (resource.getType() == IResource.FOLDER) { in visit()
255 if (resource.getType() != IResource.FILE) { in visit()
322 if (resource.getType() == IResource.FOLDER) { in visit()
410 if (resource != null && resource.exists() && resource.getType() == IResource.FOLDER) { in getFolder()
DPatternBasedDeltaVisitor.java87 if (resource.getType() == IResource.FOLDER) { in visit()
91 } else if (resource.getType() == IResource.FILE) { in visit()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSwtUtilsTest.java63 PaletteData inPalette = SwtUtils.getAwtPaletteData(inImage.getType()); in testImageConvertNoAlpha()
82 assertEquals(BufferedImage.TYPE_INT_ARGB, inImage.getType()); in testImageConvertNoAlpha()
83 assertEquals(BufferedImage.TYPE_INT_ARGB, awtImage.getType()); in testImageConvertNoAlpha()
119 PaletteData inPalette = SwtUtils.getAwtPaletteData(inImage.getType()); in testImageConvertGlobalAlpha()
150 PaletteData inPalette = SwtUtils.getAwtPaletteData(inImage.getType()); in testImageConvertAlpha()
187 PaletteData inPalette = SwtUtils.getAwtPaletteData(inImage.getType()); in testImageConvertAlphaMultiplied()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
DExtractStringRefactoring.java592 DOMRegionContext.XML_TAG_NAME.equals(region.getType())) { in findSelectionInXmlFile()
660 String type = subRegion.getType(); in findSelectionInRegion()
677 list.get(i + 1).getType())) { in findSelectionInRegion()
679 type = subRegion.getType(); in findSelectionInRegion()
875 if (targetXml.getType() != IResource.FILE) { in checkFinalConditions()
1261 String type = regions.getType();
1281 type = region.getType();
1308 type = region.getType();
1372 DOMRegionContext.XML_CONTENT.equals(previous.getType()) &&
1507 if (type != null && res != null && res.getType() == IResource.FOLDER) {
[all …]
DReplaceStringsVisitor.java154 type = ((VariableDeclarationStatement) parent).getType(); in examineVariableDeclaration()
156 type = ((VariableDeclarationExpression) parent).getType(); in examineVariableDeclaration()
310 if (isAndroidContext(var.getType())) { in methodHasContextArgument()
412 if (isAndroidContext(var.getType())) { in findContextCandidates()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/format/
DGLMessageFormatter.java118 if (var.getType() != typeSpec && !isEnumTypeWithIntData(var, typeSpec)) { in formatPointer()
164 return var.getType() == Type.INT && typeSpec == Type.ENUM; in isEnumTypeWithIntData()

123