/frameworks/base/graphics/java/android/graphics/ |
Region.aidl | 20 parcelable Region;
|
Region.java | 23 public class Region implements Parcelable { 27 private static final SynchronizedPool<Region> sPool = 28 new SynchronizedPool<Region>(MAX_POOL_SIZE); 54 /** Create an empty region 56 public Region() { 60 /** Return a copy of the specified region 62 public Region(Region region) { 64 nativeSetRegion(mNativeRegion, region.mNativeRegion) 308 Region region = sPool.acquire(); local 320 Region region = obtain(); local [all...] |
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) { 29 mNativeIter = nativeConstructor(region.ni()); 33 * Return the next rectangle in the region. If there are no more rectangles
|
/frameworks/native/include/ui/ |
Region.h | 35 class Region : public LightFlattenable<Region> 38 Region(); 39 Region(const Region& rhs); 40 explicit Region(const Rect& rhs); 41 ~Region(); 43 static Region createTJunctionFreeRegion(const Region& r); 45 Region& operator = (const Region& rhs) [all...] |
/frameworks/base/core/java/android/view/ |
IMagnificationCallbacks.aidl | 19 import android.graphics.Region; 25 void onMagnifedBoundsChanged(in Region bounds);
|
/frameworks/native/libs/ui/ |
Region.cpp | 17 #define LOG_TAG "Region" 26 #include <ui/Region.h> 57 Region::Region() { 61 Region::Region(const Region& rhs) 69 Region::Region(const Rect& rhs) { 73 Region::~Region( [all...] |
/external/webkit/Source/WebKit2/Platform/ |
Region.h | 36 class Region { 38 Region(); 39 Region(const WebCore::IntRect&); 46 void unite(const Region&); 47 void intersect(const Region&); 48 void subtract(const Region&); 118 static inline Region intersect(const Region& a, const Region& b) 120 Region result(a) [all...] |
Region.cpp | 27 #include "Region.h" 29 // A region class based on the paper "Scanline Coherent Shape Algebra" 39 Region::Region() 43 Region::Region(const IntRect& rect) 49 Vector<IntRect> Region::rects() const 68 Region::Shape::Shape() 72 Region::Shape::Shape(const IntRect& rect) 80 void Region::Shape::appendSpan(int y [all...] |
/frameworks/av/media/libeffects/lvm/lib/Bass/src/ |
LVDBE_Init.c | 75 pMemoryTable->Region[LVDBE_MEMREGION_INSTANCE].Size = sizeof(LVDBE_Instance_t); 76 pMemoryTable->Region[LVDBE_MEMREGION_INSTANCE].Alignment = LVDBE_INSTANCE_ALIGN; 77 pMemoryTable->Region[LVDBE_MEMREGION_INSTANCE].Type = LVDBE_PERSISTENT; 78 pMemoryTable->Region[LVDBE_MEMREGION_INSTANCE].pBaseAddress = LVM_NULL; 83 pMemoryTable->Region[LVDBE_MEMREGION_PERSISTENT_DATA].Size = sizeof(LVDBE_Data_t); 84 pMemoryTable->Region[LVDBE_MEMREGION_PERSISTENT_DATA].Alignment = LVDBE_PERSISTENT_DATA_ALIGN; 85 pMemoryTable->Region[LVDBE_MEMREGION_PERSISTENT_DATA].Type = LVDBE_PERSISTENT_DATA; 86 pMemoryTable->Region[LVDBE_MEMREGION_PERSISTENT_DATA].pBaseAddress = LVM_NULL; 91 pMemoryTable->Region[LVDBE_MEMREGION_PERSISTENT_COEF].Size = sizeof(LVDBE_Coef_t); 92 pMemoryTable->Region[LVDBE_MEMREGION_PERSISTENT_COEF].Alignment = LVDBE_PERSISTENT_COEF_ALIGN [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
RegionTest.java | 21 import android.graphics.Region; 100 private Region mRegion; 115 // Test Region() 116 new Region(); 118 // Test Region(Region) 119 Region oriRegion = new Region(); 120 new Region(oriRegion); 122 // Test Region(Rect [all...] |
/external/llvm/include/llvm/Analysis/ |
RegionInfo.h | 1 //===- RegionInfo.h - SESE region analysis ----------------------*- C++ -*-===// 38 class Region; 44 /// @brief Marker class to iterate over the elements of a Region in flat mode. 55 /// Region. 61 /// This is the entry basic block that starts this region node. If this is a 68 /// The node can hold either a Region or a BasicBlock. 73 /// @brief The parent Region of this RegionNode. 75 Region* parent; 86 inline RegionNode(Region* Parent, BasicBlock* Entry, bool isSubRegion = 0) 89 /// @brief Get the parent Region of this RegionNode [all...] |
RegionPass.h | 10 // This file defines the RegionPass class. All region based analysis, 31 /// @brief A pass that runs on each Region in a function. 42 /// @brief Run the pass on a specific Region 44 /// Accessing regions not contained in the current region is not allowed. 46 /// @param R The region this pass is run on. 49 /// @return True if the pass modifies this Region. 50 virtual bool runOnRegion(Region *R, RGPassManager &RGM) = 0; 52 /// @brief Get a pass to print the LLVM IR in the region. 54 /// @param O The ouput stream to print the Region. 57 /// @return The pass to print the LLVM IR in the region [all...] |
/external/llvm/include/llvm/Support/ |
FileOutputBuffer.h | 49 return (uint8_t*)Region->data(); 54 return (uint8_t*)Region->data() + Region->size(); 59 return Region->size(); 86 OwningPtr<llvm::sys::fs::mapped_file_region> Region;
|
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/ |
LVCS_Init.c | 80 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_SLOW_DATA].Size = (LVM_UINT32)sizeof(LVCS_Instance_t); 81 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_SLOW_DATA].Type = LVCS_PERSISTENT; 82 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_SLOW_DATA].pBaseAddress = LVM_NULL; 87 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_FAST_DATA].Size = (LVM_UINT32)sizeof(LVCS_Data_t); 88 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_FAST_DATA].Type = LVCS_DATA; 89 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_FAST_DATA].pBaseAddress = LVM_NULL; 94 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_FAST_COEF].Size = (LVM_UINT32)sizeof(LVCS_Coefficient_t); 95 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_FAST_COEF].Type = LVCS_COEFFICIENT; 96 pMemoryTable->Region[LVCS_MEMREGION_PERSISTENT_FAST_COEF].pBaseAddress = LVM_NULL; 102 pMemoryTable->Region[LVCS_MEMREGION_TEMPORARY_FAST].Size = ScratchSize [all...] |
/external/webkit/Source/WebCore/platform/graphics/gpu/ |
LoopBlinnShader.h | 37 enum Region {
|
LoopBlinnSolidFillShader.h | 37 static PassOwnPtr<LoopBlinnSolidFillShader> create(GraphicsContext3D*, Region, AntialiasType);
|
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
InstAlloc.c | 89 StartAddr = (LVM_UINT32)pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].pBaseAddress; 95 StartAddr = (LVM_UINT32)pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].pBaseAddress; 101 StartAddr = (LVM_UINT32)pMemoryTable->Region[LVM_PERSISTENT_FAST_COEF].pBaseAddress; 107 StartAddr = (LVM_UINT32)pMemoryTable->Region[LVM_TEMPORARY_FAST].pBaseAddress; 150 pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].Size = InstAlloc_GetTotal(&pms[LVM_PERSISTENT_SLOW_DATA]); 151 pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].Type = LVM_PERSISTENT_SLOW_DATA; 152 pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].pBaseAddress = LVM_NULL; 156 pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].Size = InstAlloc_GetTotal(&pms[LVM_PERSISTENT_FAST_DATA]); 157 pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].Type = LVM_PERSISTENT_FAST_DATA; 158 pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].pBaseAddress = LVM_NULL [all...] |
/external/llvm/lib/Analysis/ |
RegionInfo.cpp | 1 //===- RegionInfo.cpp - SESE region detection analysis --------------------===// 21 #define DEBUG_TYPE "region" 37 VerifyRegionInfoX("verify-region-info", cl::location(VerifyRegionInfo), 38 cl::desc("Verify region info (time consuming)")); 43 static cl::opt<enum Region::PrintStyle> printStyle("print-region-style", 47 clEnumValN(Region::PrintNone, "none", "print no details"), 48 clEnumValN(Region::PrintBB, "bb", 50 clEnumValN(Region::PrintRN, "rn", 54 /// Region Implementatio [all...] |
/frameworks/av/media/libeffects/lvm/lib/Eq/src/ |
LVEQNB_Init.c | 88 pMemoryTable->Region[LVEQNB_MEMREGION_INSTANCE].Size = InstAlloc_GetTotal(&AllocMem); 89 pMemoryTable->Region[LVEQNB_MEMREGION_INSTANCE].Alignment = LVEQNB_INSTANCE_ALIGN; 90 pMemoryTable->Region[LVEQNB_MEMREGION_INSTANCE].Type = LVEQNB_PERSISTENT; 91 pMemoryTable->Region[LVEQNB_MEMREGION_INSTANCE].pBaseAddress = LVM_NULL; 109 pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_DATA].Size = InstAlloc_GetTotal(&AllocMem); 110 pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_DATA].Alignment = LVEQNB_DATA_ALIGN; 111 pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_DATA].Type = LVEQNB_PERSISTENT_DATA; 112 pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_DATA].pBaseAddress = LVM_NULL; 125 pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_COEF].Size = InstAlloc_GetTotal(&AllocMem); 126 pMemoryTable->Region[LVEQNB_MEMREGION_PERSISTENT_COEF].Alignment = LVEQNB_COEF_ALIGN [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
ClipRegion2Activity.java | 22 import android.graphics.Region; 51 private final Region mRegion = new Region(); 74 Region.Op.REPLACE); 76 Region.Op.DIFFERENCE);
|
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/ |
LVREV_GetMemoryTable.c | 153 pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].Size = InstAlloc_GetTotal(&SlowData); 154 pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].Type = LVM_PERSISTENT_SLOW_DATA; 155 pMemoryTable->Region[LVM_PERSISTENT_SLOW_DATA].pBaseAddress = LVM_NULL; 181 pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].Size = InstAlloc_GetTotal(&FastData); 182 pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].Type = LVM_PERSISTENT_FAST_DATA; 183 pMemoryTable->Region[LVM_PERSISTENT_FAST_DATA].pBaseAddress = LVM_NULL; 190 pMemoryTable->Region[LVM_PERSISTENT_FAST_COEF].Size = InstAlloc_GetTotal(&FastCoef); 191 pMemoryTable->Region[LVM_PERSISTENT_FAST_COEF].Type = LVM_PERSISTENT_FAST_COEF; 192 pMemoryTable->Region[LVM_PERSISTENT_FAST_COEF].pBaseAddress = LVM_NULL; 225 pMemoryTable->Region[LVM_TEMPORARY_FAST].Size = InstAlloc_GetTotal(&Temporary) [all...] |
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/ |
LVPSA_Memory.c | 130 pMemoryTable->Region[LVPSA_MEMREGION_INSTANCE].Size = InstAlloc_GetTotal(&Instance); 131 pMemoryTable->Region[LVPSA_MEMREGION_INSTANCE].Type = LVPSA_PERSISTENT; 132 pMemoryTable->Region[LVPSA_MEMREGION_INSTANCE].pBaseAddress = LVM_NULL; 138 pMemoryTable->Region[LVPSA_MEMREGION_SCRATCH].Size = InstAlloc_GetTotal(&Scratch); 139 pMemoryTable->Region[LVPSA_MEMREGION_SCRATCH].Type = LVPSA_SCRATCH; 140 pMemoryTable->Region[LVPSA_MEMREGION_SCRATCH].pBaseAddress = LVM_NULL; 147 pMemoryTable->Region[LVPSA_MEMREGION_PERSISTENT_COEF].Size = InstAlloc_GetTotal(&Coef); 148 pMemoryTable->Region[LVPSA_MEMREGION_PERSISTENT_COEF].Type = LVPSA_PERSISTENT_COEF; 149 pMemoryTable->Region[LVPSA_MEMREGION_PERSISTENT_COEF].pBaseAddress = LVM_NULL; 156 pMemoryTable->Region[LVPSA_MEMREGION_PERSISTENT_DATA].Size = InstAlloc_GetTotal(&Data) [all...] |
/frameworks/base/services/java/com/android/server/input/ |
InputWindowHandle.java | 19 import android.graphics.Region; 62 // Window touchable region. 63 public final Region touchableRegion = new Region();
|
/frameworks/compile/mclinker/lib/Fragment/ |
RegionFragment.cpp | 18 : Fragment(Fragment::Region, pSD), m_Region(pRegion) {
|
/frameworks/native/services/surfaceflinger/ |
Layer.h | 34 #include <ui/Region.h> 74 Region visibleRegion; 75 Region coveredRegion; 76 Region visibleNonTransparentRegion; 109 Region activeTransparentRegion; 110 Region requestedTransparentRegion; 144 bool setTransparentRegionHint(const Region& transparent); 195 virtual void draw(const sp<const DisplayDevice>& hw, const Region& clip) const; 201 virtual void onDraw(const sp<const DisplayDevice>& hw, const Region& clip) const; 215 * setVisibleRegion - called to set the new visible region. This give [all...] |