/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 | 51 MemoryRegion* region = area->request(0, 4096); local 52 RegionFragment *frag = new RegionFragment(*region); 55 ASSERT_EQ('H', region->getBuffer()[0]); 56 ASSERT_EQ(4096, region->size());
|
H A D | MemoryAreaTest.cpp | 55 MemoryRegion* region = area->request(3, 2); local 56 ASSERT_EQ('L', region->getBuffer()[0]); 57 ASSERT_EQ('O', region->getBuffer()[1]); 58 area->release(region); 71 MemoryRegion* region = area->request(3, 4); local 72 region->getBuffer()[0] = 'L'; 73 region->getBuffer()[1] = 'i'; 74 region->getBuffer()[2] = 'n'; 75 region->getBuffer()[3] = 'k'; 76 area->release(region); 99 MemoryRegion* region = area->request(0, 4096); local 115 MemoryRegion* region = area->request(0, 4096) ; local [all...] |
/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 | 47 /** Create an empty region 53 /** Return a copy of the specified region 55 public Region(Region region) { argument 57 nativeSetRegion(mNativeRegion, region.mNativeRegion); 60 /** Return a region set to the specified rectangle 67 /** Return a region set to the specified rectangle 74 /** Set the region to the empty region 80 /** Set the region to the specified region 82 set(Region region) argument 268 op(Region region, Op op) argument 276 op(Rect rect, Region region, Op op) argument [all...] |
/frameworks/compile/mclinker/lib/LD/ |
H A D | ELFDynObjWriter.cpp | 56 MemoryRegion* region = NULL; local 57 // request output region 65 region = pOutput.memArea()->request(sect->offset(), sect->size()); 66 if (NULL == region) { 67 llvm::report_fatal_error(llvm::Twine("cannot get enough memory region for output section[") + 102 emitSectionData(m_Linker.getLayout(), *sect, *region); 106 emitRelocation(m_Linker.getLayout(), pOutput, *sect, *region); 113 *region);
|
H A D | ELFExecWriter.cpp | 59 MemoryRegion* region = NULL; local 60 // request output region 68 region = pOutput.memArea()->request(sect->offset(), sect->size()); 69 if (NULL == region) { 70 llvm::report_fatal_error(llvm::Twine("cannot get enough memory region for output section[") + 105 emitSectionData(m_Linker.getLayout(), *sect, *region); 109 emitRelocation(m_Linker.getLayout(), pOutput, *sect, *region); 116 *region);
|
H A D | ELFDynObjReader.cpp | 47 MemoryRegion* region = pInput.memArea()->request(pInput.fileOffset(), local 50 uint8_t* ELF_hdr = region->start(); 60 pInput.memArea()->release(region); 70 MemoryRegion* region = pInput.memArea()->request(pInput.fileOffset(), local 72 uint8_t* ELF_hdr = region->start(); 75 pInput.memArea()->release(region);
|
H A D | ELFObjectReader.cpp | 53 MemoryRegion* region = pInput.memArea()->request(pInput.fileOffset(), local 56 uint8_t* ELF_hdr = region->start(); 66 pInput.memArea()->release(region); 76 MemoryRegion* region = pInput.memArea()->request(pInput.fileOffset(), local 78 uint8_t* ELF_hdr = region->start(); 80 pInput.memArea()->release(region); 117 MemoryRegion* region = pInput.memArea()->request( local 120 reinterpret_cast<llvm::ELF::Elf32_Word*>(region->start()); 122 size_t size = region->size() / sizeof(llvm::ELF::Elf32_Word); 127 pInput.memArea()->release(region); 256 MemoryRegion* region = mem->request( local 266 MemoryRegion* region = mem->request( local [all...] |
H A D | EhFrame.cpp | 38 MemoryRegion* region = pArea.request( local 41 if (NULL == region) { 45 ConstAddress eh_start = region->start(); 46 ConstAddress eh_end = region->end(); 55 pArea.release(region); 61 pArea.release(region); 131 pArea.release(region); 143 pArea.release(region);
|
H A D | GNUArchiveReader.cpp | 49 MemoryRegion* region = pInput.memArea()->request(pInput.fileOffset(), local 51 const char* str = reinterpret_cast<const char*>(region->getBuffer()); 58 pInput.memArea()->release(region); 78 MemoryRegion* region = pInput.memArea()->request(pInput.fileOffset(), local 80 const char* str = reinterpret_cast<const char*>(region->getBuffer()); 87 pInput.memArea()->release(region);
|
H A D | ELFWriter.cpp | 43 MemoryRegion *region = pOutput.memArea()->request(0, local 45 Elf32_Ehdr* header = (Elf32_Ehdr*)region->start(); 94 MemoryRegion *region = pOutput.memArea()->request(0, local 96 Elf64_Ehdr* header = (Elf64_Ehdr*)region->start(); 191 MemoryRegion* region = pOutput.memArea()->request( local 194 Elf32_Shdr* shdr = (Elf32_Shdr*)region->start(); 224 MemoryRegion* region = pOutput.memArea()->request( local 227 Elf64_Shdr* shdr = (Elf64_Shdr*)region->start(); 265 MemoryRegion *region = pOutput.memArea()->request(start_offset, local 268 Elf32_Phdr* phdr = (Elf32_Phdr*)region 297 MemoryRegion *region = pOutput.memArea()->request(start_offset, local 341 MemoryRegion* region = pOutput.memArea()->request(shstrtab.offset(), local 383 MemoryRegion* region = pOutput.memArea()->request(shstrtab.offset(), local [all...] |
/frameworks/base/libs/hwui/ |
H A D | Snapshot.h | 55 * Indicates that the clip region was modified. When this 198 * Current clip region. The clip is stored in canvas-space coordinates, 201 * This is a reference to a region owned by this snapshot or another 209 * The ancestor layer's dirty region. 211 * This is a reference to a region owned by a layer. This pointer must 214 Region* region; member in class:android::uirenderer::Snapshot
|
H A D | Layer.h | 54 * Sets this layer's region to a rectangle. Computes the appropriate 58 const android::Rect& bounds = region.getBounds(); 244 * Dirty region indicating what parts of the layer 247 Region region; member in struct:android::uirenderer::Layer 249 * If the region is a rectangle, coordinates of the 250 * region are stored here.
|
/frameworks/base/core/jni/android/graphics/ |
H A D | NinePatch.cpp | 163 SkRegion* region = NULL; local 164 NinePatch_Draw(NULL, bounds, *bitmap, *chunk, NULL, ®ion); 165 return (jint)region;
|
H A D | BitmapRegionDecoder.cpp | 219 SkIRect region; local 220 region.fLeft = start_x; 221 region.fTop = start_y; 222 region.fRight = start_x + width; 223 region.fBottom = start_y + height; 236 if (!brd->decodeRegion(bitmap, region, prefConfig, sampleSize)) {
|
H A D | Region.cpp | 42 static void Region_destructor(JNIEnv* env, jobject, SkRegion* region) { argument 43 SkASSERT(region); 44 delete region; 62 static jboolean Region_getBounds(JNIEnv* env, jobject, SkRegion* region, jobject rectBounds) { argument 63 GraphicsJNI::irect_to_jrect(region->getBounds(), env, rectBounds); 64 return !region->isEmpty(); 67 static jboolean Region_getBoundaryPath(JNIEnv* env, jobject, const SkRegion* region, SkPath* path) { argument 68 return region->getBoundaryPath(path); 78 static jboolean Region_op1(JNIEnv* env, jobject, SkRegion* dst, jobject rectObject, const SkRegion* region, int op) { argument 81 return dst->op(ir, *region, (SkRegio 90 Region_isEmpty(JNIEnv* env, jobject region) argument 94 Region_isRect(JNIEnv* env, jobject region) argument 98 Region_isComplex(JNIEnv* env, jobject region) argument 102 Region_contains(JNIEnv* env, jobject region, int x, int y) argument 106 Region_quickContains(JNIEnv* env, jobject region, int left, int top, int right, int bottom) argument 110 Region_quickRejectIIII(JNIEnv* env, jobject region, int left, int top, int right, int bottom) argument 116 Region_quickRejectRgn(JNIEnv* env, jobject region, jobject other) argument 120 Region_translate(JNIEnv* env, jobject region, int x, int y, jobject dst) argument 150 Region_scale(JNIEnv* env, jobject region, jfloat scale, jobject dst) argument 158 Region_toString(JNIEnv* env, jobject clazz, SkRegion* region) argument 178 SkRegion* region = new SkRegion; local 185 Region_writeToParcel(JNIEnv* env, jobject clazz, const SkRegion* region, jobject parcel) argument 220 RegionIter_constructor(JNIEnv* env, jobject, const SkRegion* region) argument [all...] |
/frameworks/base/core/java/android/text/ |
H A D | SpannableStringInternal.java | 335 private static String region(int start, int end) { method in class:SpannableStringInternal 342 region(start, end) + 350 region(start, end) + 356 region(start, end) +
|
/frameworks/base/services/jni/ |
H A D | com_android_server_input_InputWindowHandle.cpp | 130 SkRegion* region = android_graphics_Region_getSkRegion(env, regionObj); local 131 mInfo->touchableRegion.set(*region);
|
/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/base/core/java/android/widget/ |
H A D | FrameLayout.java | 501 public boolean gatherTransparentRegion(Region region) { argument 502 boolean opaque = super.gatherTransparentRegion(region); 503 if (region != null && mForeground != null) { 504 applyDrawableToTransparentRegion(mForeground, region);
|
/frameworks/compile/mclinker/lib/MC/ |
H A D | MCLinker.cpp | 630 MemoryRegion* region = m_LDInfo.output().memArea()->request(0, local 633 uint8_t* data = region->getBuffer(); 703 MemoryRegion* region = pArea.request(pInput.fileOffset() + pSection.offset(), local 707 if (NULL == region) { 708 // If the input section's size is zero, we got a NULL region. 713 frag = new RegionFragment(*region);
|
/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 243 // This is needed because the transparent region is computed 298 public boolean gatherTransparentRegion(Region region) { argument 300 return super.gatherTransparentRegion(region); 305 // this view draws, remove it from the transparent region 306 opaque = super.gatherTransparentRegion(region); 307 } else if (region != null) { 315 region.op(l, t, l+w, t+h, Region.Op.UNION);
|
/frameworks/base/services/java/com/android/server/wm/ |
H A D | Session.java | 205 public void setTransparentRegion(IWindow window, Region region) { argument 206 mService.setTransparentRegionWindow(this, window, 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...] |