/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | ControlPoint.java | 54 public static ControlPoint create(LayoutCanvas canvas, MouseEvent event) { in create() argument 57 assert event.widget == canvas : event.widget; in create() 58 return new ControlPoint(canvas, event.x, event.y); in create() 69 public static ControlPoint create(LayoutCanvas canvas, MenuDetectEvent event) { in create() argument 71 org.eclipse.swt.graphics.Point p = canvas.toControl(event.x, event.y); in create() 72 return new ControlPoint(canvas, p.x, p.y); in create() 87 public static ControlPoint create(LayoutCanvas canvas, DragSourceEvent event) { in create() argument 90 return new ControlPoint(canvas, event.x, event.y); in create() 102 public static ControlPoint create(LayoutCanvas canvas, DropTargetEvent event) { in create() argument 105 org.eclipse.swt.graphics.Point p = canvas.toControl(event.x, event.y); in create() [all …]
|
D | LayoutPoint.java | 53 public static LayoutPoint create(LayoutCanvas canvas, MouseEvent event) { in create() argument 56 assert event.widget == canvas : event.widget; in create() 57 return ControlPoint.create(canvas, event).toLayout(); in create() 72 public static LayoutPoint create(LayoutCanvas canvas, DragSourceEvent event) { in create() argument 75 return ControlPoint.create(canvas, event).toLayout(); in create() 87 public static LayoutPoint create(LayoutCanvas canvas, int x, int y) { in create() argument 88 return new LayoutPoint(canvas, x, y); in create() 98 private LayoutPoint(LayoutCanvas canvas, int x, int y) { in LayoutPoint() argument 99 mCanvas = canvas; in LayoutPoint()
|
D | OutlineDragListener.java | 63 final LayoutCanvas canvas = mOutlinePage.getEditor().getCanvasControl(); in dragStart() local 64 SelectionManager selectionManager = canvas.getSelectionManager(); in dragStart() 81 canvas, new Runnable() { in dragStart() 84 canvas.getClipboardSupport().deleteSelection("Remove", in dragStart() 97 LayoutCanvas canvas = mOutlinePage.getEditor().getCanvasControl(); in dragSetData() local 98 e.data = SelectionItem.getAsText(canvas, mDragSelection); in dragSetData()
|
D | OutlineDropListener.java | 113 final LayoutCanvas canvas = mOutlinePage.getEditor().getCanvasControl(); in performDrop() local 114 final NodeProxy targetNode = canvas.getNodeFactory().create(parentNode); in performDrop() 125 canvas.getEditorDelegate().getEditor().wrapUndoEditXmlModel(label, new Runnable() { in performDrop() 129 canvas.getRulesEngine().setInsertType(insertType); in performDrop() 132 boolean createNew = event.detail == DND.DROP_COPY || sourceCanvas != canvas; in performDrop() 152 final SelectionManager selectionManager = canvas.getSelectionManager(); in performDrop() 155 canvas.redraw(); in performDrop()
|
D | SelectionItem.java | 61 public SelectionItem(LayoutCanvas canvas, CanvasViewInfo canvasViewInfo) { in SelectionItem() argument 64 mCanvas = canvas; in SelectionItem() 145 static String getAsText(LayoutCanvas canvas, List<SelectionItem> selection) { in getAsText() argument 148 LayoutEditorDelegate layoutEditorDelegate = canvas.getEditorDelegate(); in getAsText()
|
D | LintTooltip.java | 40 LintTooltip(LayoutCanvas canvas, List<UiViewElementNode> nodes) { in LintTooltip() argument 41 super(canvas.getDisplay(), SWT.ON_TOP | SWT.NO_FOCUS | SWT.TOOL); in LintTooltip() 42 mCanvas = canvas; in LintTooltip()
|
D | MarqueeGesture.java | 52 public MarqueeGesture(LayoutCanvas canvas, boolean toggle) { in MarqueeGesture() argument 53 mCanvas = canvas; in MarqueeGesture() 56 List<SelectionItem> selection = canvas.getSelectionManager().getSelections(); in MarqueeGesture()
|
D | ExportScreenshotAction.java | 38 ExportScreenshotAction(LayoutCanvas canvas) { in ExportScreenshotAction() argument 40 mCanvas = canvas; in ExportScreenshotAction()
|
D | PlayAnimationMenu.java | 68 public PlayAnimationMenu(LayoutCanvas canvas) { in PlayAnimationMenu() argument 69 this(canvas, "Play Animation", false); in PlayAnimationMenu() 81 private PlayAnimationMenu(LayoutCanvas canvas, String title, boolean framework) { in PlayAnimationMenu() argument 83 mCanvas = canvas; in PlayAnimationMenu()
|
D | SelectionHandles.java | 73 private void createHandles(LayoutCanvas canvas) { in createHandles() argument 95 Margins insets = canvas.getInsets(mItem.getNode().getFqcn()); in createHandles()
|
D | OutlinePage.java | 455 LayoutCanvas canvas = mGraphicalEditorPart.getCanvasControl(); in createOutline() 456 canvas.show(vi); in createOutline() 1070 LayoutCanvas canvas = editorPart == null ? null : editorPart.getCanvasControl(); in updateFromEditorPart() local 1071 if (canvas == null) { in updateFromEditorPart() 1074 mTargetAction = canvas.getAction(mCanvasActionId); in updateFromEditorPart() 1106 LayoutCanvas canvas = mGraphicalEditorPart.getCanvasControl(); in setActionBars() local 1107 canvas.updateGlobalActions(actionBars); in setActionBars() 1144 final LayoutCanvas canvas = mGraphicalEditorPart.getCanvasControl(); in move() local 1145 final SelectionManager selectionManager = canvas.getSelectionManager(); in move() 1153 final NodeProxy targetNode = canvas.getNodeFactory().create(parentNode); in move() [all …]
|
D | RenderPreviewList.java | 142 List<RenderPreview> createPreviews(LayoutCanvas canvas) { in createPreviews() argument 147 RenderPreviewManager manager = canvas.getPreviewManager(); in createPreviews() 148 ConfigurationChooser chooser = canvas.getEditorDelegate().getGraphicalEditor() in createPreviews()
|
D | LintOverlay.java | 52 public LintOverlay(LayoutCanvas canvas) { in LintOverlay() argument 53 mCanvas = canvas; in LintOverlay()
|
D | HoverOverlay.java | 70 public HoverOverlay(LayoutCanvas canvas, CanvasTransform hScale, CanvasTransform vScale) { in HoverOverlay() argument 71 mCanvas = canvas; in HoverOverlay()
|
D | IncludeOverlay.java | 48 public IncludeOverlay(LayoutCanvas canvas) { in IncludeOverlay() argument 49 mCanvas = canvas; in IncludeOverlay()
|
D | SelectionManager.java | 1037 LayoutCanvas canvas = mEditor.getCanvasControl(); in addMenuItems() local 1038 SelectionManager selectionManager = canvas.getSelectionManager(); in addMenuItems() 1061 a = canvas.getSelectAllAction(); in addMenuItems() 1166 LayoutCanvas canvas = mCanvas; in performDefaultAction() local 1167 CanvasViewInfo root = canvas.getViewHierarchy().getRoot(); in performDefaultAction() 1170 NodeFactory nodeFactory = canvas.getNodeFactory(); in performDefaultAction() 1245 LayoutCanvas canvas = mCanvas; in performRename() 1246 CanvasViewInfo root = canvas.getViewHierarchy().getRoot(); in performRename() 1249 NodeFactory nodeFactory = canvas.getNodeFactory(); in performRename()
|
D | LayoutActionBar.java | 119 LayoutCanvas canvas = mEditor.getCanvasControl(); in updateSelection() local 120 SelectionManager selectionManager = canvas.getSelectionManager(); in updateSelection() 135 CanvasViewInfo root = canvas.getViewHierarchy().getRoot(); in updateSelection() 139 parent = canvas.getNodeFactory().create(root); in updateSelection() 662 LayoutCanvas canvas = mEditor.getCanvasControl(); in rescale() local 663 double s = canvas.getScale(); in rescale() 682 canvas.setScale(s, true /*redraw*/); in rescale()
|
D | LintTooltipManager.java | 48 LintTooltipManager(LayoutCanvas canvas) { in LintTooltipManager() argument 49 mCanvas = canvas; in LintTooltipManager()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/views/ |
D | FitToCanvasAction.java | 27 public FitToCanvasAction(boolean fitByDefault, ImageCanvas canvas) { in FitToCanvasAction() argument 30 mImageCanvas = canvas; in FitToCanvasAction()
|
D | SaveImageAction.java | 34 public SaveImageAction(ImageCanvas canvas) { in SaveImageAction() argument 39 mImageCanvas = canvas; in SaveImageAction()
|
/sdk/testapps/customViewTest/libWithCustomView/src/com/android/tests/libwithcustom/ |
D | LabelView.java | 189 protected void onDraw(Canvas canvas) { in onDraw() argument 190 super.onDraw(canvas); in onDraw() 191 canvas.drawText(mText, getPaddingLeft(), getPaddingTop() - mAscent, mTextPaint); in onDraw()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
D | NodeFactory.java | 40 public NodeFactory(LayoutCanvas canvas) { in NodeFactory() argument 41 mCanvas = canvas; in NodeFactory()
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/views/ |
D | MultiTouchView.java | 101 protected void onDraw(Canvas canvas) { in onDraw() argument 102 super.onDraw(canvas); in onDraw() 105 canvas.drawBitmap(mBitmap, 0, 0, null); in onDraw()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
D | ConfigurationMenuListener.java | 120 LayoutCanvas canvas = delegate.getGraphicalEditor().getCanvasControl(); in widgetSelected() local 121 RenderPreviewManager previewManager = canvas.getPreviewManager(); in widgetSelected() 138 canvas.setFitScale(true /*onlyZoomOut*/, false /*allowZoomIn*/); in widgetSelected() 139 canvas.redraw(); in widgetSelected() 157 LayoutCanvas canvas = delegate.getGraphicalEditor().getCanvasControl(); in show() local 158 RenderPreviewManager previewManager = canvas.getPreviewManager(); in show()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | SelectionManagerTest.java | 29 LayoutCanvas canvas = new LayoutCanvas(null, null, new Shell(), 0); in createManager() local 30 return new SelectionManager(canvas); in createManager()
|