Searched refs:GraphicsJNI (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/native/graphics/jni/
H A Dbitmap.cpp18 #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/
H A Dcom_android_internal_graphics_NativeUtils.cpp21 #include "GraphicsJNI.h"
45 GraphicsJNI::jrect_to_irect(env, rect, &src);
48 SkCanvas* c = GraphicsJNI::getNativeCanvas(env, canvas);
H A Dandroid_view_ViewRoot.cpp24 #include "GraphicsJNI.h"
39 SkCanvas* canvas = GraphicsJNI::getNativeCanvas(env, jcanvas);
/frameworks/base/core/jni/android/graphics/
H A DGraphics.cpp1 #define LOG_TAG "GraphicsJNI"
4 #include "GraphicsJNI.h"
49 bool GraphicsJNI::hasException(JNIEnv *env) {
187 void GraphicsJNI::get_jrect(JNIEnv* env, jobject obj, int* L, int* T, int* R, int* B)
197 void GraphicsJNI::set_jrect(JNIEnv* env, jobject obj, int L, int T, int R, int B)
207 SkIRect* GraphicsJNI::jrect_to_irect(JNIEnv* env, jobject obj, SkIRect* ir)
218 void GraphicsJNI::irect_to_jrect(const SkIRect& ir, JNIEnv* env, jobject obj)
228 SkRect* GraphicsJNI::jrectf_to_rect(JNIEnv* env, jobject obj, SkRect* r)
239 SkRect* GraphicsJNI::jrect_to_rect(JNIEnv* env, jobject obj, SkRect* r)
250 void GraphicsJNI
[all...]
H A DNIOBuffer.cpp2 #include "GraphicsJNI.h"
89 if (GraphicsJNI::hasException(env)) {
97 if (GraphicsJNI::hasException(env)) {
107 if (GraphicsJNI::hasException(env) || NULL == fLockedArray) {
114 if (GraphicsJNI::hasException(env)) {
H A DPaint.cpp24 #include "GraphicsJNI.h"
87 return GraphicsJNI::getNativePaint(env, paint)->getFlags();
92 GraphicsJNI::getNativePaint(env, paint)->setFlags(flags);
97 GraphicsJNI::getNativePaint(env, paint)->setAntiAlias(aa);
102 GraphicsJNI::getNativePaint(env, paint)->setLinearText(linearText);
107 GraphicsJNI::getNativePaint(env, paint)->setSubpixelText(subpixelText);
112 GraphicsJNI::getNativePaint(env, paint)->setUnderlineText(underlineText);
117 GraphicsJNI::getNativePaint(env, paint)->setStrikeThruText(strikeThruText);
122 GraphicsJNI::getNativePaint(env, paint)->setFakeBoldText(fakeBoldText);
127 GraphicsJNI
[all...]
H A DCanvas.cpp18 #include "GraphicsJNI.h"
76 SkCanvas* canvas = GraphicsJNI::getNativeCanvas(env, jcanvas);
96 SkCanvas* canvas = GraphicsJNI::getNativeCanvas(env, jcanvas);
102 SkCanvas* canvas = GraphicsJNI::getNativeCanvas(env, jcanvas);
118 return GraphicsJNI::getNativeCanvas(env, jcanvas)->save();
123 return GraphicsJNI::getNativeCanvas(env, jcanvas)->save(flags);
131 GraphicsJNI::jrectf_to_rect(env, bounds, &storage);
151 GraphicsJNI::jrectf_to_rect(env, bounds, &storage);
170 SkCanvas* canvas = GraphicsJNI::getNativeCanvas(env, jcanvas);
180 return GraphicsJNI
[all...]
H A DPicture.cpp18 #include "GraphicsJNI.h"
75 return GraphicsJNI::getNativePicture(env, jpic)->width();
80 return GraphicsJNI::getNativePicture(env, jpic)->height();
H A DBitmap.cpp4 #include "GraphicsJNI.h"
76 bool GraphicsJNI::SetPixels(JNIEnv* env, jintArray srcColors,
227 if (!GraphicsJNI::setJavaPixelRef(env, &bitmap, NULL, true)) {
232 GraphicsJNI::SetPixels(env, jColors, offset, stride,
236 return GraphicsJNI::createBitmap(env, new SkBitmap(bitmap), isMutable,
249 return GraphicsJNI::createBitmap(env, new SkBitmap(result), isMutable,
365 if (!GraphicsJNI::setJavaPixelRef(env, bitmap, ctable, true)) {
378 return GraphicsJNI::createBitmap(env, bitmap, isMutable, NULL, density);
433 return GraphicsJNI::createBitmap(env, dst, true, NULL);
501 GraphicsJNI
[all...]
H A DMovie.cpp3 #include "GraphicsJNI.h"
76 SkCanvas* c = GraphicsJNI::getNativeCanvas(env, canvas);
80 const SkPaint* p = jpaint ? GraphicsJNI::getNativePaint(env, jpaint) : NULL;
H A DPath.cpp24 #include "GraphicsJNI.h"
74 GraphicsJNI::rect_to_jrectf(rect_, env, rect);
80 GraphicsJNI::rect_to_jrectf(bounds_, env, bounds);
149 GraphicsJNI::jrectf_to_rect(env, oval, &oval_);
161 GraphicsJNI::jrectf_to_rect(env, rect, &rect_);
175 GraphicsJNI::jrectf_to_rect(env, oval, &oval_);
188 GraphicsJNI::jrectf_to_rect(env, oval, &oval_);
197 GraphicsJNI::jrectf_to_rect(env, rect, &rect_);
206 GraphicsJNI::jrectf_to_rect(env, rect, &rect_);
H A DNinePatch.cpp26 #include "GraphicsJNI.h"
124 GraphicsJNI::jrectf_to_rect(env, boundsRectF, &bounds);
140 GraphicsJNI::jrect_to_rect(env, boundsRect, &bounds);
153 GraphicsJNI::jrect_to_rect(env, boundsRect, &bounds);
H A DRegion.cpp3 #include "GraphicsJNI.h"
40 GraphicsJNI::irect_to_jrect(region->getBounds(), env, rectBounds);
57 GraphicsJNI::jrect_to_irect(env, rectObject, &ir);
209 GraphicsJNI::irect_to_jrect(pair->fIter.rect(), env, rectObject);
H A DBitmapFactory.cpp8 #include "GraphicsJNI.h"
371 prefConfig = GraphicsJNI::getNativeBitmapConfig(env, jconfig);
450 GraphicsJNI::set_jrect(env, padding,
456 GraphicsJNI::set_jrect(env, padding, -1, -1, -1, -1);
471 return GraphicsJNI::createBitmap(env, bitmap, false, ninePatchChunk);
659 GraphicsJNI::set_jrect(env, padding, chunk->paddingLeft, chunk->paddingTop,
H A DGraphicsJNI.h13 class GraphicsJNI { class
H A DMatrix.cpp24 #include "GraphicsJNI.h"
230 GraphicsJNI::jrectf_to_rect(env, src, &src_);
232 GraphicsJNI::jrectf_to_rect(env, dst, &dst_);
311 GraphicsJNI::jrectf_to_rect(env, src, &src_);
313 GraphicsJNI::rect_to_jrectf(dst_, env, dst);

Completed in 134 milliseconds