Searched refs:region (Results 1 - 25 of 85) sorted by path

1234

/frameworks/av/include/media/
H A DToneGenerator.h179 // 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/av/services/camera/libcameraservice/api1/client2/
H A DParameters.h120 // 3A region types, for use with ANDROID_CONTROL_MAX_REGIONS
125 NUM_REGION // Number of region types
126 } region; member in struct:android::camera2::Parameters
272 // Calculate the crop region rectangle based on current stream sizes
337 // region.
350 // Convert from viewfinder crop-region relative array coordinates
356 // to viewfinder crop-region relative array coordinates
360 // Given a scaler crop region, calculate preview crop region based on
/frameworks/base/core/java/android/text/
H A DSpannableStringBuilder.java1005 private static String region(int start, int end) { method in class:SpannableStringBuilder
1012 region(start, end) + " has end before start");
1019 region(start, end) + " ends beyond length " + len);
1024 region(start, end) + " starts before 0");
H A DSpannableStringInternal.java337 private static String region(int start, int end) { method in class:SpannableStringInternal
344 region(start, end) +
352 region(start, end) +
358 region(start, end) +
/frameworks/base/core/java/android/view/
H A DGLES20Canvas.java335 public boolean clipRegion(Region region) { argument
336 return nClipRegion(mRenderer, region.mNativeRegion, Region.Op.INTERSECT.nativeInt);
340 public boolean clipRegion(Region region, Region.Op op) { argument
341 return nClipRegion(mRenderer, region.mNativeRegion, op.nativeInt);
344 private static native boolean nClipRegion(long renderer, long region, int op); argument
806 private static native void nDrawRects(long renderer, long region, long paint); argument
H A DIWindowSession.aidl70 * of the display's overlay region.
112 void setTransparentRegion(IWindow window, in Region region);
H A DSurfaceControl.java54 private static native void nativeSetTransparentRegionHint(long nativeObject, Region region); argument
391 public void setTransparentRegionHint(Region region) { argument
393 nativeSetTransparentRegionHint(mNativeObject, region);
H A DSurfaceView.java56 * <p> The transparent region that makes the surface visible is based on the
250 // This is needed because the transparent region is computed
305 public boolean gatherTransparentRegion(Region region) { argument
307 return super.gatherTransparentRegion(region);
312 // this view draws, remove it from the transparent region
313 opaque = super.gatherTransparentRegion(region);
314 } else if (region != null) {
322 region.op(l, t, l+w, t+h, Region.Op.UNION);
800 * @param inOutDirty A rectangle that represents the dirty region that the caller wants
803 * not available. The caller must redraw the entire dirty region a
[all...]
H A DView.java2255 * Live region mode specifying that accessibility services should not
2257 * region mode for most views.
2264 * Live region mode specifying that accessibility services should announce
2272 * Live region mode specifying that accessibility services should interrupt
2286 * region mode.
5782 * region will be stored in this parameter; that is, if boundInView is fully
7748 * Sets the live region mode for this view. This indicates to accessibility
7754 * password" notification, that view should be marked as a live region with
7758 * {@link #ACCESSIBILITY_LIVE_REGION_NONE}. This is the default live region
7767 * @param mode The live region mod
17955 gatherTransparentRegion(Region region) argument
18472 applyDrawableToTransparentRegion(Drawable dr, Region region) argument
[all...]
H A DViewGroup.java142 * Used to track the current invalidation region.
2766 // If this is a live region, we should send a subtree change event
5818 public boolean gatherTransparentRegion(Region region) { argument
5821 if (meOpaque && region == null) {
5822 // The caller doesn't care about the region, so stop now.
5825 super.gatherTransparentRegion(region);
5832 if (!child.gatherTransparentRegion(region)) {
/frameworks/base/core/java/android/view/animation/
H A DAnimation.java1017 // 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 DAnimationSet.java338 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 DFrameLayout.java632 public boolean gatherTransparentRegion(Region region) { argument
633 boolean opaque = super.gatherTransparentRegion(region);
634 if (region != null && mForeground != null) {
635 applyDrawableToTransparentRegion(mForeground, region);
H A DSlidingDrawer.java609 final Rect region = mInvalidate;
612 region.set(frame);
614 region.union(frame.left, frame.top - deltaY, frame.right, frame.bottom - deltaY);
615 region.union(0, frame.bottom - deltaY, getWidth(),
618 invalidate(region);
639 final Rect region = mInvalidate;
642 region.set(frame);
644 region.union(frame.left - deltaX, frame.top, frame.right - deltaX, frame.bottom);
645 region.union(frame.right - deltaX, 0,
648 invalidate(region);
[all...]
/frameworks/base/core/jni/
H A DAndroidRuntime.cpp371 static void readLocale(char* language, char* region) argument
380 property_get("ro.product.locale.region", propRegn, "US");
383 strncat(region, propRegn, 3);
384 //ALOGD("language=%s region=%s\n", language, region);
576 char regionOption[sizeof("-Duser.region=") + 3];
823 strcpy(regionOption, "-Duser.region=");
H A Dandroid_view_GLES20Canvas.cpp280 SkRegion* region = reinterpret_cast<SkRegion*>(regionPtr); local
281 const bool result = renderer->clipRegion(region, static_cast<SkRegion::Op>(op));
521 SkRegion* region = reinterpret_cast<SkRegion*>(regionPtr); local
525 SkRegion::Iterator it(*region);
534 SkRegion::Iterator it(*region);
H A Dandroid_view_SurfaceControl.cpp262 SkRegion* region = android_graphics_Region_getSkRegion(env, regionObj); local
263 if (!region) {
268 const SkIRect& b(region->getBounds());
270 if (region->isComplex()) {
271 SkRegion::Iterator it(*region);
/frameworks/base/core/jni/android/graphics/
H A DBitmapRegionDecoder.cpp212 SkIRect region; local
213 region.fLeft = start_x;
214 region.fTop = start_y;
215 region.fRight = start_x + width;
216 region.fBottom = start_y + height;
229 if (!brd->decodeRegion(bitmap, region, prefColorType, sampleSize)) {
H A DGraphics.cpp395 SkRegion* GraphicsJNI::getNativeRegion(JNIEnv* env, jobject region) argument
398 SkASSERT(region);
399 SkASSERT(env->IsInstanceOf(region, gRegion_class));
400 jlong regionHandle = env->GetLongField(region, gRegion_nativeInstanceID);
468 jobject GraphicsJNI::createRegion(JNIEnv* env, SkRegion* region) argument
470 SkASSERT(region != NULL);
472 reinterpret_cast<jlong>(region), 0);
H A DGraphicsJNI.h54 static SkRegion* getNativeRegion(JNIEnv*, jobject region);
93 static jobject createRegion(JNIEnv* env, SkRegion* region);
H A DNinePatch.cpp169 SkRegion* region = NULL; local
170 NinePatch_Draw(NULL, bounds, *bitmap, *chunk, NULL, &region);
172 return reinterpret_cast<jlong>(region);
H A DRegion.cpp38 SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); local
39 SkASSERT(region != NULL);
40 return region;
48 SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); local
49 SkASSERT(region);
50 delete region;
78 SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); local
79 GraphicsJNI::irect_to_jrect(region->getBounds(), env, rectBounds);
80 bool result = !region->isEmpty();
85 const SkRegion* region local
102 const SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); local
119 Region_isEmpty(JNIEnv* env, jobject region) argument
124 Region_isRect(JNIEnv* env, jobject region) argument
129 Region_isComplex(JNIEnv* env, jobject region) argument
134 Region_contains(JNIEnv* env, jobject region, jint x, jint y) argument
139 Region_quickContains(JNIEnv* env, jobject region, jint left, jint top, jint right, jint bottom) argument
144 Region_quickRejectIIII(JNIEnv* env, jobject region, jint left, jint top, jint right, jint bottom) argument
151 Region_quickRejectRgn(JNIEnv* env, jobject region, jobject other) argument
156 Region_translate(JNIEnv* env, jobject region, jint x, jint y, jobject dst) argument
186 Region_scale(JNIEnv* env, jobject region, jfloat scale, jobject dst) argument
195 SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); local
215 SkRegion* region = new SkRegion; local
224 const SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); local
262 const SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); local
[all...]
H A DSkiaCanvas.cpp86 virtual bool clipRegion(const SkRegion* region, SkRegion::Op op);
441 bool SkiaCanvas::clipRegion(const SkRegion* region, SkRegion::Op op) { argument
443 if (region->getBoundaryPath(&rgnPath)) {
444 // The region is specified in device space.
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java824 * Modify the current clip with the specified region. Note that unlike
830 * @param region The region to operate on the current clip, based on op
837 public boolean clipRegion(@NonNull Region region, @NonNull Region.Op op) { argument
838 return native_clipRegion(mNativeCanvasWrapper, region.ni(), op.nativeInt);
842 * Intersect the current clip with the specified region. Note that unlike
848 * @param region The region to operate on the current clip, based on op
854 public boolean clipRegion(@NonNull Region region) { argument
855 return clipRegion(region, Regio
[all...]
H A DRegion.java54 /** Create an empty region
60 /** Return a copy of the specified region
62 public Region(Region region) { argument
64 nativeSetRegion(mNativeRegion, region.mNativeRegion);
67 /** Return a region set to the specified rectangle
74 /** Return a region set to the specified rectangle
81 /** Set the region to the empty region
87 /** Set the region to the specified region
89 set(Region region) argument
276 op(Region region, Op op) argument
284 op(Rect rect, Region region, Op op) argument
[all...]

Completed in 309 milliseconds

1234