/frameworks/base/graphics/java/android/graphics/ |
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/include/androidfw/ |
H A D | ResourceTypes.h | 883 // - a 3 char region code prefixed by a 'r' 940 // - Two 7 bit ascii values interpreted as 2 letter region 943 // - An UN M.49 3 digit region code. For simplicity, these are packed 1198 // Sets the values of language, region, script and variant to the 1214 size_t unpackRegion(char region[4]) const; 1222 // Sets the region code of this configuration to the first three bytes 1223 // at |region|. If |region| is a 2 letter code, the trailing byte must be '\0' 1225 void packRegion(const char* region);
|
/frameworks/base/include/private/graphics/ |
H A D | Canvas.h | 80 virtual bool clipRegion(const SkRegion* region, SkRegion::Op op) = 0;
|
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 1748 void ResTable_config::packRegion(const char* region) { argument 1749 packLanguageOrRegion(region, '0', this->country); 1756 size_t ResTable_config::unpackRegion(char region[4]) const { 1757 return unpackLanguageOrRegion(this->country, '0', region); 1798 // The language & region are equal, so compare the scripts and variants. 1804 // The language, region and script are equal, so compare variants.
|
/frameworks/base/libs/hwui/ |
H A D | DisplayListOp.h | 590 ClipRegionOp(const SkRegion* region, SkRegion::Op op) argument 591 : ClipOp(op), mRegion(region) {}
|
H A D | DisplayListRenderer.cpp | 175 bool DisplayListRenderer::clipRegion(const SkRegion* region, SkRegion::Op op) { argument 176 region = refRegion(region); 177 addStateOp(new (alloc()) ClipRegionOp(region, op)); 178 return StatefulBaseRenderer::clipRegion(region, op);
|
H A D | DisplayListRenderer.h | 96 virtual bool clipRegion(const SkRegion* region, SkRegion::Op op); 255 inline const SkRegion* refRegion(const SkRegion* region) { argument 256 if (!region) { 257 return region; 260 const SkRegion* regionCopy = mRegionMap.valueFor(region); 263 regionCopy = new SkRegion(*region); 265 mRegionMap.replaceValueFor(region, regionCopy);
|
H A D | Layer.h | 87 * Sets this layer's region to a rectangle. Computes the appropriate 91 const android::Rect& bounds = region.getBounds(); 308 * Dirty region indicating what parts of the layer 311 Region region; member in class:android::uirenderer::Layer 313 * If the region is a rectangle, coordinates of the 314 * region are stored here.
|
H A D | LayerRenderer.cpp | 59 mLayer->region.clear(); 64 mLayer->region.subtractSelf(r); 117 // Dirty region tracking 124 return &mLayer->region; 131 if (mLayer->region.isRect() || mLayer->region.isEmpty()) { 146 Region safeRegion = Region::createTJunctionFreeRegion(mLayer->region); 228 layer->region.clear(); 283 layer->region.clear(); 299 layer->region [all...] |
H A D | OpenGLRenderer.cpp | 289 // Expand the startTiling region by 1 359 // the entire clip region 711 * using glCopyTexImage2D(). The layer's region is then cleared(1) in the frame 722 * An empty quad is drawn over the layer's region in the frame buffer. This quad 798 // Enqueue the buffer coordinates to clear the corresponding region later 810 mSnapshot->region = &mSnapshot->layer->region; 833 // Expand the startTiling region by 1 836 // Clear the FBO, expand the clear region by 1 to get nice bilinear filtering 898 // drawing only the dirty region 1191 drawRegionRectsDebug(const Region& region) argument 1217 drawRegionRects(const SkRegion& region, const SkPaint& paint, bool dirty) argument 1250 dirtyLayerUnchecked(Rect& bounds, Region* region) argument [all...] |
H A D | OpenGLRenderer.h | 406 * Marks the specified region as dirty at the specified bounds. 408 void dirtyLayerUnchecked(Rect& bounds, Region* region); 411 * Returns the region of the current layer. 414 return mSnapshot->region; 421 return (mSnapshot->flags & Snapshot::kFlagFboTarget) && mSnapshot->region; 526 * Sets the clipping region using the stencil buffer. The clip region 570 * Compose the specified layer as a region. 909 * Renders the specified region as a series of rectangles. This method 912 void drawRegionRectsDebug(const Region& region); [all...] |
H A D | Renderer.h | 174 virtual bool clipRegion(const SkRegion* region, SkRegion::Op op) = 0;
|
H A D | Snapshot.cpp | 41 region = NULL; 81 region = s->region; 83 region = NULL; 118 bool Snapshot::clipRegionTransformed(const SkRegion& region, SkRegion::Op op) { argument 120 clipRegion->op(region, op); 193 // region if the previous restore() call did not restore the clip
|
H A D | Snapshot.h | 85 * Indicates that the clip region was modified. When this 126 * Modifies the current clip with the specified region and operation. 127 * The specified region is considered already transformed. 129 bool clipRegionTransformed(const SkRegion& region, SkRegion::Op op); 242 * Current clip region. The clip is stored in canvas-space coordinates, 245 * This is a reference to a region owned by this snapshot or another 251 * The ancestor layer's dirty region. 253 * This is a reference to a region owned by a layer. This pointer must 256 Region* region; member in class:android::uirenderer::Snapshot
|
H A D | StatefulBaseRenderer.cpp | 184 SkRegion region; local 185 region.setPath(transformed, clip); 187 // region is the transformed input path, masked by the previous clip 188 mDirtyClip |= mSnapshot->clipRegionTransformed(region, op); 192 bool StatefulBaseRenderer::clipRegion(const SkRegion* region, SkRegion::Op op) { argument 193 mDirtyClip |= mSnapshot->clipRegionTransformed(*region, op);
|
H A D | StatefulBaseRenderer.h | 90 virtual bool clipRegion(const SkRegion* region, SkRegion::Op op);
|
/frameworks/base/media/java/android/media/ |
H A D | WebVttRenderer.java | 714 TextTrackRegion region = new TextTrackRegion(); 724 region.mId = value; 727 region.mWidth = parseFloatPercentage(value); 729 log_warning("region setting", name, 737 region.mLines = Integer.parseInt(value); 738 assert(region.mLines >= 0); // lines contains only digits 740 log_warning("region setting", name, "is not numeric", value); 747 log_warning("region setting", name, "contains no comma", value); 758 log_warning("region setting", name, 765 log_warning("region settin 974 onRegionParsed(TextTrackRegion region) argument 1078 onRegionParsed(TextTrackRegion region) argument 1529 RegionLayout(Context context, TextTrackRegion region, CaptionStyle captionStyle, float fontSize) argument [all...] |
/frameworks/base/media/java/android/media/tv/ |
H A D | TvView.java | 599 public boolean gatherTransparentRegion(Region region) { argument 601 if (region != null) { 609 region.op(left, top, left + width, top + height, Region.Op.UNION); 613 return super.gatherTransparentRegion(region);
|
/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/base/media/mca/filterfw/java/android/filterfw/io/ |
H A D | PatternScanner.java | 52 matcher.region(mOffset, mInput.length()); 86 matcher.region(mOffset, mInput.length()); 94 matcher.region(mOffset, mInput.length());
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | Session.java | 214 public void setTransparentRegion(IWindow window, Region region) { argument 215 mService.setTransparentRegionWindow(this, window, region);
|
H A D | WindowManagerService.java | 2829 void setTransparentRegionWindow(Session session, IWindow client, Region region) { argument 2835 w.mWinAnimator.setTransparentRegionHintLocked(region); 6056 * In portrait mode, it grabs the upper region of the screen based on the vertical dimension
|
H A D | WindowState.java | 163 * Insets that determine the area covered by the display overscan region. These are in the 202 * Flag indicating whether the touchable region should be adjusted by 237 // The region of the display frame that the display type supports displaying content on. This 240 // window display contents to extend into the overscan region. 1545 Region region = new Region(); 1546 getTouchableRegion(region); 1547 pw.print(prefix); pw.print("touchable region="); pw.println(region);
|
H A D | WindowStateAnimator.java | 1584 void setTransparentRegionHintLocked(final Region region) { argument 1593 "transparentRegionHint=" + region, null); 1594 mSurfaceControl.setTransparentRegionHint(region);
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_input_InputWindowHandle.cpp | 133 SkRegion* region = android_graphics_Region_getSkRegion(env, regionObj); local 134 for (SkRegion::Iterator it(*region); !it.done(); it.next()) {
|