/frameworks/base/core/java/android/accessibilityservice/ |
AccessibilityService.java | 27 import android.graphics.Region; 373 public void onMagnificationChanged(@NonNull Region region, 687 private void onMagnificationChanged(@NonNull Region region, float scale, 691 region, scale, centerX, centerY); 810 void dispatchMagnificationChanged(final @NonNull Region region, final float scale, [all...] |
/external/llvm/lib/Transforms/Scalar/ |
StructurizeCFG.cpp | 118 /// @brief Transforms the control flow graph on one single entry/exit region 141 /// "Then"/"Else" region, while the false exit skips the region 142 /// The condition for the optional "Else" region is expressed as a PHI node. 170 Region *ParentRegion; 244 bool doInitialization(Region *R, RGPassManager &RGM) override; 246 bool runOnRegion(Region *R, RGPassManager &RGM) override; 274 bool StructurizeCFG::doInitialization(Region *R, RGPassManager &RGM) { 288 ReversePostOrderTraversal<Region*> RPOT(ParentRegion); 352 BasicBlock *Exit = N->getNodeAs<Region>()->getExit() [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Canvas.java | 685 public boolean clipRect(@NonNull RectF rect, @NonNull Region.Op op) { 698 public boolean clipRect(@NonNull Rect rect, @NonNull Region.Op op) { 712 Region.Op.INTERSECT.nativeInt); 724 Region.Op.INTERSECT.nativeInt); 743 @NonNull Region.Op op) { 762 Region.Op.INTERSECT.nativeInt); 780 Region.Op.INTERSECT.nativeInt); 790 public boolean clipPath(@NonNull Path path, @NonNull Region.Op op) { 801 return clipPath(path, Region.Op.INTERSECT); 805 * Modify the current clip with the specified region. Note that unlik [all...] |
/frameworks/native/services/surfaceflinger/ |
Layer.cpp | 369 static Rect reduce(const Rect& win, const Region& exclude) { 376 return Region(win).subtract(exclude).getBounds(); 384 Rect Layer::computeBounds(const Region& activeTransparentRegion) const { 391 // subtract the transparent region and snap to the bounds 437 // subtract the transparent region and snap to the bounds 551 Region activeTransparentRegion(s.activeTransparentRegion); 696 // Apply this display's projection's viewport to the visible region 700 Region visible = tr.transform(visibleRegion.intersect(viewport)); 705 ALOGE("[%s] Failed to set visible region: %s (%d)", mName.string(), 780 // we have to set the visible region on every frame becaus [all...] |
DisplayDevice.cpp | 230 void DisplayDevice::flip(const Region& dirty) const 236 const Region newDirty(dirty.intersect(bounds())); 383 Region DisplayDevice::getDirtyRegion(bool repaintEverything) const { 384 Region dirty;
|
SurfaceFlinger.cpp | [all...] |
SurfaceFlinger_hwc1.cpp | [all...] |
/frameworks/native/libs/gui/ |
Surface.cpp | 30 #include <ui/Region.h> 441 input.setSurfaceDamage(Region::INVALID_REGION); 465 Region flippedRegion; 524 mDirtyRegion = Region::INVALID_REGION; 836 // Clear the dirty region in case we're switching from a non-CPU API 839 // Initialize the dirty region for tracking surface damage 840 mDirtyRegion = Region::INVALID_REGION; [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
CropDrawingUtils.java | 25 import android.graphics.Region; 128 canvas.clipRect(r1, Region.Op.DIFFERENCE); 129 canvas.clipRect(r2, Region.Op.DIFFERENCE);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
FrameLayoutTest.java | 33 import android.graphics.Region; 136 Region region = new Region(foreground.getBounds()); local 137 assertTrue(mFrameLayout.gatherTransparentRegion(region)); 142 region = new Region(foreground.getBounds()); 143 assertTrue(mFrameLayout.gatherTransparentRegion(region));
|
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/ |
LVM_Private.h | 123 /* Memory region definition */ 126 LVM_UINT32 Size; /* Region size in bytes */ 128 LVM_MemoryTypes_en Type; /* Region type */ 129 void *pBaseAddress; /* Pointer to the region base address */ 133 /* Memory table containing the region definitions */ 136 LVM_IntMemoryRegion_t Region[LVM_NR_MEMORY_REGIONS]; /* One definition for each region */
|
/frameworks/base/libs/hwui/ |
CanvasState.h | 127 bool clipRegion(const SkRegion* region, SkRegion::Op op); 157 inline Region* currentRegion() const { return currentSnapshot()->region; }
|
Layer.h | 29 #include <ui/Region.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.
|
/frameworks/base/libs/hwui/renderstate/ |
RenderState.h | 33 #include <ui/Region.h>
|
OffscreenBufferPool.cpp | 62 region.orSelf(android::Rect(dirtyArea.left, dirtyArea.top, 71 Region safeRegion = Region::createTJunctionFreeRegion(region); 171 // entire area will be repainted (and may be smaller) so clear usage region 172 layer->region.clear(); 197 // clear region, since it's no longer valid 198 layer->region.clear();
|
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
EffectBundle.cpp | 564 if (MemTab.Region[i].Size != 0){ 565 MemTab.Region[i].pBaseAddress = malloc(MemTab.Region[i].Size); 567 if (MemTab.Region[i].pBaseAddress == LVM_NULL){ 569 " bytes for region %u\n", MemTab.Region[i].Size, i ); 573 " bytes for region %u at %p\n", 574 MemTab.Region[i].Size, i, MemTab.Region[i].pBaseAddress); 584 if (MemTab.Region[i].pBaseAddress == LVM_NULL) [all...] |
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/ |
LayoutManager.java | 113 //canvas.clipRect(clipRect, Region.Op.REPLACE);
114 canvas.clipRect(dims.canvasRect, Region.Op.INTERSECT);
152 canvas.clipRect(inner, Region.Op.DIFFERENCE);
|
/external/skia/include/core/ |
SkRegion.h | 19 class Region; 27 The SkRegion class encapsulates the geometric region used to specify 58 * Replace this region with the specified region, and return true if the 59 * resulting region is non-empty. 67 * Swap the contents of this and the specified region. This operation 72 /** Return true if this region is empty */ 75 /** Return true if this region is a single, non-empty rectangle */ 78 /** Return true if this region consists of more than 1 rectangular area */ 82 * Return the bounds of this region. If the region is empty, returns a [all...] |
/frameworks/native/include/gui/ |
SurfaceComposerClient.h | 46 class Region; 140 status_t setTransparentRegionHint(const sp<IBinder>& id, const Region& transparent);
|
/frameworks/native/libs/ui/ |
Android.mk | 48 Region.cpp \
|
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/ |
Region.java | 41 public class Region {
42 private static final String TAG = "Region";
58 public Region(float[] xy, Bitmap img) {
|
/frameworks/support/compat/gingerbread/android/support/v4/graphics/drawable/ |
DrawableWrapperGingerbread.java | 25 import android.graphics.Region; 166 public Region getTransparentRegion() {
|
/packages/apps/Camera2/src/com/android/camera/ui/focus/ |
FocusRingView.java | 25 import android.graphics.Region; 175 canvas.clipRect(mPreviewSize, Region.Op.REPLACE);
|
/frameworks/base/core/java/android/view/ |
SurfaceControl.java | 22 import android.graphics.Region; 56 private static native void nativeSetTransparentRegionHint(long nativeObject, Region region); 448 public void setTransparentRegionHint(Region region) { 450 nativeSetTransparentRegionHint(mNativeObject, region); [all...] |
ViewTreeObserver.java | 20 import android.graphics.Region; 216 * Touchable region defined relative to the origin of the frame of the window. 220 public final Region touchableRegion = new Region(); 242 * the provided touchable region in {@link #touchableRegion} can be touched. [all...] |