/frameworks/base/core/jni/android/graphics/ |
H A D | GraphicsJNI.h | 58 static SkRegion* getNativeRegion(JNIEnv*, jobject region); 93 static jobject createRegion(JNIEnv* env, SkRegion* region); 164 * is allocated to be large enough to decode the entire region
|
H A D | Graphics.cpp | 384 SkRegion* GraphicsJNI::getNativeRegion(JNIEnv* env, jobject region) argument 387 SkASSERT(region); 388 SkASSERT(env->IsInstanceOf(region, gRegion_class)); 389 jlong regionHandle = env->GetLongField(region, gRegion_nativeInstanceID); 453 jobject GraphicsJNI::createRegion(JNIEnv* env, SkRegion* region) argument 455 SkASSERT(region != NULL); 457 reinterpret_cast<jlong>(region), 0); 598 // Create new ashmem region with read/write priv 634 // Map existing ashmem region if not already mapped.
|
/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 | 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 | 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 | OpenGLRenderer.cpp | 231 // the entire clip region 580 * using glCopyTexImage2D(). The layer's region is then cleared(1) in the frame 591 * An empty quad is drawn over the layer's region in the frame buffer. This quad 667 // Enqueue the buffer coordinates to clear the corresponding region later 679 writableSnapshot()->region = &writableSnapshot()->layer->region; 701 // Clear the FBO, expand the clear region by 1 to get nice bilinear filtering 759 // drawing only the dirty region 890 if (CC_UNLIKELY(layer->region.isEmpty())) return; // nothing to draw 920 if (layer->region 980 drawRegionRectsDebug(const Region& region) argument 1006 drawRegionRects(const SkRegion& region, const SkPaint& paint, bool dirty) argument 1039 dirtyLayerUnchecked(Rect& bounds, Region* region) argument 2078 clipRegion(const SkRegion* region, SkRegion::Op op) argument [all...] |
H A D | OpenGLRenderer.h | 321 bool clipRegion(const SkRegion* region, SkRegion::Op op); 416 * Marks the specified region as dirty at the specified bounds. 418 void dirtyLayerUnchecked(Rect& bounds, Region* region); 421 * Returns the region of the current layer. 483 * Sets the clipping region using the stencil buffer. The clip region 527 * Compose the specified layer as a region. 689 * Renders the specified region as a series of rectangles. This method 692 void drawRegionRectsDebug(const Region& region); 696 * Renders the specified region a [all...] |
H A D | SkiaCanvas.cpp | 109 virtual bool clipRegion(const SkRegion* region, SkRegion::Op op) override; 124 virtual void drawRegion(const SkRegion& region, const SkPaint& paint) override; 503 bool SkiaCanvas::clipRegion(const SkRegion* region, SkRegion::Op op) { argument 505 if (region->getBoundaryPath(&rgnPath)) { 506 // The region is specified in device space. 581 void SkiaCanvas::drawRegion(const SkRegion& region, const SkPaint& paint) { argument 582 SkRegion::Iterator it(region);
|
/frameworks/base/libs/hwui/hwui/ |
H A D | Canvas.h | 164 virtual bool clipRegion(const SkRegion* region, SkRegion::Op op) = 0; 184 virtual void drawRegion(const SkRegion& region, const SkPaint& paint) = 0;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
H A D | WindowManagerProxy.java | 144 Log.w(TAG, "Failed to set touchable region: " + e); 225 public void setTouchRegion(Rect region) { argument 227 mTouchableRegion.set(region);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
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/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | ErrorCalculator.java | 89 for (int region : mOutputRowRegions) { 90 regionCount += region;
|
/frameworks/base/core/java/android/view/ |
H A D | SurfaceControl.java | 56 private static native void nativeSetTransparentRegionHint(long nativeObject, Region region); argument 436 public void setTransparentRegionHint(Region region) { argument 438 nativeSetTransparentRegionHint(mNativeObject, region);
|
H A D | IWindowSession.aidl | 70 * of the display's overlay region. 152 void setTransparentRegion(IWindow window, in Region region);
|
/frameworks/base/core/java/android/view/animation/ |
H A D | Animation.java | 1029 // Enlarge the invalidate region to account for rounding errors 1053 final RectF region = mPreviousRegion; 1054 region.set(left, top, right, bottom); 1055 // Enlarge the invalidate region to account for rounding errors 1056 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/compile/mclinker/lib/LD/ |
H A D | IdenticalCodeFolding.cpp | 222 const RegionFragment& region = llvm::cast<RegionFragment>(*frag); local 223 content.append(region.getRegion().begin(), region.size());
|
/frameworks/av/include/media/ |
H A D | ToneGenerator.h | 180 // These supervisory tones are different depending on the region (USA/CANADA, JAPAN, rest of the world). 181 // When a tone in the range [FIRST_SUP_TONE, LAST_SUP_TONE] is requested, the region is determined 201 enum region { enum in class:android::ToneGenerator
|
/frameworks/av/radio/ |
H A D | IRadioService.cpp | 90 ALOGV("attach() config %p withAudio %d region %d type %d", 91 config == NULL ? 0 : config, withAudio, config->region, config->band.type);
|
/frameworks/base/core/java/android/text/ |
H A D | SpannableStringInternal.java | 413 private static String region(int start, int end) { method in class:SpannableStringInternal 420 region(start, end) + 428 region(start, end) + 434 region(start, end) +
|
/frameworks/compile/mclinker/include/mcld/Script/ |
H A D | OutputSectDesc.h | 109 const std::string& region() const { function in struct:mcld::OutputSectDesc::Epilog
|
/frameworks/compile/mclinker/lib/Script/ |
H A D | OutputSectDesc.cpp | 115 mcld::outs() << "\t>" << m_Epilog.region();
|
/frameworks/native/services/inputflinger/ |
H A D | InputWindow.h | 137 void addTouchableRegion(const Rect& 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()) {
|
/frameworks/native/libs/ui/ |
H A D | Region.cpp | 91 * final, correctly ordered region buffer. Each rectangle will be compared with the span directly 185 * Creates a new region with the same data as the argument, but divides rectangles as necessary to 188 * Note: the output will not necessarily be a very efficient representation of the region, since it 201 outputRegion.mStorage.add(r.getBounds()); // to make region valid, mStorage must end with bounds 204 validate(outputRegion, "T-Junction free region"); 270 bool Region::isTriviallyEqual(const Region& region) const { 271 return begin() == region.begin(); 416 // This is our region rasterizer, which merges rects and spans together 417 // to obtain an optimal region. 525 ALOGE_IF(!silent, "%s: region contain [all...] |