Home
last modified time | relevance | path

Searched refs:session (Results 1 – 12 of 12) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DViewHierarchy.java152 /* package */ void setSession(RenderSession session, Set<UiElementNode> explodedNodes, in setSession() argument
159 mSession = session; in setSession()
160 mIsResultValid = (session != null && session.getResult().isSuccess()); in setSession()
163 if (mIsResultValid && session != null) { in setSession()
164 List<ViewInfo> rootList = session.getRootViews(); in setSession()
174 ViewInfo mergeRoot = createMergeInfo(session); in setSession()
181 ViewInfo mergeRoot = createMergeInfo(session); in setSession()
190 dump(session, root, 0); in setSession()
243 private ViewInfo createMergeInfo(RenderSession session) { in createMergeInfo() argument
244 BufferedImage image = session.getImage(); in createMergeInfo()
[all …]
DPreviewIconFactory.java258 RenderSession session = null; in render() local
266 session = RenderService.create(editor) in render()
280 if (session != null) { in render()
281 if (session.getResult().isSuccess()) { in render()
282 BufferedImage image = session.getImage(); in render()
309 List<ViewInfo> viewInfoList = session.getRootViews(); in render()
356 if (session.getResult().getException() != null) { in render()
357 AdtPlugin.log(session.getResult().getException(), in render()
358 session.getResult().getErrorMessage()); in render()
359 } else if (session.getResult().getErrorMessage() != null) { in render()
[all …]
DRenderService.java627 RenderSession session = null; in measureChildren() local
634 session = mLayoutLib.createSession(params); in measureChildren()
636 if (session.getResult().isSuccess()) { in measureChildren()
637 assert session.getRootViews().size() == 1; in measureChildren()
638 ViewInfo root = session.getRootViews().get(0); in measureChildren()
661 if (session != null) { in measureChildren()
662 session.dispose(); in measureChildren()
DPlayAnimationMenu.java152 RenderSession session = viewHierarchy.getSession(); in run() local
153 Result r = session.animate(viewObject, mAnimationName, mIsFrameworkAnim, in run()
DPaletteControl.java997 RenderSession session = null; in renderPreview() local
1005 session = RenderService.create(editor) in renderPreview()
1018 if (session != null) { in renderPreview()
1019 if (session.getResult().isSuccess()) { in renderPreview()
1020 BufferedImage image = session.getImage(); in renderPreview()
1026 List<ViewInfo> viewInfoList = session.getRootViews(); in renderPreview()
1088 session.dispose(); in renderPreview()
DLayoutCanvas.java753 void setSession(RenderSession session, Set<UiElementNode> explodedNodes, in setSession() argument
758 mViewHierarchy.setSession(session, explodedNodes, layoutlib5); in setSession()
759 if (mViewHierarchy.isValid() && session != null) { in setSession()
760 Image image = mImageOverlay.setImage(session.getImage(), in setSession()
761 session.isAlphaChannelImage()); in setSession()
DGraphicalEditorPart.java1578 RenderSession session = RenderService.create(this, mCredential) in renderWithBridge() local
1587 canvas.setSession(session, explodeNodes, layoutlib5); in renderWithBridge()
1590 if (session != null && session.getResult().isSuccess() == false) { in renderWithBridge()
1592 String errorMessage = session.getResult().getErrorMessage(); in renderWithBridge()
1593 Throwable exception = session.getResult().getException(); in renderWithBridge()
1619 } else if (session != null) { in renderWithBridge()
DRenderPreview.java560 RenderSession session = renderService.createRenderSession(); in renderSync() local
561 Result render = session.render(1000); in renderSync()
590 BufferedImage image = session.getImage(); in renderSync()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidTextEditor.java571 DocumentRewriteSession session = null;
573 session = doc4.startRewriteSession(DocumentRewriteSessionType.UNRESTRICTED_SMALL);
580 if (session != null) {
581 doc4.stopRewriteSession(session);
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/layoutRendering/
DApiDemosRenderingTest.java270 RenderSession session = layoutLib.createSession(new SessionParams( in testSample() local
282 if (session.getResult().isSuccess() == false) { in testSample()
286 session.getResult().getErrorMessage())); in testSample()
293 ImageIO.write(session.getImage(), "png", tmp); in testSample()
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/i18n/
Dmessages.properties27 DeviceView_Debug_Session_Failed=No opened project found for %1$s. Debug session failed\!
/sdk/eclipse/
Dchanges.txt741 - Launching a debug/run session now checks that the project uses the
787 - Starting a run/debug session now asks to save the files and forces a