HomeSort by relevance Sort by last modified time
    Searched refs:GraphicsJNI (Results 1 - 23 of 23) 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/
Graphics.cpp 1 #define LOG_TAG "GraphicsJNI"
5 #include "GraphicsJNI.h"
43 bool GraphicsJNI::hasException(JNIEnv *env) {
188 void GraphicsJNI::get_jrect(JNIEnv* env, jobject obj, int* L, int* T, int* R, int* B)
198 void GraphicsJNI::set_jrect(JNIEnv* env, jobject obj, int L, int T, int R, int B)
208 SkIRect* GraphicsJNI::jrect_to_irect(JNIEnv* env, jobject obj, SkIRect* ir)
219 void GraphicsJNI::irect_to_jrect(const SkIRect& ir, JNIEnv* env, jobject obj)
229 SkRect* GraphicsJNI::jrectf_to_rect(JNIEnv* env, jobject obj, SkRect* r)
240 SkRect* GraphicsJNI::jrect_to_rect(JNIEnv* env, jobject obj, SkRect* r)
251 void GraphicsJNI::rect_to_jrectf(const SkRect& r, JNIEnv* env, jobject obj
    [all...]
Paint.cpp 23 #include "GraphicsJNI.h"
109 Paint* nativePaint = GraphicsJNI::getNativePaint(env, paint);
120 Paint* nativePaint = GraphicsJNI::getNativePaint(env, paint);
135 return GraphicsJNI::getNativePaint(env, paint)->getHinting()
141 GraphicsJNI::getNativePaint(env, paint)->setHinting(
147 GraphicsJNI::getNativePaint(env, paint)->setAntiAlias(aa);
152 GraphicsJNI::getNativePaint(env, paint)->setLinearText(linearText);
157 GraphicsJNI::getNativePaint(env, paint)->setSubpixelText(subpixelText);
162 GraphicsJNI::getNativePaint(env, paint)->setUnderlineText(underlineText);
167 GraphicsJNI::getNativePaint(env, paint)->setStrikeThruText(strikeThruText)
    [all...]
Rasterizer.cpp 24 #include "GraphicsJNI.h"
48 SkRasterizer* GraphicsJNI::refNativeRasterizer(jlong rasterizerHandle) {
BitmapRegionDecoder.cpp 22 #include "GraphicsJNI.h"
100 return GraphicsJNI::createBitmapRegionDecoder(env, bm);
191 prefColorType = GraphicsJNI::getNativeBitmapColorType(env, jconfig);
222 bitmap = GraphicsJNI::getNativeBitmap(env, tileBitmap);
255 if (!requireUnpremultiplied) bitmapCreateFlags |= GraphicsJNI::kBitmapCreateFlag_Premultiplied;
256 return GraphicsJNI::createBitmap(env, bitmap, buff, bitmapCreateFlags, NULL, NULL, -1);
Bitmap.cpp 7 #include "GraphicsJNI.h"
117 bool GraphicsJNI::SetPixels(JNIEnv* env, jintArray srcColors, int srcOffset, int srcStride,
312 int flags = GraphicsJNI::kBitmapCreateFlag_Premultiplied;
313 if (isMutable) flags |= GraphicsJNI::kBitmapCreateFlag_Mutable;
320 SkColorType colorType = GraphicsJNI::legacyBitmapConfigToColorType(configHandle);
337 jbyteArray buff = GraphicsJNI::allocateJavaPixelRef(env, &bitmap, NULL);
343 GraphicsJNI::SetPixels(env, jColors, offset, stride,
347 return GraphicsJNI::createBitmap(env, new SkBitmap(bitmap), buff,
354 SkColorType dstCT = GraphicsJNI::legacyBitmapConfigToColorType(dstConfigHandle);
361 return GraphicsJNI::createBitmap(env, new SkBitmap(result), allocator.getStorageObj()
    [all...]
BitmapFactory.cpp 16 #include "GraphicsJNI.h"
236 prefColorType = GraphicsJNI::getNativeBitmapColorType(env, jconfig);
275 existingBufferSize = GraphicsJNI::getBitmapAllocationByteCount(env, javaBitmap);
416 GraphicsJNI::set_jrect(env, padding,
420 GraphicsJNI::set_jrect(env, padding, -1, -1, -1, -1);
440 GraphicsJNI::reinitBitmap(env, javaBitmap, outputBitmap, isPremultiplied);
447 if (isMutable) bitmapCreateFlags |= GraphicsJNI::kBitmapCreateFlag_Mutable;
448 if (!requireUnpremultiplied) bitmapCreateFlags |= GraphicsJNI::kBitmapCreateFlag_Premultiplied;
451 return GraphicsJNI::createBitmap(env, outputBitmap, javaAllocator.getStorageObj(),
NinePatch.cpp 30 #include "GraphicsJNI.h"
135 GraphicsJNI::jrectf_to_rect(env, boundsRectF, &bounds);
154 GraphicsJNI::jrect_to_rect(env, boundsRect, &bounds);
167 GraphicsJNI::jrect_to_rect(env, boundsRect, &bounds);
Movie.cpp 5 #include "GraphicsJNI.h"
77 SkCanvas* c = GraphicsJNI::getNativeCanvas(env, canvas);
79 const SkPaint* p = jpaint ? GraphicsJNI::getNativePaint(env, jpaint) : NULL;
Region.cpp 19 #include "GraphicsJNI.h"
79 GraphicsJNI::irect_to_jrect(region->getBounds(), env, rectBounds);
104 GraphicsJNI::jrect_to_irect(env, rectObject, &ir);
282 GraphicsJNI::irect_to_jrect(pair->fIter.rect(), env, rectObject);
Matrix.cpp 19 #include "GraphicsJNI.h"
202 GraphicsJNI::jrectf_to_rect(env, src, &src_);
204 GraphicsJNI::jrectf_to_rect(env, dst, &dst_);
262 GraphicsJNI::jrectf_to_rect(env, src, &src_);
264 GraphicsJNI::rect_to_jrectf(dst_, env, dst);
GraphicsJNI.h 21 class GraphicsJNI {
Path.cpp 24 #include "GraphicsJNI.h"
100 GraphicsJNI::rect_to_jrectf(rect, env, jrect);
107 GraphicsJNI::rect_to_jrectf(bounds, env, jbounds);
  /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_TextureView.cpp 32 #include "android/graphics/GraphicsJNI.h"
175 SkCanvas* nativeCanvas = GraphicsJNI::getNativeCanvas(env, canvas);
android_view_GraphicBuffer.cpp 24 #include "android/graphics/GraphicsJNI.h"
207 SkCanvas* nativeCanvas = GraphicsJNI::getNativeCanvas(env, canvas);
android_view_Surface.cpp 24 #include "android/graphics/GraphicsJNI.h"
244 SkCanvas* nativeCanvas = GraphicsJNI::getNativeCanvas(env, canvasObj);
android_view_SurfaceControl.cpp 26 #include "android/graphics/GraphicsJNI.h"
187 return GraphicsJNI::createBitmap(env, bitmap,
188 GraphicsJNI::kBitmapCreateFlag_Premultiplied, NULL);
android_graphics_Canvas.cpp 18 #include "GraphicsJNI.h"
149 (void)GraphicsJNI::irect_to_jrect(ir, env, bounds);
390 if (!GraphicsJNI::SetPixels(env, jcolors, offset, stride, 0, 0, width, height, bitmap)) {
android_view_GLES20Canvas.cpp 20 #include "GraphicsJNI.h"
411 if (!GraphicsJNI::SetPixels(env, colors, offset, stride, 0, 0, width, height, *bitmap)) {
    [all...]
  /frameworks/webview/chromium/plat_support/
graphics_utils.cpp 29 #include "GraphicsJNI.h"
58 SkCanvas* canvas = GraphicsJNI::getNativeCanvas(env, java_canvas);
  /frameworks/base/services/core/jni/
com_android_server_input_InputManagerService.cpp 49 #include <android/graphics/GraphicsJNI.h>
    [all...]

Completed in 1318 milliseconds