/frameworks/native/include/private/ui/ |
H A D | RegionHelper.h | 49 struct region { struct in class:android::region_operator 54 inline region(const region& rhs) function in struct:android::region_operator::region 56 inline region(RECT const* r, size_t c) function in struct:android::region_operator::region 58 inline region(RECT const* r, size_t c, TYPE dx, TYPE dy) function in struct:android::region_operator::region 69 inline region_operator(int op, const region& lhs, const region& rhs) 161 region lhs; 162 region rhs; 165 inline Spanner(const region [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Region.java | 54 /** 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...] |
/frameworks/base/libs/hwui/ |
H A D | CanvasState.cpp | 218 bool CanvasState::clipRegion(const SkRegion* region, SkRegion::Op op) { argument 219 mSnapshot->clipRegionTransformed(*region, op);
|
H A D | ClipArea.cpp | 236 void ClipArea::clipRegion(const SkRegion& region, SkRegion::Op op) { argument 241 mClipRegion.op(region, op); 254 SkRegion region; local 255 regionFromPath(transformed, region); 257 mClipRegion.op(region, op); 303 // all clip areas that can be represented by a region. 400 return reinterpret_cast<const ClipRegion*>(scb)->region; 444 // region case 476 regionClip->region.op(mClipRect.toSkIRect(), other, SkRegion::kIntersect_Op); 479 regionClip->region [all...] |
H A D | Layer.h | 90 * Sets this layer's region to a rectangle. Computes the appropriate 94 const android::Rect& bounds = region.getBounds(); 317 * Dirty region indicating what parts of the layer 320 Region region; member in class:android::uirenderer::Layer 322 * If the region is a rectangle, coordinates of the 323 * region are stored here.
|
H A D | SkiaCanvasProxy.cpp | 394 void SkiaCanvasProxy::onClipRegion(const SkRegion& region, SkRegion::Op op) { argument 395 mCanvas->clipRegion(®ion, op);
|
H A D | DisplayListCanvas.cpp | 207 bool DisplayListCanvas::clipRegion(const SkRegion* region, SkRegion::Op op) { argument 208 region = refRegion(region); 209 addStateOp(new (alloc()) ClipRegionOp(region, op)); 210 return mState.clipRegion(region, op); 452 void DisplayListCanvas::drawRegion(const SkRegion& region, const SkPaint& paint) { argument 455 SkRegion::Iterator it(region); 464 SkRegion::Iterator it(region);
|
H A D | RecordingCanvas.cpp | 239 bool RecordingCanvas::clipRegion(const SkRegion* region, SkRegion::Op op) { argument 240 return mState.clipRegion(region, op); 332 void RecordingCanvas::drawRegion(const SkRegion& region, const SkPaint& paint) { argument 337 SkRegion::Iterator it(region); 349 SkRegion::Iterator it(region);
|
/frameworks/compile/mclinker/include/mcld/Script/ |
H A D | OutputSectDesc.h | 109 const std::string& region() const { function in struct:mcld::OutputSectDesc::Epilog
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Region.cpp | 38 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 222 SkRegion* region = new SkRegion; local 232 const SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); local 278 const SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); local [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | ShaderProgram.java | 170 public void setSourceRegion(Quad region) { argument 171 setSourceRegion(region.p0.x, region.p0.y, 172 region.p1.x, region.p1.y, 173 region.p2.x, region.p2.y, 174 region.p3.x, region.p3.y); 177 public void setTargetRegion(Quad region) { argument [all...] |
/frameworks/compile/mclinker/lib/LD/ |
H A D | ELFObjectWriter.cpp | 54 MemoryRegion region; local 55 // Request output region 69 region = pOutput.request(section->offset(), section->size()); 70 if (region.size() == 0) { 97 emitSectionData(*section, region); 100 emitEhFrame(pModule, *section->getEhFrame(), region); 106 emitRelocation(m_Config, *section, region); 109 target().emitSectionData(*section, region); 112 section->getDebugString()->emit(region); 211 MemoryRegion region local 306 MemoryRegion region = local 342 MemoryRegion region = pOutput.request( local 368 MemoryRegion region = pOutput.request(pShStrTab.offset(), pShStrTab.size()); local [all...] |
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | RenderEngine.cpp | 198 void RenderEngine::fillRegionWithColor(const Region& region, uint32_t height, argument 201 Rect const* r = region.getArray(&c);
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | Parameters.h | 122 // 3A region types, for use with ANDROID_CONTROL_MAX_REGIONS 127 NUM_REGION // Number of region types 128 } region; member in struct:android::camera2::Parameters 275 // Calculate the crop region rectangle, either tightly about the preview 276 // resolution, or a region just based on the active array; both take 334 // region. 347 // Convert from viewfinder crop-region relative array coordinates 353 // to viewfinder crop-region relative array coordinates 357 // Given a scaler crop region, calculate preview crop region base [all...] |
/frameworks/base/core/java/android/accessibilityservice/ |
H A D | AccessibilityService.java | 373 public void onMagnificationChanged(@NonNull Region region, argument 687 private void onMagnificationChanged(@NonNull Region region, float scale, argument 691 region, scale, centerX, centerY); 810 void dispatchMagnificationChanged(final @NonNull Region region, final float scale, argument 834 region, scale, centerX, centerY); 839 listener.onMagnificationChanged(this, region, scale, centerX, centerY); 871 * center of the magnified region. This is the point around which 873 * region. 881 * the magnified region 900 * center of the magnified region 1066 onMagnificationChanged(@onNull MagnificationController controller, @NonNull Region region, float scale, float centerX, float centerY) argument 1554 onMagnificationChanged(@onNull Region region, float scale, float centerX, float centerY) argument [all...] |
/frameworks/base/core/java/android/hardware/radio/ |
H A D | RadioManager.java | 334 BandDescriptor(int region, int type, int lowerLimit, int upperLimit, int spacing) { argument 335 mRegion = region; 343 * @return the region this band is associated to. 462 FmBandDescriptor(int region, int type, int lowerLimit, int upperLimit, int spacing, argument 464 super(region, type, lowerLimit, upperLimit, spacing); 478 /** RDS or RBDS(if region is ITU2) is supported 588 AmBandDescriptor(int region, int type, int lowerLimit, int upperLimit, int spacing, argument 590 super(region, type, lowerLimit, upperLimit, spacing); 666 BandConfig(int region, int type, int lowerLimit, int upperLimit, int spacing) { argument 667 mDescriptor = new BandDescriptor(region, typ 783 FmBandConfig(int region, int type, int lowerLimit, int upperLimit, int spacing, boolean stereo, boolean rds, boolean ta, boolean af, boolean ea) argument 1015 AmBandConfig(int region, int type, int lowerLimit, int upperLimit, int spacing, boolean stereo) argument [all...] |
/frameworks/base/core/java/android/text/ |
H A D | SpannableStringBuilder.java | 1252 private static String region(int start, int end) { method in class:SpannableStringBuilder 1259 region(start, end) + " has end before start"); 1266 region(start, end) + " ends beyond length " + len); 1271 region(start, end) + " starts before 0");
|
/frameworks/base/core/java/android/view/ |
H A D | SurfaceView.java | 56 * <p> The transparent region that makes the surface visible is based on the 263 // This is needed because the transparent region is computed 318 public boolean gatherTransparentRegion(Region region) { argument 320 return super.gatherTransparentRegion(region); 325 // this view draws, remove it from the transparent region 326 opaque = super.gatherTransparentRegion(region); 327 } else if (region != null) { 335 region.op(l, t, l+w, t+h, Region.Op.UNION); 953 * @param inOutDirty A rectangle that represents the dirty region that the caller wants 956 * not available. The caller must redraw the entire dirty region a [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_SurfaceControl.cpp | 278 SkRegion* region = android_graphics_Region_getSkRegion(env, regionObj); local 279 if (!region) { 284 const SkIRect& b(region->getBounds()); 286 if (region->isComplex()) { 287 SkRegion::Iterator it(*region);
|
/frameworks/base/media/java/android/media/tv/ |
H A D | TvView.java | 725 public boolean gatherTransparentRegion(Region region) { argument 727 if (region != null) { 735 region.op(left, top, left + width, top + height, Region.Op.UNION); 739 return super.gatherTransparentRegion(region);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | Session.java | 232 public void setTransparentRegion(IWindow window, Region region) { argument 233 mService.setTransparentRegionWindow(this, window, region);
|
H A D | WindowStateAnimator.java | 1168 // the display region. Of course this area will not eventually be visible 1363 // We need to do some acrobatics with surface position, because their clip region is 1636 void setTransparentRegionHintLocked(final Region region) { argument 1641 mSurfaceController.setTransparentRegionHint(region);
|
H A D | WindowSurfaceController.java | 335 void setTransparentRegionHint(final Region region) { argument 343 mSurfaceControl.setTransparentRegionHint(region); 707 public void setTransparentRegionHint(Region region) { argument 708 if (LOG_SURFACE_TRACE) Slog.v(SURFACE_TAG, "setTransparentRegionHint(" + region 710 super.setTransparentRegionHint(region); 875 public void setTransparentRegionHint(Region region) { argument 876 super.setTransparentRegionHint(region); 877 mBackgroundControl.setTransparentRegionHint(region);
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
H A D | ARMLDBackend.cpp | 624 llvm::StringRef region = pInput.memArea()->request(offset, size); local 625 if (region.size() == 0) { 626 // If the input section's size is zero, we got a NULL region. 630 frag = new RegionFragment(region); 718 // to temporary list because we would only like to sort the region fragment. 732 // Sort the region fragments in the .ARM.exidx output section. 758 // Add PREL31 reference to the beginning of the uncovered region.
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
H A D | HexagonLDBackend.cpp | 954 llvm::StringRef region = pInput.memArea()->request(offset, size); local 955 if (region.size() == 0) { 956 // If the input section's size is zero, we got a NULL region. 960 frag = new RegionFragment(region);
|