/frameworks/compile/mclinker/unittests/ |
H A D | MCRegionFragmentTest.cpp | 51 MemoryRegion* region = area->request(0, 4096); local 52 MCRegionFragment *frag = new MCRegionFragment(*region); 66 MemoryRegion* region = area->request(0, 4096); local 67 llvm::MCFragment *frag = new MCRegionFragment(*region);
|
H A D | FragmentRefTest.cpp | 52 llvm::StringRef region = area->request(0, 4096); local 53 RegionFragment *frag = new RegionFragment(region); 56 ASSERT_EQ('H', region.data()[0]); 57 ASSERT_TRUE(4096 == region.size());
|
H A D | ELFReaderTest.cpp | 71 llvm::StringRef region = m_pInput->memArea()->request(m_pInput->fileOffset(), local 73 const char* ELF_hdr = region.begin(); 134 llvm::StringRef region = mem->request(offset, size); local 138 ASSERT_TRUE(m_pELFReader->readRela(*m_pInput, **rs, region));
|
/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
|
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/compile/mclinker/lib/Script/ |
H A D | ScriptReader.cpp | 45 llvm::StringRef region = input.memArea()->request(input.fileOffset(), size); local 46 std::stringbuf buf(region.data());
|
/frameworks/native/services/inputflinger/ |
H A D | InputWindow.cpp | 30 void InputWindowInfo::addTouchableRegion(const Rect& region) { argument 31 touchableRegion.orSelf(region);
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | ELFDynObjReader.cpp | 57 llvm::StringRef region = pInput.memArea()->request(pInput.fileOffset(), 60 const char* ELF_hdr = region.begin(); 84 llvm::StringRef region = pInput.memArea()->request(pInput.fileOffset(), local 86 const char* ELF_hdr = region.begin();
|
H A D | ELFObjectReader.cpp | 72 llvm::StringRef region = pInput.memArea()->request(pInput.fileOffset(), 75 const char* ELF_hdr = region.begin(); 102 llvm::StringRef region = pInput.memArea()->request(pInput.fileOffset(), 104 const char* ELF_hdr = region.begin(); 141 llvm::StringRef region = pInput.memArea()->request( local 144 reinterpret_cast<const llvm::ELF::Elf32_Word*>(region.begin()); 146 size_t size = region.size() / sizeof(llvm::ELF::Elf32_Word); 324 llvm::StringRef region = mem->request(offset, size); local 328 if (!m_pELFReader->readRela(pInput, **rs, region)) { 334 if (!m_pELFReader->readRel(pInput, **rs, region)) { [all...] |
H A D | GNUArchiveReader.cpp | 51 llvm::StringRef region = 53 const char* str = region.begin(); 80 llvm::StringRef region = local 82 const char* str = region.begin();
|
/frameworks/base/core/jni/android/graphics/ |
H A D | NinePatch.cpp | 169 SkRegion* region = NULL; local 170 NinePatch_Draw(NULL, bounds, *bitmap, *chunk, NULL, ®ion); 172 return reinterpret_cast<jlong>(region);
|
H A D | BitmapRegionDecoder.cpp | 212 SkIRect region; local 213 region.fLeft = start_x; 214 region.fTop = start_y; 215 region.fRight = start_x + width; 216 region.fBottom = start_y + height; 229 if (!brd->decodeRegion(bitmap, region, prefColorType, sampleSize)) {
|
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 215 SkRegion* region = new SkRegion; local 224 const SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); local 262 const SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); local [all...] |
/frameworks/base/core/java/android/text/ |
H A D | SpannableStringInternal.java | 337 private static String region(int start, int end) { method in class:SpannableStringInternal 344 region(start, end) + 352 region(start, end) + 358 region(start, end) +
|
/frameworks/base/libs/hwui/ |
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 | 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 | 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.
|
/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/compile/mclinker/lib/Target/ |
H A D | ELFAttribute.cpp | 45 // Obtain the region containing the attribute data. Expect exactly one 58 llvm::StringRef region = region_frag.getRegion(); local 66 const char *attribute_data = region.begin(); 79 const char *subsection_data = region.begin() + subsection_offset; 113 reinterpret_cast<ConstAddress>(region.begin()) + vendor_data_offset;
|
/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/compile/mclinker/include/mcld/Script/ |
H A D | OutputSectDesc.h | 115 const std::string& region() const { function in struct:mcld::OutputSectDesc::Epilog
|
/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 250 // This is needed because the transparent region is computed 305 public boolean gatherTransparentRegion(Region region) { argument 307 return super.gatherTransparentRegion(region); 312 // this view draws, remove it from the transparent region 313 opaque = super.gatherTransparentRegion(region); 314 } else if (region != null) { 322 region.op(l, t, l+w, t+h, Region.Op.UNION); 800 * @param inOutDirty A rectangle that represents the dirty region that the caller wants 803 * not available. The caller must redraw the entire dirty region a [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | FrameLayout.java | 632 public boolean gatherTransparentRegion(Region region) { argument 633 boolean opaque = super.gatherTransparentRegion(region); 634 if (region != null && mForeground != null) { 635 applyDrawableToTransparentRegion(mForeground, region);
|