Home
last modified time | relevance | path

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

1234567

/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()
57 public void updateControl(IGLProperty state) { in updateControl() argument
58 IGLProperty shaderSrcProperty = getShaderSourceProperty(state); in updateControl()
78 private IGLProperty getShaderSourceProperty(IGLProperty state) { in getShaderSourceProperty() argument
79 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/emulator/opengl/shared/OpenglCodecCommon/
DGLClientState.h85 void enable(int location, int state);
269 … const GLClientState::VertexAttribState *state = getState(GLClientState::VERTEX_LOCATION); in getClientStateParameter() local
270 *ptr = state->size; in getClientStateParameter()
275 … const GLClientState::VertexAttribState *state = getState(GLClientState::VERTEX_LOCATION); in getClientStateParameter() local
276 *ptr = state->type; in getClientStateParameter()
281 … const GLClientState::VertexAttribState *state = getState(GLClientState::VERTEX_LOCATION); in getClientStateParameter() local
282 *ptr = state->stride; in getClientStateParameter()
287 const GLClientState::VertexAttribState *state = getState(GLClientState::COLOR_LOCATION); in getClientStateParameter() local
288 *ptr = state->size; in getClientStateParameter()
293 const GLClientState::VertexAttribState *state = getState(GLClientState::COLOR_LOCATION); in getClientStateParameter() local
[all …]
/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()
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()
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()
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.java366 for (LibraryState state : mLibraries) { in isMissingLibraries()
367 if (state.getProjectState() == null) { in isMissingLibraries()
387 for (LibraryState state : mLibraries) { in getLibrary()
388 ProjectState ps = state.getProjectState(); in getLibrary()
390 return state; in getLibrary()
409 for (LibraryState state : mLibraries) { in getLibrary()
410 ProjectState ps = state.getProjectState(); in getLibrary()
412 return state; in getLibrary()
442 for (LibraryState state : mLibraries) { in needs()
443 if (state.getProjectState() == null) { in needs()
[all …]
/sdk/emulator/opengl/host/tools/emugen/
DEntryPoint.h45 void setUnsupported(bool state) { m_unsupported = state; } in setUnsupported() argument
47 void setCustomDecoder(bool state) { m_customDecoder = state; } in setCustomDecoder() argument
49 void setNotApi(bool state) { m_notApi = state; } in setNotApi() argument
/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/sdk_common/src/com/android/ide/common/resources/configuration/
DDeviceConfigHelper.java38 public static FolderConfiguration getFolderConfig(@Nullable State state) { in getFolderConfig() argument
39 if (state == null) { in getFolderConfig()
43 Hardware hw = state.getHardware(); in getFolderConfig()
62 config.setKeyboardStateQualifier(new KeyboardStateQualifier(state.getKeyState())); in getFolderConfig()
63 config.setNavigationStateQualifier(new NavigationStateQualifier(state.getNavState())); in getFolderConfig()
65 new ScreenOrientationQualifier(state.getOrientation())); in getFolderConfig()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DGridLayoutRule.java417 protected void paintResizeFeedback(IGraphics gc, INode node, ResizeState state) { in paintResizeFeedback() argument
419 GridModel grid = getGrid(state); in paintResizeFeedback()
420 GridLayoutPainter.paintResizeFeedback(gc, state.layout, grid); in paintResizeFeedback()
423 if (resizingWidget(state)) { in paintResizeFeedback()
424 super.paintResizeFeedback(gc, node, state); in paintResizeFeedback()
426 GridModel grid = getGrid(state); in paintResizeFeedback()
427 int startColumn = grid.getColumn(state.bounds.x); in paintResizeFeedback()
428 int endColumn = grid.getColumn(state.bounds.x2()); in paintResizeFeedback()
431 int startRow = grid.getRow(state.bounds.y); in paintResizeFeedback()
432 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/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/widgets/
DDeviceCreationDialog.java819 for (State state : device.getAllStates()) { in prefillWithDevice()
821 if (state.getOrientation().equals(ScreenOrientation.PORTRAIT)) { in prefillWithDevice()
822 if (state.getKeyState().equals(KeyboardState.EXPOSED)) { in prefillWithDevice()
830 if (state.getKeyState().equals(KeyboardState.EXPOSED)) { in prefillWithDevice()
838 nav.setSelection(state.getNavState().equals(NavigationState.EXPOSED) in prefillWithDevice()
920 State state = new State(); in okPressed() local
921 state.setName("Portrait"); in okPressed()
922 state.setDescription("The device in portrait orientation"); in okPressed()
923 state.setOrientation(ScreenOrientation.PORTRAIT); in okPressed()
925 state.setNavState(NavigationState.HIDDEN); in okPressed()
[all …]
/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;

1234567