HomeSort by relevance Sort by last modified time
    Searched defs:mCanvas (Results 26 - 50 of 71) sorted by null

12 3

  /frameworks/base/core/java/android/view/
GLES20DisplayList.java 29 private GLES20RecordingCanvas mCanvas;
56 if (mCanvas != null) {
61 mCanvas = GLES20RecordingCanvas.obtain(this);
62 mCanvas.start();
64 mCanvas.setViewport(width, height);
66 mCanvas.onPreDraw(null);
68 return mCanvas;
74 if (mCanvas != null) {
75 mCanvas.recycle();
76 mCanvas = null
    [all...]
GraphicBuffer.java 62 private Canvas mCanvas;
167 if (mCanvas == null) {
168 mCanvas = new Canvas();
171 if (nLockCanvas(mNativeObject, mCanvas, dirty)) {
172 mSaveCount = mCanvas.save();
173 return mCanvas;
192 if (!mDestroyed && mCanvas != null && canvas == mCanvas) {
196 nUnlockCanvasAndPost(mNativeObject, mCanvas);
  /frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
TiledImageView.java 283 private GLES20Canvas mCanvas;
287 mCanvas = new GLES20Canvas();
294 mCanvas.setSize(width, height);
300 mCanvas.clearBuffer();
308 boolean complete = mRenderer.image.draw(mCanvas);
338 private Canvas mCanvas = new Canvas();
367 mCanvas.setBitmap(bitmap);
368 mCanvas.drawColor(COLORS[level]);
372 mCanvas.drawText(x + "x" + y, 128, 128, mPaint);
376 mCanvas.drawText(x + "x" + y + " @ " + level, 128, 30, mPaint)
    [all...]
  /packages/apps/Gallery2/src/com/android/photos/views/
TiledImageView.java 283 private GLES20Canvas mCanvas;
287 mCanvas = new GLES20Canvas();
294 mCanvas.setSize(width, height);
300 mCanvas.clearBuffer();
308 boolean complete = mRenderer.image.draw(mCanvas);
338 private Canvas mCanvas = new Canvas();
367 mCanvas.setBitmap(bitmap);
368 mCanvas.drawColor(COLORS[level]);
372 mCanvas.drawText(x + "x" + y, 128, 128, mPaint);
376 mCanvas.drawText(x + "x" + y + " @ " + level, 128, 30, mPaint)
    [all...]
  /packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/
TiledImageView.java 295 private GLES20Canvas mCanvas;
299 mCanvas = new GLES20Canvas();
306 mCanvas.setSize(width, height);
312 mCanvas.clearBuffer();
320 boolean complete = mRenderer.image.draw(mCanvas);
350 private Canvas mCanvas = new Canvas();
379 mCanvas.setBitmap(bitmap);
380 mCanvas.drawColor(COLORS[level]);
384 mCanvas.drawText(x + "x" + y, 128, 128, mPaint);
388 mCanvas.drawText(x + "x" + y + " @ " + level, 128, 30, mPaint)
    [all...]
  /external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
PopupZoomerTest.java 26 Canvas mCanvas;
31 mCanvas = c;
55 onDraw(mCanvas);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
ExportScreenshotAction.java 36 private final LayoutCanvas mCanvas;
40 mCanvas = canvas;
47 ImageOverlay imageOverlay = mCanvas.getImageOverlay();
IncludeOverlay.java 41 private LayoutCanvas mCanvas;
49 mCanvas = canvas;
54 ViewHierarchy viewHierarchy = mCanvas.getViewHierarchy();
63 Image image = mCanvas.getImageOverlay().getImage();
79 ControlPoint topLeft = LayoutPoint.create(mCanvas, mask.x, mask.y).toControl();
80 ControlPoint bottomRight = LayoutPoint.create(mCanvas, mask.x + mask.width,
LintTooltip.java 37 private final LayoutCanvas mCanvas;
42 mCanvas = canvas;
56 LayoutEditorDelegate delegate = mCanvas.getEditorDelegate();
MarqueeGesture.java 40 private LayoutCanvas mCanvas;
53 mCanvas = canvas;
80 LayoutPoint topLeft = ControlPoint.create(mCanvas, x, y).toLayout();
81 LayoutPoint bottomRight = ControlPoint.create(mCanvas, x + w, y + h).toLayout();
82 mCanvas.getSelectionManager().selectWithin(topLeft, bottomRight, mInitialSelection);
SelectionItem.java 39 private LayoutCanvas mCanvas;
64 mCanvas = canvas;
73 mNodeProxy = mCanvas.getNodeFactory().create(canvasViewInfo);
135 return mCanvas;
ImageOverlay.java 78 private LayoutCanvas mCanvas;
94 mCanvas = canvas;
142 mImage = SwtUtils.convertToSwt(mCanvas.getDisplay(), awtImage,
153 mImage = SwtUtils.convertToSwt(mCanvas.getDisplay(), awtImage, true, -1);
210 boolean valid = mCanvas.getViewHierarchy().isValid();
211 mCanvas.ensureZoomed();
262 mPreScaledImage = SwtUtils.convertToSwt(mCanvas.getDisplay(), scaledAwtImage,
GestureManager.java 64 private final LayoutCanvas mCanvas;
142 mCanvas = canvas;
152 return mCanvas;
198 mCanvas.addMouseMoveListener(mListener);
199 mCanvas.addMouseListener(mListener);
200 mCanvas.addKeyListener(mListener);
220 if (mCanvas.isDisposed()) {
229 mCanvas.removeMouseMoveListener(mListener);
230 mCanvas.removeMouseListener(mListener);
231 mCanvas.removeKeyListener(mListener)
    [all...]
SelectionManager.java 96 private LayoutCanvas mCanvas;
124 mCanvas = layoutCanvas;
285 mCanvas.getEditorDelegate().recomputeLayout();
306 LayoutPoint p = ControlPoint.create(mCanvas, e).toLayout();
323 CanvasViewInfo vi = mCanvas.getViewHierarchy().findViewInfoAt(p);
345 LayoutPoint p = ControlPoint.create(mCanvas, e).toLayout();
370 CanvasViewInfo vi = mCanvas.getViewHierarchy().findViewInfoAt(p);
389 mCanvas.getEditorDelegate().recomputeLayout();
414 vi, mCanvas.getViewHierarchy().findAltViewInfoAt(p));
463 vi = mCanvas.getViewHierarchy().getRoot()
    [all...]
CanvasTransform.java 38 private final LayoutCanvas mCanvas;
62 mCanvas = layoutCanvas;
72 CanvasTransform.this.mCanvas.redraw();
150 ImageOverlay imageOverlay = mCanvas.getImageOverlay();
164 if (mCanvas.getPreviewManager().hasPreviews()) {
HoverOverlay.java 34 private final LayoutCanvas mCanvas;
71 mCanvas = canvas;
155 List<SelectionItem> selections = mCanvas.getSelectionManager().getSelections();
LintOverlay.java 44 private final LayoutCanvas mCanvas;
54 mCanvas = canvas;
64 LayoutEditorDelegate editor = mCanvas.getEditorDelegate();
70 ViewHierarchy hierarchy = mCanvas.getViewHierarchy();
75 CanvasTransform mHScale = mCanvas.getHorizontalTransform();
76 CanvasTransform mVScale = mCanvas.getVerticalTransform();
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
PointTestCases.java 33 LayoutCanvas mCanvas = new TestLayoutCanvas();
40 event.widget = mCanvas;
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
LabelMaker.java 130 mCanvas = new Canvas(mBitmap);
239 background.draw(mCanvas);
243 mCanvas.drawText(text,
270 mCanvas = null;
394 private Canvas mCanvas;
  /frameworks/base/core/java/android/app/
LauncherActivity.java 254 private Canvas mCanvas = new Canvas();
257 mCanvas.setDrawFilter(new PaintFlagsDrawFilter(Paint.DITHER_FLAG,
303 final Canvas canvas = mCanvas;
321 final Canvas canvas = mCanvas;
  /frameworks/base/packages/WallpaperCropper/src/com/android/photos/
BitmapRegionTileSource.java 376 private Canvas mCanvas;
485 if (mCanvas == null) {
486 mCanvas = new Canvas();
488 mCanvas.setBitmap(result);
489 mCanvas.drawBitmap(bitmap,
492 mCanvas.setBitmap(null);
  /packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/
BitmapRegionTileSource.java 380 private Canvas mCanvas;
489 if (mCanvas == null) {
490 mCanvas = new Canvas();
492 mCanvas.setBitmap(result);
493 mCanvas.drawBitmap(bitmap,
496 mCanvas.setBitmap(null);
  /packages/apps/Settings/src/com/android/settings/
ActivityPicker.java 330 private final Canvas mCanvas = new Canvas();
333 mCanvas.setDrawFilter(new PaintFlagsDrawFilter(Paint.DITHER_FLAG,
390 final Canvas canvas = mCanvas;
410 final Canvas canvas = mCanvas;
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
TransitionDrawableTest.java 42 private Canvas mCanvas;
52 mCanvas = new Canvas(mBitmap);
181 mTransitionDrawable.draw(mCanvas);
232 mTransitionDrawable.draw(mCanvas);
  /packages/apps/UnifiedEmail/src/com/android/mail/photomanager/
LetterTileProvider.java 62 private final Canvas mCanvas = new Canvas();
129 final Canvas c = mCanvas;

Completed in 1293 milliseconds

12 3