Searched refs:GraphicsJNI (Results 1 - 18 of 18) 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/android/graphics/
H A DGraphics.cpp1 #define LOG_TAG "GraphicsJNI"
5 #include "GraphicsJNI.h"
41 bool GraphicsJNI::hasException(JNIEnv *env) {
177 void GraphicsJNI::get_jrect(JNIEnv* env, jobject obj, int* L, int* T, int* R, int* B)
187 void GraphicsJNI::set_jrect(JNIEnv* env, jobject obj, int L, int T, int R, int B)
197 SkIRect* GraphicsJNI::jrect_to_irect(JNIEnv* env, jobject obj, SkIRect* ir)
208 void GraphicsJNI::irect_to_jrect(const SkIRect& ir, JNIEnv* env, jobject obj)
218 SkRect* GraphicsJNI::jrectf_to_rect(JNIEnv* env, jobject obj, SkRect* r)
229 SkRect* GraphicsJNI::jrect_to_rect(JNIEnv* env, jobject obj, SkRect* r)
240 void GraphicsJNI
[all...]
H A DPaint.cpp23 #include "GraphicsJNI.h"
95 return GraphicsJNI::getNativePaint(env, paint)->getFlags();
100 GraphicsJNI::getNativePaint(env, paint)->setFlags(flags);
105 return GraphicsJNI::getNativePaint(env, paint)->getHinting()
111 GraphicsJNI::getNativePaint(env, paint)->setHinting(
117 GraphicsJNI::getNativePaint(env, paint)->setAntiAlias(aa);
122 GraphicsJNI::getNativePaint(env, paint)->setLinearText(linearText);
127 GraphicsJNI::getNativePaint(env, paint)->setSubpixelText(subpixelText);
132 GraphicsJNI::getNativePaint(env, paint)->setUnderlineText(underlineText);
137 GraphicsJNI
[all...]
H A DCanvas.cpp18 #include "GraphicsJNI.h"
80 SkCanvas* canvas = GraphicsJNI::getNativeCanvas(env, jcanvas);
86 SkCanvas* canvas = GraphicsJNI::getNativeCanvas(env, jcanvas);
92 SkCanvas* canvas = GraphicsJNI::getNativeCanvas(env, jcanvas);
106 return GraphicsJNI::getNativeCanvas(env, jcanvas)->save();
111 return GraphicsJNI::getNativeCanvas(env, jcanvas)->save(flags);
119 GraphicsJNI::jrectf_to_rect(env, bounds, &storage);
139 GraphicsJNI::jrectf_to_rect(env, bounds, &storage);
158 SkCanvas* canvas = GraphicsJNI::getNativeCanvas(env, jcanvas);
168 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 DBitmapRegionDecoder.cpp21 #include "GraphicsJNI.h"
95 return GraphicsJNI::createBitmapRegionDecoder(env, bm);
200 prefConfig = GraphicsJNI::getNativeBitmapConfig(env, jconfig);
229 bitmap = GraphicsJNI::getNativeBitmap(env, tileBitmap);
260 return GraphicsJNI::createBitmap(env, bitmap, buff, false, NULL, NULL, -1);
H A DMovie.cpp3 #include "GraphicsJNI.h"
73 SkCanvas* c = GraphicsJNI::getNativeCanvas(env, canvas);
77 const SkPaint* p = jpaint ? GraphicsJNI::getNativePaint(env, jpaint) : NULL;
H A DPath.cpp24 #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_);
H A DNinePatch.cpp26 #include "GraphicsJNI.h"
123 GraphicsJNI::jrectf_to_rect(env, boundsRectF, &bounds);
139 GraphicsJNI::jrect_to_rect(env, boundsRect, &bounds);
152 GraphicsJNI::jrect_to_rect(env, boundsRect, &bounds);
H A DRegion.cpp19 #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);
H A DBitmap.cpp5 #include "GraphicsJNI.h"
80 bool GraphicsJNI::SetPixels(JNIEnv* env, jintArray srcColors,
229 jbyteArray buff = GraphicsJNI::allocateJavaPixelRef(env, &bitmap, NULL);
235 GraphicsJNI::SetPixels(env, jColors, offset, stride,
239 return GraphicsJNI::createBitmap(env, new SkBitmap(bitmap), buff, isMutable, NULL, NULL);
251 return GraphicsJNI::createBitmap(env, new SkBitmap(result), allocator.getStorageObj(), isMutable, NULL, NULL);
405 jbyteArray buffer = GraphicsJNI::allocateJavaPixelRef(env, bitmap, ctable);
429 return GraphicsJNI::createBitmap(env, bitmap, buffer, isMutable, NULL, NULL, density);
507 return GraphicsJNI::createBitmap(env, dst, allocator.getStorageObj(), true, NULL, NULL);
576 GraphicsJNI
[all...]
H A DBitmapFactory.cpp130 GraphicsJNI::set_jrect(env, padding, chunk->paddingLeft, chunk->paddingTop,
188 prefConfig = GraphicsJNI::getNativeBitmapConfig(env, jconfig);
358 GraphicsJNI::set_jrect(env, padding,
362 GraphicsJNI::set_jrect(env, padding, -1, -1, -1, -1);
391 return GraphicsJNI::createBitmap(env, bitmap, javaAllocator.getStorageObj(),
H A DMatrix.cpp19 #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);
H A DGraphicsJNI.h18 class GraphicsJNI { class
/frameworks/base/core/jni/
H A Dandroid_view_PointerIcon.cpp25 #include <android/graphics/GraphicsJNI.h>
80 SkBitmap* bitmap = GraphicsJNI::getNativeBitmap(env, bitmapObj);
H A Dandroid_view_Surface.cpp23 #include "android/graphics/GraphicsJNI.h"
519 return GraphicsJNI::createBitmap(env, bitmap, false, NULL);
H A Dandroid_view_GLES20Canvas.cpp22 #include "GraphicsJNI.h"
372 if (!GraphicsJNI::SetPixels(env, colors, offset, stride, 0, 0, width, height, *bitmap)) {
/frameworks/base/services/jni/
H A Dcom_android_server_input_InputManagerService.cpp47 #include <android/graphics/GraphicsJNI.h>

Completed in 1556 milliseconds