Home
last modified time | relevance | path

Searched refs:state (Results 1 – 25 of 126) sorted by relevance

123456

/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/views/detail/
DTextureImageDetailsProvider.java19 import com.android.ide.eclipse.gltrace.state.GLCompositeProperty;
20 import com.android.ide.eclipse.gltrace.state.GLSparseArrayProperty;
21 import com.android.ide.eclipse.gltrace.state.GLStateType;
22 import com.android.ide.eclipse.gltrace.state.GLStringProperty;
23 import com.android.ide.eclipse.gltrace.state.IGLProperty;
45 public boolean isApplicable(IGLProperty state) { in isApplicable() argument
46 return getTextureImageProperty(state) != null; in isApplicable()
74 public void updateControl(IGLProperty state) { in updateControl() argument
75 IGLProperty imageProperty = getTextureImageProperty(state); in updateControl()
101 private IGLProperty getTextureImageProperty(IGLProperty state) { in getTextureImageProperty() argument
[all …]
DShaderSourceDetailsProvider.java19 import com.android.ide.eclipse.gltrace.state.GLCompositeProperty;
20 import com.android.ide.eclipse.gltrace.state.GLStateType;
21 import com.android.ide.eclipse.gltrace.state.GLStringProperty;
22 import com.android.ide.eclipse.gltrace.state.IGLProperty;
37 public boolean isApplicable(IGLProperty state) { in isApplicable() argument
38 return getShaderSourceProperty(state) != null; in isApplicable()
58 public void updateControl(IGLProperty state) { in updateControl() argument
59 IGLProperty shaderSrcProperty = getShaderSourceProperty(state); in updateControl()
79 private IGLProperty getShaderSourceProperty(IGLProperty state) { in getShaderSourceProperty() argument
80 if (state.getType() == GLStateType.SHADER_SOURCE) { in getShaderSourceProperty()
[all …]
DShaderUniformDetailsProvider.java20 import com.android.ide.eclipse.gltrace.state.GLCompositeProperty;
21 import com.android.ide.eclipse.gltrace.state.GLStateType;
22 import com.android.ide.eclipse.gltrace.state.IGLProperty;
39 public boolean isApplicable(IGLProperty state) { in isApplicable() argument
40 return getShaderUniformProperty(state) != null; in isApplicable()
59 public void updateControl(IGLProperty state) { in updateControl() argument
60 IGLProperty uniform = getShaderUniformProperty(state); in updateControl()
156 private IGLProperty getShaderUniformProperty(IGLProperty state) { in getShaderUniformProperty() argument
157 if (state.getType() == GLStateType.PER_UNIFORM_STATE) { in getShaderUniformProperty()
158 return state; in getShaderUniformProperty()
[all …]
DVboDetailProvider.java21 import com.android.ide.eclipse.gltrace.state.GLCompositeProperty;
22 import com.android.ide.eclipse.gltrace.state.GLStateType;
23 import com.android.ide.eclipse.gltrace.state.IGLProperty;
62 public boolean isApplicable(IGLProperty state) { in isApplicable() argument
63 return getVboProperty(state) != null; in isApplicable()
132 public void updateControl(IGLProperty state) { in updateControl() argument
133 IGLProperty vbo = getVboProperty(state); in updateControl()
177 private IGLProperty getVboProperty(IGLProperty state) { in getVboProperty() argument
178 if (state.getType() == GLStateType.VBO_COMPOSITE) { in getVboProperty()
179 return state; in getVboProperty()
[all …]
DIStateDetailProvider.java19 import com.android.ide.eclipse.gltrace.state.IGLProperty;
23 boolean isApplicable(IGLProperty state); in isApplicable() argument
26 void updateControl(IGLProperty state); in updateControl() argument
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
DGuidelinePainter.java50 GuidelineHandler state = (GuidelineHandler) feedback.userData; in paint() local
52 for (INode dragged : state.mDraggedNodes) { in paint()
60 Set<INode> horizontalDeps = state.mHorizontalDeps; in paint()
61 Set<INode> verticalDeps = state.mVerticalDeps; in paint()
69 if (state.mDraggedNodes.contains(n)) { in paint()
77 if (state.mBounds != null) { in paint()
78 if (state instanceof MoveHandler) { in paint()
82 if (state.haveSuggestions()) { in paint()
88 gc.drawRect(state.mBounds); in paint()
92 int y = state.mBounds.y + feedback.dragBaseline; in paint()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/
DPropertyChangeTransform.java17 package com.android.ide.eclipse.gltrace.state.transforms;
19 import com.android.ide.eclipse.gltrace.state.IGLProperty;
55 public void apply(IGLProperty state) { in apply() argument
56 IGLProperty property = mAccessor.getProperty(state); in apply()
81 public void revert(IGLProperty state) { in revert() argument
83 IGLProperty property = mAccessor.getProperty(state); in revert()
91 public IGLProperty getChangedProperty(IGLProperty state) { in getChangedProperty() argument
101 return mAccessor.getProperty(state); in getChangedProperty()
DBufferSubDataTransform.java17 package com.android.ide.eclipse.gltrace.state.transforms;
20 import com.android.ide.eclipse.gltrace.state.IGLProperty;
43 public void apply(IGLProperty state) { in apply() argument
44 IGLProperty property = mAccessor.getProperty(state); in apply()
64 public void revert(IGLProperty state) { in revert() argument
66 IGLProperty property = mAccessor.getProperty(state); in revert()
73 public IGLProperty getChangedProperty(IGLProperty state) { in getChangedProperty() argument
74 return mAccessor.getProperty(state); in getChangedProperty()
DTextureUnitPropertyAccessor.java17 package com.android.ide.eclipse.gltrace.state.transforms;
19 import com.android.ide.eclipse.gltrace.state.GLIntegerProperty;
20 import com.android.ide.eclipse.gltrace.state.GLStateType;
21 import com.android.ide.eclipse.gltrace.state.IGLProperty;
43 public IGLProperty getProperty(IGLProperty state) { in getProperty() argument
45 IGLProperty activeTextureProperty = mActiveTextureAccessor.getProperty(state); in getProperty()
57 return targetAccessor.getProperty(state); in getProperty()
DCurrentProgramPropertyAccessor.java17 package com.android.ide.eclipse.gltrace.state.transforms;
19 import com.android.ide.eclipse.gltrace.state.GLIntegerProperty;
20 import com.android.ide.eclipse.gltrace.state.GLStateType;
21 import com.android.ide.eclipse.gltrace.state.IGLProperty;
43 public IGLProperty getProperty(IGLProperty state) { in getProperty() argument
45 IGLProperty currentProgramProperty = mCurrentProgramAccessor.getProperty(state); in getProperty()
59 mStateType).getProperty(state); in getProperty()
DCurrentVboPropertyAccessor.java17 package com.android.ide.eclipse.gltrace.state.transforms;
20 import com.android.ide.eclipse.gltrace.state.GLIntegerProperty;
21 import com.android.ide.eclipse.gltrace.state.GLStateType;
22 import com.android.ide.eclipse.gltrace.state.IGLProperty;
51 public IGLProperty getProperty(IGLProperty state) { in getProperty() argument
53 IGLProperty currentBinding = mVboBindingAccessor.getProperty(state); in getProperty()
64 mVboProperty).getProperty(state); in getProperty()
DTexturePropertyAccessor.java17 package com.android.ide.eclipse.gltrace.state.transforms;
19 import com.android.ide.eclipse.gltrace.state.GLIntegerProperty;
20 import com.android.ide.eclipse.gltrace.state.GLStateType;
21 import com.android.ide.eclipse.gltrace.state.IGLProperty;
52 public IGLProperty getProperty(IGLProperty state) { in getProperty() argument
54 IGLProperty targetTexture = mTextureUnitPropertyAccessor.getProperty(state); in getProperty()
78 return textureAccessor.getProperty(state); in getProperty()
DGLPropertyAccessor.java17 package com.android.ide.eclipse.gltrace.state.transforms;
19 import com.android.ide.eclipse.gltrace.state.GLCompositeProperty;
20 import com.android.ide.eclipse.gltrace.state.GLListProperty;
21 import com.android.ide.eclipse.gltrace.state.GLSparseArrayProperty;
22 import com.android.ide.eclipse.gltrace.state.GLStateType;
23 import com.android.ide.eclipse.gltrace.state.IGLProperty;
42 public IGLProperty getProperty(IGLProperty state) { in getProperty() argument
43 IGLProperty root = ((GLListProperty) state).get(mContextId); in getProperty()
DListElementAddTransform.java17 package com.android.ide.eclipse.gltrace.state.transforms;
19 import com.android.ide.eclipse.gltrace.state.GLListProperty;
20 import com.android.ide.eclipse.gltrace.state.IGLProperty;
56 private GLListProperty getList(IGLProperty state) { in getList() argument
57 IGLProperty p = state; in getList()
DSparseArrayElementAddTransform.java17 package com.android.ide.eclipse.gltrace.state.transforms;
19 import com.android.ide.eclipse.gltrace.state.GLSparseArrayProperty;
20 import com.android.ide.eclipse.gltrace.state.IGLProperty;
64 private GLSparseArrayProperty getArray(IGLProperty state) { in getArray() argument
65 IGLProperty p = state; in getArray()
DIGLPropertyAccessor.java17 package com.android.ide.eclipse.gltrace.state.transforms;
19 import com.android.ide.eclipse.gltrace.state.IGLProperty;
27 IGLProperty getProperty(IGLProperty state); in getProperty() argument
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
DProjectState.java394 for (LibraryState state : mLibraries) { in isMissingLibraries()
395 if (state.getProjectState() == null) { in isMissingLibraries()
415 for (LibraryState state : mLibraries) { in getLibrary()
416 ProjectState ps = state.getProjectState(); in getLibrary()
418 return state; in getLibrary()
437 for (LibraryState state : mLibraries) { in getLibrary()
438 ProjectState ps = state.getProjectState(); in getLibrary()
440 return state; in getLibrary()
470 for (LibraryState state : mLibraries) { in needs()
471 if (state.getProjectState() == null) { in needs()
[all …]
DSdk.java458 ProjectState state = getProjectState(project); in initProject() local
462 if (state != null) { in initProject()
463 properties = state.getProperties().makeWorkingCopy(); in initProject()
502 ProjectState state = sProjectStateMap.get(project); in getProjectState() local
503 if (state == null) { in getProjectState()
548 state = new ProjectState(project, properties); in getProjectState()
549 sProjectStateMap.put(project, state); in getProjectState()
553 sCurrentSdk.loadTargetAndBuildTools(state); in getProjectState()
557 return state; in getProjectState()
570 ProjectState state = getProjectState(project); in getTarget() local
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DGridLayoutRule.java425 protected void paintResizeFeedback(IGraphics gc, INode node, ResizeState state) { in paintResizeFeedback() argument
427 GridModel grid = getGrid(state); in paintResizeFeedback()
428 GridLayoutPainter.paintResizeFeedback(gc, state.layout, grid); in paintResizeFeedback()
431 if (resizingWidget(state)) { in paintResizeFeedback()
432 super.paintResizeFeedback(gc, node, state); in paintResizeFeedback()
434 GridModel grid = getGrid(state); in paintResizeFeedback()
435 int startColumn = grid.getColumn(state.bounds.x); in paintResizeFeedback()
436 int endColumn = grid.getColumn(state.bounds.x2()); in paintResizeFeedback()
439 int startRow = grid.getRow(state.bounds.y); in paintResizeFeedback()
440 int endRow = grid.getRow(state.bounds.y2()); in paintResizeFeedback()
[all …]
DBaseLayoutRule.java622 ResizeState state = createResizeState(parent, parentView, child); in onResizeBegin() local
623 state.horizontalEdgeType = horizontalEdge; in onResizeBegin()
624 state.verticalEdgeType = verticalEdge; in onResizeBegin()
647 state.wrapBounds = sizes.get(child); in onResizeBegin()
650 return new DropFeedback(state, new IFeedbackPainter() { in onResizeBegin()
754 ResizeState state = (ResizeState) feedback.userData;
755 state.bounds = newBounds;
756 state.modifierMask = modifierMask;
759 state.wrapWidth = state.wrapHeight = false;
760 if (state.wrapBounds != null) {
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/properties/
DAndroidPropertyPage.java117 ProjectState state = Sdk.getProjectState(mProject); in performOk() local
125 if (state == null || newTarget != state.getTarget()) { in performOk()
131 if (state == null || mIsLibrary.getSelection() != state.isLibrary()) { in performOk()
169 ProjectState state = Sdk.getProjectState(mProject); in fillUi() local
172 mPropertiesWorkingCopy = state.getProperties().makeWorkingCopy(); in fillUi()
175 IAndroidTarget target = state.getTarget(); in fillUi()
180 mIsLibrary.setSelection(state.isLibrary()); in fillUi()
181 mLibraryDependencies.setContent(state, mPropertiesWorkingCopy); in fillUi()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DSupportLibraryHelper.java84 ProjectState state = Sdk.getProjectState(project); in getTagFor() local
85 if (state != null) { in getTagFor()
86 for (LibraryState library : state.getLibraries()) { in getTagFor()
165 ProjectState state = Sdk.getProjectState(project); in findSupportProjectV7() local
166 if (state != null && state.isLibrary()) { in findSupportProjectV7()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/
DStateContentProvider.java19 import com.android.ide.eclipse.gltrace.state.GLCompositeProperty;
20 import com.android.ide.eclipse.gltrace.state.GLListProperty;
21 import com.android.ide.eclipse.gltrace.state.GLSparseArrayProperty;
22 import com.android.ide.eclipse.gltrace.state.IGLProperty;
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/sampleProjects/
DSampleProjectTest.java109 NewProjectWizardState state = new NewProjectWizardState(Mode.SAMPLE); in doTestSampleProject() local
110 state.projectName = name; in doTestSampleProject()
111 state.target = target; in doTestSampleProject()
112 state.packageName = "com.android.samples"; in doTestSampleProject()
113 state.activityName = name; in doTestSampleProject()
114 state.applicationName = name; in doTestSampleProject()
115 state.chosenSample = new File(path); in doTestSampleProject()
116 state.useDefaultLocation = false; in doTestSampleProject()
117 state.createActivity = false; in doTestSampleProject()
119 NewProjectCreator creator = new NewProjectCreator(state, context); in doTestSampleProject()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DNestedConfiguration.java310 State state = mParent.getDeviceState(); in getDeviceState() local
314 if (state != null) { in getDeviceState()
317 return device.getState(state.getName()); in getDeviceState()
322 return state; in getDeviceState()
327 public void setDeviceState(State state, boolean skipSync) { in setDeviceState() argument
329 super.setDeviceState(state, skipSync); in setDeviceState()
334 State equivalentState = device.getState(state.getName()); in setDeviceState()
336 state = equivalentState; in setDeviceState()
340 mParent.setDeviceState(state, skipSync); in setDeviceState()

123456