/frameworks/av/include/media/ |
H A D | ToneGenerator.h | 179 // These supervisory tones are different depending on the region (USA/CANADA, JAPAN, rest of the world). 180 // When a tone in the range [FIRST_SUP_TONE, LAST_SUP_TONE] is requested, the region is determined 198 enum region { enum in class:android::ToneGenerator
|
/frameworks/base/core/java/android/text/ |
H A D | SpannableStringBuilder.java | 1003 private static String region(int start, int end) { method in class:SpannableStringBuilder 1010 region(start, end) + " has end before start"); 1017 region(start, end) + " ends beyond length " + len); 1022 region(start, end) + " starts before 0");
|
H A D | SpannableStringInternal.java | 335 private static String region(int start, int end) { method in class:SpannableStringInternal 342 region(start, end) + 350 region(start, end) + 356 region(start, end) +
|
/frameworks/base/core/java/android/view/ |
H A D | GLES20Canvas.java | 494 public boolean clipRegion(Region region) { argument 496 region.getBounds(mClipBounds); 502 public boolean clipRegion(Region region, Region.Op op) { argument 504 region.getBounds(mClipBounds); 1014 private static native void nDrawRects(int renderer, int region, int paint); argument
|
H A D | IWindowSession.aidl | 107 void setTransparentRegion(IWindow window, in Region region);
|
H A D | Surface.java | 256 private native void nativeSetTransparentRegionHint(Region region); argument 441 * @param dirty A rectangle that represents the dirty region that the caller wants 444 * not available. The caller should redraw the entire dirty region as represented 582 public void setTransparentRegionHint(Region region) { argument 583 nativeSetTransparentRegionHint(region);
|
H A D | SurfaceView.java | 56 * <p> The transparent region that makes the surface visible is based on the 243 // This is needed because the transparent region is computed 298 public boolean gatherTransparentRegion(Region region) { argument 300 return super.gatherTransparentRegion(region); 305 // this view draws, remove it from the transparent region 306 opaque = super.gatherTransparentRegion(region); 307 } else if (region != null) { 315 region.op(l, t, l+w, t+h, Region.Op.UNION);
|
H A D | View.java | 438 * intersects the invalid region. Because the tree is traversed in-order, 446 * Note that the framework will not draw views that are not in the invalid region. 5083 * region will be stored in this parameter; that is, if boundInView is fully 10258 * @param dirty the rectangle representing the bounds of the dirty region 10298 * @param l the left position of the dirty region 10299 * @param t the top position of the dirty region 10300 * @param r the right position of the dirty region 10301 * @param b the bottom position of the dirty region 13095 * Amount by which to extend the left fading region. Called only when 13109 * Amount by which to extend the right fading region 15891 gatherTransparentRegion(Region region) argument 16405 applyDrawableToTransparentRegion(Drawable dr, Region region) argument [all...] |
H A D | ViewGroup.java | 113 * Used to track the current invalidation region. 5069 public boolean gatherTransparentRegion(Region region) { argument 5072 if (meOpaque && region == null) { 5073 // The caller doesn't care about the region, so stop now. 5076 super.gatherTransparentRegion(region); 5083 if (!child.gatherTransparentRegion(region)) {
|
/frameworks/base/core/java/android/view/animation/ |
H A D | Animation.java | 1017 // Enlarge the invalidate region to account for rounding errors 1041 final RectF region = mPreviousRegion; 1042 region.set(left, top, right, bottom); 1043 // Enlarge the invalidate region to account for rounding errors 1044 region.inset(-1.0f, -1.0f);
|
H A D | AnimationSet.java | 338 final RectF region = mPreviousRegion; 339 region.set(left, top, right, bottom); 340 region.inset(-1.0f, -1.0f);
|
/frameworks/base/core/java/android/widget/ |
H A D | FrameLayout.java | 501 public boolean gatherTransparentRegion(Region region) { argument 502 boolean opaque = super.gatherTransparentRegion(region); 503 if (region != null && mForeground != null) { 504 applyDrawableToTransparentRegion(mForeground, region);
|
H A D | SlidingDrawer.java | 588 final Rect region = mInvalidate; 591 region.set(frame); 593 region.union(frame.left, frame.top - deltaY, frame.right, frame.bottom - deltaY); 594 region.union(0, frame.bottom - deltaY, getWidth(), 597 invalidate(region); 618 final Rect region = mInvalidate; 621 region.set(frame); 623 region.union(frame.left - deltaX, frame.top, frame.right - deltaX, frame.bottom); 624 region.union(frame.right - deltaX, 0, 627 invalidate(region); [all...] |
/frameworks/base/core/jni/ |
H A D | AndroidRuntime.cpp | 385 static void readLocale(char* language, char* region) argument 394 property_get("ro.product.locale.region", propRegn, "US"); 397 strncat(region, propRegn, 2); 398 //ALOGD("language=%s region=%s\n", language, region); 745 char regionOption[sizeof("-Duser.region=") + 3]; 747 strcpy(regionOption, "-Duser.region=");
|
H A D | android_view_GLES20Canvas.cpp | 453 OpenGLRenderer* renderer, SkRegion* region, SkPaint* paint) { 454 SkRegion::Iterator it(*region); 452 android_view_GLES20Canvas_drawRects(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, SkRegion* region, SkPaint* paint) argument
|
H A D | android_view_Surface.cpp | 383 // get dirty region 578 SkRegion* region = android_graphics_Region_getSkRegion(env, regionObj); 579 if (!region) { 584 const SkIRect& b(region->getBounds()); 586 if (region->isComplex()) { 587 SkRegion::Iterator it(*region);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | BitmapRegionDecoder.cpp | 219 SkIRect region; local 220 region.fLeft = start_x; 221 region.fTop = start_y; 222 region.fRight = start_x + width; 223 region.fBottom = start_y + height; 236 if (!brd->decodeRegion(bitmap, region, prefConfig, sampleSize)) {
|
H A D | Graphics.cpp | 335 SkRegion* GraphicsJNI::getNativeRegion(JNIEnv* env, jobject region) argument 338 SkASSERT(region); 339 SkASSERT(env->IsInstanceOf(region, gRegion_class)); 340 SkRegion* r = (SkRegion*)env->GetIntField(region, gRegion_nativeInstanceID); 378 jobject GraphicsJNI::createRegion(JNIEnv* env, SkRegion* region) argument 380 SkASSERT(region != NULL); 382 static_cast<jint>(reinterpret_cast<uintptr_t>(region)), 0);
|
H A D | GraphicsJNI.h | 45 static SkRegion* getNativeRegion(JNIEnv*, jobject region); 62 static jobject createRegion(JNIEnv* env, SkRegion* region);
|
H A D | NinePatch.cpp | 163 SkRegion* region = NULL; local 164 NinePatch_Draw(NULL, bounds, *bitmap, *chunk, NULL, ®ion); 165 return (jint)region;
|
H A D | Region.cpp | 42 static void Region_destructor(JNIEnv* env, jobject, SkRegion* region) { argument 43 SkASSERT(region); 44 delete region; 62 static jboolean Region_getBounds(JNIEnv* env, jobject, SkRegion* region, jobject rectBounds) { argument 63 GraphicsJNI::irect_to_jrect(region->getBounds(), env, rectBounds); 64 return !region->isEmpty(); 67 static jboolean Region_getBoundaryPath(JNIEnv* env, jobject, const SkRegion* region, SkPath* path) { argument 68 return region->getBoundaryPath(path); 78 static jboolean Region_op1(JNIEnv* env, jobject, SkRegion* dst, jobject rectObject, const SkRegion* region, int op) { argument 81 return dst->op(ir, *region, (SkRegio 90 Region_isEmpty(JNIEnv* env, jobject region) argument 94 Region_isRect(JNIEnv* env, jobject region) argument 98 Region_isComplex(JNIEnv* env, jobject region) argument 102 Region_contains(JNIEnv* env, jobject region, int x, int y) argument 106 Region_quickContains(JNIEnv* env, jobject region, int left, int top, int right, int bottom) argument 110 Region_quickRejectIIII(JNIEnv* env, jobject region, int left, int top, int right, int bottom) argument 116 Region_quickRejectRgn(JNIEnv* env, jobject region, jobject other) argument 120 Region_translate(JNIEnv* env, jobject region, int x, int y, jobject dst) argument 150 Region_scale(JNIEnv* env, jobject region, jfloat scale, jobject dst) argument 158 Region_toString(JNIEnv* env, jobject clazz, SkRegion* region) argument 178 SkRegion* region = new SkRegion; local 185 Region_writeToParcel(JNIEnv* env, jobject clazz, const SkRegion* region, jobject parcel) argument 220 RegionIter_constructor(JNIEnv* env, jobject, const SkRegion* region) argument [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 642 * Modify the current clip with the specified region. Note that unlike 648 * @param region The region to operate on the current clip, based on op 652 public boolean clipRegion(Region region, Region.Op op) { argument 653 return native_clipRegion(mNativeCanvas, region.ni(), op.nativeInt); 657 * Intersect the current clip with the specified region. Note that unlike 663 * @param region The region to operate on the current clip, based on op 666 public boolean clipRegion(Region region) { argument 667 return clipRegion(region, Regio [all...] |
H A D | Region.java | 47 /** Create an empty region 53 /** Return a copy of the specified region 55 public Region(Region region) { argument 57 nativeSetRegion(mNativeRegion, region.mNativeRegion); 60 /** Return a region set to the specified rectangle 67 /** Return a region set to the specified rectangle 74 /** Set the region to the empty region 80 /** Set the region to the specified region 82 set(Region region) argument 268 op(Region region, Op op) argument 276 op(Rect rect, Region region, Op op) argument [all...] |
H A D | RegionIterator.java | 22 * Construct an iterator for all of the rectangles in a region. This 23 * effectively makes a private copy of the region, so any subsequent edits 24 * to region will not affect the iterator. 26 * @param region the region that will be iterated 28 public RegionIterator(Region region) { argument 29 mNativeIter = nativeConstructor(region.ni()); 33 * Return the next rectangle in the region. If there are no more rectangles
|
/frameworks/base/libs/hwui/ |
H A D | Layer.h | 54 * Sets this layer's region to a rectangle. Computes the appropriate 58 const android::Rect& bounds = region.getBounds(); 244 * Dirty region indicating what parts of the layer 247 Region region; member in struct:android::uirenderer::Layer 249 * If the region is a rectangle, coordinates of the 250 * region are stored here.
|