HomeSort by relevance Sort by last modified time
    Searched refs:GraphicsJNI (Results 1 - 20 of 20) sorted by null

  /frameworks/base/native/graphics/jni/
bitmap.cpp 18 #include <GraphicsJNI.h>
26 SkBitmap* bm = GraphicsJNI::getNativeBitmap(env, jbitmap);
63 SkBitmap* bm = GraphicsJNI::getNativeBitmap(env, jbitmap);
86 SkBitmap* bm = GraphicsJNI::getNativeBitmap(env, jbitmap);
  /frameworks/base/core/jni/android/graphics/
Paint.cpp 23 #include "GraphicsJNI.h"
99 return GraphicsJNI::getNativePaint(env, paint)->getFlags();
104 GraphicsJNI::getNativePaint(env, paint)->setFlags(flags);
109 return GraphicsJNI::getNativePaint(env, paint)->getHinting()
115 GraphicsJNI::getNativePaint(env, paint)->setHinting(
121 GraphicsJNI::getNativePaint(env, paint)->setAntiAlias(aa);
126 GraphicsJNI::getNativePaint(env, paint)->setLinearText(linearText);
131 GraphicsJNI::getNativePaint(env, paint)->setSubpixelText(subpixelText);
136 GraphicsJNI::getNativePaint(env, paint)->setUnderlineText(underlineText);
141 GraphicsJNI::getNativePaint(env, paint)->setStrikeThruText(strikeThruText)
    [all...]
Graphics.cpp 1 #define LOG_TAG "GraphicsJNI"
5 #include "GraphicsJNI.h"
41 bool GraphicsJNI::hasException(JNIEnv *env) {
179 void GraphicsJNI::get_jrect(JNIEnv* env, jobject obj, int* L, int* T, int* R, int* B)
189 void GraphicsJNI::set_jrect(JNIEnv* env, jobject obj, int L, int T, int R, int B)
199 SkIRect* GraphicsJNI::jrect_to_irect(JNIEnv* env, jobject obj, SkIRect* ir)
210 void GraphicsJNI::irect_to_jrect(const SkIRect& ir, JNIEnv* env, jobject obj)
220 SkRect* GraphicsJNI::jrectf_to_rect(JNIEnv* env, jobject obj, SkRect* r)
231 SkRect* GraphicsJNI::jrect_to_rect(JNIEnv* env, jobject obj, SkRect* r)
242 void GraphicsJNI::rect_to_jrectf(const SkRect& r, JNIEnv* env, jobject obj
    [all...]
BitmapRegionDecoder.cpp 22 #include "GraphicsJNI.h"
100 return GraphicsJNI::createBitmapRegionDecoder(env, bm);
190 prefConfig = GraphicsJNI::getNativeBitmapConfig(env, jconfig);
221 bitmap = GraphicsJNI::getNativeBitmap(env, tileBitmap);
254 if (!requireUnpremultiplied) bitmapCreateFlags |= GraphicsJNI::kBitmapCreateFlag_Premultiplied;
255 return GraphicsJNI::createBitmap(env, bitmap, buff, bitmapCreateFlags, NULL, NULL, -1);
Canvas.cpp 18 #include "GraphicsJNI.h"
112 SkCanvas* canvas = GraphicsJNI::getNativeCanvas(env, jcanvas);
118 SkCanvas* canvas = GraphicsJNI::getNativeCanvas(env, jcanvas);
124 SkCanvas* canvas = GraphicsJNI::getNativeCanvas(env, jcanvas);
130 return GraphicsJNI::getNativeCanvas(env, jcanvas)->save();
135 return GraphicsJNI::getNativeCanvas(env, jcanvas)->save(flags);
143 GraphicsJNI::jrectf_to_rect(env, bounds, &storage);
163 GraphicsJNI::jrectf_to_rect(env, bounds, &storage);
182 SkCanvas* canvas = GraphicsJNI::getNativeCanvas(env, jcanvas);
192 return GraphicsJNI::getNativeCanvas(env, jcanvas)->getSaveCount()
    [all...]
Picture.cpp 18 #include "GraphicsJNI.h"
76 return GraphicsJNI::getNativePicture(env, jpic)->width();
81 return GraphicsJNI::getNativePicture(env, jpic)->height();
BitmapFactory.cpp 18 #include "GraphicsJNI.h"
255 prefConfig = GraphicsJNI::getNativeBitmapConfig(env, jconfig);
295 existingBufferSize = GraphicsJNI::getBitmapAllocationByteCount(env, javaBitmap);
445 GraphicsJNI::set_jrect(env, padding,
449 GraphicsJNI::set_jrect(env, padding, -1, -1, -1, -1);
475 GraphicsJNI::reinitBitmap(env, javaBitmap, outputBitmap, isPremultiplied);
482 if (isMutable) bitmapCreateFlags |= GraphicsJNI::kBitmapCreateFlag_Mutable;
483 if (!requireUnpremultiplied) bitmapCreateFlags |= GraphicsJNI::kBitmapCreateFlag_Premultiplied;
486 return GraphicsJNI::createBitmap(env, outputBitmap, javaAllocator.getStorageObj(),
Path.cpp 24 #include "GraphicsJNI.h"
82 GraphicsJNI::rect_to_jrectf(rect_, env, rect);
88 GraphicsJNI::rect_to_jrectf(bounds_, env, bounds);
157 GraphicsJNI::jrectf_to_rect(env, oval, &oval_);
169 GraphicsJNI::jrectf_to_rect(env, rect, &rect_);
183 GraphicsJNI::jrectf_to_rect(env, oval, &oval_);
196 GraphicsJNI::jrectf_to_rect(env, oval, &oval_);
205 GraphicsJNI::jrectf_to_rect(env, rect, &rect_);
214 GraphicsJNI::jrectf_to_rect(env, rect, &rect_);
Bitmap.cpp 5 #include "GraphicsJNI.h"
114 bool GraphicsJNI::SetPixels(JNIEnv* env, jintArray srcColors, int srcOffset, int srcStride,
286 int flags = GraphicsJNI::kBitmapCreateFlag_Premultiplied;
287 if (isMutable) flags |= GraphicsJNI::kBitmapCreateFlag_Mutable;
310 jbyteArray buff = GraphicsJNI::allocateJavaPixelRef(env, &bitmap, NULL);
316 GraphicsJNI::SetPixels(env, jColors, offset, stride,
320 return GraphicsJNI::createBitmap(env, new SkBitmap(bitmap), buff,
332 return GraphicsJNI::createBitmap(env, new SkBitmap(result), allocator.getStorageObj(),
505 jbyteArray buffer = GraphicsJNI::allocateJavaPixelRef(env, bitmap, ctable);
530 return GraphicsJNI::createBitmap(env, bitmap, buffer, getPremulBitmapCreateFlags(isMutable),
    [all...]
NinePatch.cpp 28 #include "GraphicsJNI.h"
128 GraphicsJNI::jrectf_to_rect(env, boundsRectF, &bounds);
143 GraphicsJNI::jrect_to_rect(env, boundsRect, &bounds);
154 GraphicsJNI::jrect_to_rect(env, boundsRect, &bounds);
Region.cpp 19 #include "GraphicsJNI.h"
63 GraphicsJNI::irect_to_jrect(region->getBounds(), env, rectBounds);
80 GraphicsJNI::jrect_to_irect(env, rectObject, &ir);
239 GraphicsJNI::irect_to_jrect(pair->fIter.rect(), env, rectObject);
Movie.cpp 5 #include "GraphicsJNI.h"
76 SkCanvas* c = GraphicsJNI::getNativeCanvas(env, canvas);
80 const SkPaint* p = jpaint ? GraphicsJNI::getNativePaint(env, jpaint) : NULL;
Matrix.cpp 19 #include "GraphicsJNI.h"
229 GraphicsJNI::jrectf_to_rect(env, src, &src_);
231 GraphicsJNI::jrectf_to_rect(env, dst, &dst_);
310 GraphicsJNI::jrectf_to_rect(env, src, &src_);
312 GraphicsJNI::rect_to_jrectf(dst_, env, dst);
GraphicsJNI.h 18 class GraphicsJNI {
  /frameworks/base/core/jni/
android_view_PointerIcon.cpp 26 #include <android/graphics/GraphicsJNI.h>
81 SkBitmap* bitmap = GraphicsJNI::getNativeBitmap(env, bitmapObj);
android_emoji_EmojiFactory.cpp 9 #include "GraphicsJNI.h"
173 return GraphicsJNI::createBitmap(env, bitmap,
174 GraphicsJNI::kBitmapCreateFlag_Premultiplied, NULL);
android_view_SurfaceControl.cpp 26 #include "android/graphics/GraphicsJNI.h"
178 return GraphicsJNI::createBitmap(env, bitmap,
179 GraphicsJNI::kBitmapCreateFlag_Premultiplied, NULL);
android_view_GLES20Canvas.cpp 20 #include "GraphicsJNI.h"
420 if (!GraphicsJNI::SetPixels(env, colors, offset, stride, 0, 0, width, height, *bitmap, true)) {
    [all...]
  /frameworks/webview/chromium/plat_support/
graphics_utils.cpp 29 #include "GraphicsJNI.h"
58 SkCanvas* canvas = GraphicsJNI::getNativeCanvas(env, java_canvas);
  /frameworks/base/services/jni/
com_android_server_input_InputManagerService.cpp 48 #include <android/graphics/GraphicsJNI.h>
    [all...]

Completed in 241 milliseconds