/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
PlayAnimationMenu.java | 59 private final LayoutCanvas mCanvas; 83 mCanvas = canvas; 89 SelectionManager selectionManager = mCanvas.getSelectionManager(); 96 GraphicalEditorPart graphicalEditor = mCanvas.getEditorDelegate().getGraphicalEditor(); 123 PlayAnimationMenu sub = new PlayAnimationMenu(mCanvas, "Android Builtin", true); 144 SelectionManager selectionManager = mCanvas.getSelectionManager(); 151 ViewHierarchy viewHierarchy = mCanvas.getViewHierarchy(); 159 SelectionOverlay selectionOverlay = mCanvas.getSelectionOverlay(); 163 HoverOverlay hoverOverlay = mCanvas.getHoverOverlay(); 168 ImageOverlay imageOverlay = mCanvas.getImageOverlay() [all...] |
SelectionOverlay.java | 39 private final LayoutCanvas mCanvas; 48 mCanvas = canvas; 98 CanvasViewInfo root = mCanvas.getViewHierarchy().getRoot(); 100 NodeProxy parent = mCanvas.getNodeFactory().create(root); 113 CanvasViewInfo root = mCanvas.getViewHierarchy().getRoot(); 115 NodeProxy parent = mCanvas.getNodeFactory().create(root); 131 Rect b = mCanvas.getImageOverlay().getImageBounds(); 143 double scale = mCanvas.getScale(); 170 ViewHierarchy viewHierarchy = mCanvas.getViewHierarchy(); 203 Margins insets = mCanvas.getInsets(selectedNode.getFqcn()) [all...] |
RenderPreviewManager.java | 97 private final @NonNull LayoutCanvas mCanvas; 124 mCanvas = canvas; 145 GraphicalEditorPart editor = mCanvas.getEditorDelegate().getGraphicalEditor(); 156 return mCanvas; 183 mCanvas.redraw(); 191 RenderPreview preview = mCanvas.getPreview(); 198 mCanvas.redraw(); 228 mCanvas.setFitScale(true /* onlyZoomOut */, true /*allowZoomIn*/); 255 mCanvas.redraw(); 312 Rectangle clientArea = mCanvas.getClientArea() [all...] |
DynamicContextMenu.java | 91 private final LayoutCanvas mCanvas; 111 mCanvas = canvas; 161 List<SelectionItem> selections = mCanvas.getSelectionManager().getSelections(); 221 List<SelectionItem> selection = mCanvas.getSelectionManager().getSelections(); 245 List<SelectionItem> selection = mCanvas.getSelectionManager().getSelections(); 284 List<SelectionItem> selection = mCanvas.getSelectionManager().getSelections(); 296 mMenuManager.insertBefore(endId, new ListViewTypeMenu(mCanvas, isGrid, isSpinner)); 300 mMenuManager.insertBefore(endId, new FragmentMenu(mCanvas)); 368 List<RuleAction> actions = mCanvas.getRulesEngine().callGetContextMenu(node); 383 return mCanvas.getRulesEngine().callGetDefaultActionId(node) [all...] |
ViewHierarchy.java | 56 private LayoutCanvas mCanvas; 66 mCanvas = canvas; 203 GraphicalEditorPart editor = mCanvas.getEditorDelegate().getGraphicalEditor(); 235 mCanvas.getSelectionManager().sync(); 245 ControlPoint imageSize = ControlPoint.create(mCanvas, 246 mCanvas.getHorizontalTransform().getMargin() + image.getWidth(), 247 mCanvas.getVerticalTransform().getMargin() + image.getHeight()); 249 UiDocumentNode model = mCanvas.getEditorDelegate().getUiRootNode(); 261 UiDocumentNode model = mCanvas.getEditorDelegate().getUiRootNode(); 290 mCanvas.getNodeFactory().create(vi) [all...] |
RenderPreview.java | 152 private final @NonNull LayoutCanvas mCanvas; 206 mCanvas = canvas; 507 GraphicalEditorPart editor = mCanvas.getEditorDelegate().getGraphicalEditor(); 544 model.setEditor(mCanvas.getEditorDelegate().getEditor()); 607 GraphicalEditorPart graphicalEditor = mCanvas.getEditorDelegate().getGraphicalEditor(); 671 ImageOverlay imageOverlay = mCanvas.getImageOverlay(); 700 mThumbnail = SwtUtils.convertToSwt(mCanvas.getDisplay(), image, 717 ImageOverlay imageOverlay = mCanvas.getImageOverlay(); 731 mThumbnail = SwtUtils.convertToSwt(mCanvas.getDisplay(), image, 795 mCanvas.redraw() [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
TouchPaint.java | 235 private Canvas mCanvas; 266 if (mCanvas != null) { 268 mCanvas.drawPaint(mPaint); 276 if (mCanvas != null && mFadeSteps < MAX_FADE_STEPS) { 277 mCanvas.drawPaint(mFadePaint); 302 mCanvas.drawText(text, (width-bounds.width())/2, 327 mCanvas = newCanvas; 464 drawOval(mCanvas, x, y, major, minor, orientation, mPaint); 470 drawOval(mCanvas, x, y, major, minor, orientation, mPaint); 476 drawSplat(mCanvas, x, y, orientation, distance, tilt, mPaint) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
LayoutEditorDelegate.java | 492 private final LayoutCanvas mCanvas; 496 mCanvas = editor.getCanvasControl(); 507 if (!mCanvas.isDisposed()) { 508 mCanvas.getDisplay().asyncExec(this); 514 if (!mCanvas.isDisposed()) { 515 mCanvas.redraw(); 517 OutlinePage outlinePage = mCanvas.getOutlinePage(); [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
Sensors.java | 58 private Canvas mCanvas = new Canvas(); 89 mCanvas.setBitmap(mBitmap); 90 mCanvas.drawColor(0xFFFFFFFF); 116 final Canvas cavas = mCanvas; 177 final Canvas canvas = mCanvas;
|
/frameworks/base/core/java/android/view/ |
Surface.java | 77 private final Canvas mCanvas = new CompatibleCanvas(); 243 mLockedObject = nativeLockCanvas(mNativeObject, mCanvas, inOutDirty); 244 return mCanvas; 255 if (canvas != mCanvas) {
|
TextureView.java | 124 private Canvas mCanvas; 676 if (mCanvas == null) { 677 mCanvas = new Canvas(); 681 if (!nLockCanvas(mNativeWindow, mCanvas, dirty)) { 685 mSaveCount = mCanvas.save(); 687 return mCanvas; 702 if (mCanvas != null && canvas == mCanvas) { 707 nUnlockCanvasAndPost(mNativeWindow, mCanvas);
|
HardwareRenderer.java | 844 HardwareCanvas mCanvas; [all...] |
/cts/tests/src/android/view/cts/ |
SurfaceViewStubActivity.java | 56 private MockCanvas mCanvas; 174 mCanvas = new MockCanvas(Bitmap.createBitmap( BITMAP_WIDTH, 177 draw(mCanvas); 233 if (mCanvas != null) { 234 return mCanvas.isDrawColor(); 245 if (mCanvas != null) { 246 mCanvas.setDrawColor(isDrawColor);
|
/packages/apps/Gallery/src/com/android/camera/ |
GridViewSpecial.java | [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
AppsCustomizePagedView.java | 182 private Canvas mCanvas; 253 mCanvas = new Canvas(); 759 mCanvas.setBitmap(preview); 760 mCanvas.save(); 763 mCanvas.restore(); 764 mCanvas.setBitmap(null); [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
AppsCustomizePagedView.java | 180 private Canvas mCanvas; 251 mCanvas = new Canvas(); 755 mCanvas.setBitmap(preview); 756 mCanvas.save(); 759 mCanvas.restore(); 760 mCanvas.setBitmap(null); [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapTest.java | 865 Canvas mCanvas = new Canvas(mMutableBitmap); 867 mCanvas.setDensity(DisplayMetrics.DENSITY_HIGH); 869 ret.getHeight(), ret.getDensity(), mCanvas.getDensity()); 870 assertEquals(scaledHeight, ret.getScaledHeight(mCanvas)); 892 Canvas mCanvas = new Canvas(mMutableBitmap); 894 mCanvas.setDensity(DisplayMetrics.DENSITY_HIGH); 895 int scaledWidth = scaleFromDensity(ret.getWidth(), ret.getDensity(), mCanvas.getDensity()); 896 assertEquals(scaledWidth, ret.getScaledWidth(mCanvas));
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
RenderSessionImpl.java | 121 private Canvas mCanvas; 533 mCanvas = null; 540 if (newRenderSize || mCanvas == null) { 568 mCanvas = new Canvas(bitmap); 569 mCanvas.setDensity(hardwareConfig.getDensity().getDpiValue()); 584 mViewRoot.draw(mCanvas); [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
KeyboardView.java | 247 private Canvas mCanvas; 646 mCanvas = new Canvas(mBuffer); 651 final Canvas canvas = mCanvas; [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
KeyboardView.java | 248 private Canvas mCanvas; 681 mCanvas = new Canvas(mBuffer); 686 final Canvas canvas = mCanvas; [all...] |
/prebuilts/devtools/tools/lib/ |
hierarchyviewer2lib.jar | |