/frameworks/base/core/jni/android/graphics/ |
D | Region.cpp | 19 static void Region_destructor(JNIEnv* env, jobject, SkRegion* region) { in Region_destructor() argument 20 SkASSERT(region); in Region_destructor() 21 delete region; in Region_destructor() 39 static jboolean Region_getBounds(JNIEnv* env, jobject, SkRegion* region, jobject rectBounds) { in Region_getBounds() argument 40 GraphicsJNI::irect_to_jrect(region->getBounds(), env, rectBounds); in Region_getBounds() 41 return !region->isEmpty(); in Region_getBounds() 44 static jboolean Region_getBoundaryPath(JNIEnv* env, jobject, const SkRegion* region, SkPath* path) { in Region_getBoundaryPath() argument 45 return region->getBoundaryPath(path); in Region_getBoundaryPath() 55 …gion_op1(JNIEnv* env, jobject, SkRegion* dst, jobject rectObject, const SkRegion* region, int op) { in Region_op1() argument 58 return dst->op(ir, *region, (SkRegion::Op)op); in Region_op1() [all …]
|
D | BitmapRegionDecoder.cpp | 223 SkIRect region; in nativeDecodeRegion() local 224 region.fLeft = start_x; in nativeDecodeRegion() 225 region.fTop = start_y; in nativeDecodeRegion() 226 region.fRight = start_x + width; in nativeDecodeRegion() 227 region.fBottom = start_y + height; in nativeDecodeRegion() 229 if (!brd->decodeRegion(bitmap, region, prefConfig, sampleSize)) { in nativeDecodeRegion()
|
D | NinePatch.cpp | 164 SkRegion* region = NULL; in getTransparentRegion() local 165 NinePatch_Draw(NULL, bounds, *bitmap, *chunk, NULL, ®ion); in getTransparentRegion() 166 return (jint)region; in getTransparentRegion()
|
D | Graphics.cpp | 351 SkRegion* GraphicsJNI::getNativeRegion(JNIEnv* env, jobject region) in getNativeRegion() argument 354 SkASSERT(region); in getNativeRegion() 355 SkASSERT(env->IsInstanceOf(region, gRegion_class)); in getNativeRegion() 356 SkRegion* r = (SkRegion*)env->GetIntField(region, gRegion_nativeInstanceID); in getNativeRegion() 398 jobject GraphicsJNI::createRegion(JNIEnv* env, SkRegion* region) in createRegion() argument 400 SkASSERT(region != NULL); in createRegion() 403 env->CallVoidMethod(obj, gRegion_constructorMethodID, (jint)region, 0); in createRegion()
|
D | GraphicsJNI.h | 42 static SkRegion* getNativeRegion(JNIEnv*, jobject region); 57 static jobject createRegion(JNIEnv* env, SkRegion* region);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Region_Delegate.java | 331 Region_Delegate region = sManager.getDelegate(native_region); in nativeGetBounds() local 332 if (region == null) { in nativeGetBounds() 336 Rectangle bounds = region.mArea.getBounds(); in nativeGetBounds() 351 Region_Delegate region = sManager.getDelegate(native_region); in nativeGetBoundaryPath() local 352 if (region == null) { in nativeGetBoundaryPath() 361 if (region.mArea.isEmpty()) { in nativeGetBoundaryPath() 366 path.setPathIterator(region.mArea.getPathIterator(new AffineTransform())); in nativeGetBoundaryPath() 373 Region_Delegate region = sManager.getDelegate(native_dst); in nativeOp() local 374 if (region == null) { in nativeOp() 378 region.mArea = combineShapes(region.mArea, in nativeOp() [all …]
|
/frameworks/base/include/private/ui/ |
D | RegionHelper.h | 49 struct region { struct 54 inline region(const region& rhs) in region() argument 56 inline region(RECT const* r, size_t c) in region() argument 58 inline region(RECT const* r, size_t c, TYPE dx, TYPE dy) in region() function 69 inline region_operator(int op, const region& lhs, const region& rhs) in region_operator() 156 region lhs; 157 region rhs; 160 inline Spanner(const region& lhs, const region& rhs) in Spanner() 189 void advance(region& reg, TYPE& aTop, TYPE& aBottom) { in advance() 213 region lhs; [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | Region.java | 47 public Region(Region region) { in Region() argument 49 nativeSetRegion(mNativeRegion, region.mNativeRegion); in Region() 74 public boolean set(Region region) { in set() argument 75 return nativeSetRegion(mNativeRegion, region.mNativeRegion); in set() 260 public boolean op(Region region, Op op) { in op() argument 261 return op(this, region, op); in op() 268 public boolean op(Rect rect, Region region, Op op) { in op() argument 269 return nativeOp(mNativeRegion, rect, region.mNativeRegion, in op()
|
D | RegionIterator.java | 28 public RegionIterator(Region region) { in RegionIterator() argument 29 mNativeIter = nativeConstructor(region.ni()); in RegionIterator()
|
D | Canvas.java | 586 public boolean clipRegion(Region region, Region.Op op) { in clipRegion() argument 587 return native_clipRegion(mNativeCanvas, region.ni(), op.nativeInt); in clipRegion() 600 public boolean clipRegion(Region region) { in clipRegion() argument 601 return clipRegion(region, Region.Op.INTERSECT); in clipRegion()
|
/frameworks/base/tools/localize/ |
D | file_utils.cpp | 73 string language, region; in translated_file_name() local 76 region = ""; in translated_file_name() 78 else if (!split_locale(locale, &language, ®ion)) { in translated_file_name() 86 if (region != "") { in translated_file_name() 88 result += region; in translated_file_name()
|
D | Configuration.cpp | 50 split_locale(const string& in, string* language, string* region) in split_locale() argument 56 region->clear(); in split_locale() 66 region->assign(in.c_str()+3, 2); in split_locale()
|
D | Configuration.h | 35 bool split_locale(const string& in, string* language, string* region);
|
/frameworks/base/libs/ui/tests/region/ |
D | Android.mk | 5 region.cpp 12 LOCAL_MODULE:= test-region
|
/frameworks/base/core/java/android/widget/ |
D | SlidingDrawer.java | 582 final Rect region = mInvalidate; in moveHandle() local 585 region.set(frame); in moveHandle() 587 region.union(frame.left, frame.top - deltaY, frame.right, frame.bottom - deltaY); in moveHandle() 588 region.union(0, frame.bottom - deltaY, getWidth(), in moveHandle() 591 invalidate(region); in moveHandle() 612 final Rect region = mInvalidate; in moveHandle() local 615 region.set(frame); in moveHandle() 617 region.union(frame.left - deltaX, frame.top, frame.right - deltaX, frame.bottom); in moveHandle() 618 region.union(frame.right - deltaX, 0, in moveHandle() 621 invalidate(region); in moveHandle()
|
D | FrameLayout.java | 389 public boolean gatherTransparentRegion(Region region) { in gatherTransparentRegion() argument 390 boolean opaque = super.gatherTransparentRegion(region); in gatherTransparentRegion() 391 if (region != null && mForeground != null) { in gatherTransparentRegion() 392 applyDrawableToTransparentRegion(mForeground, region); in gatherTransparentRegion()
|
/frameworks/base/include/ui/ |
D | Region.h | 190 region_iterator(const Region& region) in region_iterator() 191 : b(region.begin()), e(region.end()) { in region_iterator()
|
/frameworks/base/core/java/android/text/ |
D | SpannableStringInternal.java | 335 private static String region(int start, int end) { in region() method in SpannableStringInternal 342 region(start, end) + in checkRange() 350 region(start, end) + in checkRange() 356 region(start, end) + in checkRange()
|
/frameworks/base/core/java/android/view/ |
D | SurfaceView.java | 299 public boolean gatherTransparentRegion(Region region) { in gatherTransparentRegion() argument 301 return super.gatherTransparentRegion(region); in gatherTransparentRegion() 307 opaque = super.gatherTransparentRegion(region); in gatherTransparentRegion() 308 } else if (region != null) { in gatherTransparentRegion() 316 region.op(l, t, l+w, t+h, Region.Op.UNION); in gatherTransparentRegion()
|
D | IWindowSession.aidl | 90 void setTransparentRegion(IWindow window, in Region region); in setTransparentRegion() argument
|
D | ViewGroup.java | 1499 final RectF region = mInvalidateRegion; in drawChild() local 1528 a.getInvalidateRegion(0, 0, cr - cl, cb - ct, region, transformToApply); in drawChild() 1534 final int left = cl + (int) region.left; in drawChild() 1535 final int top = ct + (int) region.top; in drawChild() 1536 invalidate(left, top, left + (int) region.width(), top + (int) region.height()); in drawChild() 3294 public boolean gatherTransparentRegion(Region region) { in gatherTransparentRegion() argument 3297 if (meOpaque && region == null) { in gatherTransparentRegion() 3301 super.gatherTransparentRegion(region); in gatherTransparentRegion() 3308 if (!child.gatherTransparentRegion(region)) { in gatherTransparentRegion()
|
/frameworks/base/core/java/android/view/animation/ |
D | Animation.java | 908 final RectF region = mPreviousRegion; in initializeInvalidateRegion() local 909 region.set(left, top, right, bottom); in initializeInvalidateRegion() 911 region.inset(-1.0f, -1.0f); in initializeInvalidateRegion()
|
D | AnimationSet.java | 270 final RectF region = mPreviousRegion; in initializeInvalidateRegion() local 271 region.set(left, top, right, bottom); in initializeInvalidateRegion() 272 region.inset(-1.0f, -1.0f); in initializeInvalidateRegion()
|
/frameworks/base/libs/ui/ |
D | Region.cpp | 375 region_operator<Rect>::region lhs_region(lhs_rects, lhs_count); in boolean_operation() 376 region_operator<Rect>::region rhs_region(rhs_rects, rhs_count, dx, dy); in boolean_operation() 478 region_operator<Rect>::region lhs_region(lhs_rects, lhs_count); in boolean_operation() 479 region_operator<Rect>::region rhs_region(&rhs, 1, dx, dy); in boolean_operation()
|
/frameworks/base/include/media/ |
D | ToneGenerator.h | 195 enum region { enum
|