/frameworks/base/tools/aapt2/ |
H A D | Locale_test.cpp | 47 const char* region) { 65 if (memcmp(lv.region, region, std::min(strlen(region), sizeof(lv.region))) != 0) { 66 return ::testing::AssertionFailure() << "expected " << region << " but got " 67 << std::string(lv.region, sizeof(lv.region)) << "."; 46 TestLanguageRegion(const char* input, const char* lang, const char* region) argument
|
H A D | Locale.h | 31 char region[4]; member in struct:aapt::LocaleValue
|
/frameworks/compile/mclinker/unittests/ |
H A D | MCRegionFragmentTest.cpp | 46 MemoryRegion* region = area->request(0, 4096); local 47 MCRegionFragment* frag = new MCRegionFragment(*region); 61 MemoryRegion* region = area->request(0, 4096); local 62 llvm::MCFragment* frag = new MCRegionFragment(*region);
|
H A D | FragmentRefTest.cpp | 50 llvm::StringRef region = area->request(0, 4096); local 51 RegionFragment* frag = new RegionFragment(region); 54 ASSERT_EQ('H', region.data()[0]); 55 ASSERT_TRUE(4096 == region.size());
|
H A D | ELFReaderTest.cpp | 68 llvm::StringRef region = local 70 const char* ELF_hdr = region.begin(); 129 llvm::StringRef region = mem->request(offset, size); local 133 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 | 47 llvm::StringRef region = input.memArea()->request(input.fileOffset(), size); local 48 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 | 54 llvm::StringRef region = 57 const char* ELF_hdr = region.begin(); 80 llvm::StringRef region = local 82 const char* ELF_hdr = region.begin();
|
H A D | ELFObjectReader.cpp | 71 llvm::StringRef region = 74 const char* ELF_hdr = region.begin(); 100 llvm::StringRef region = 102 const char* ELF_hdr = region.begin(); 136 llvm::StringRef region = pInput.memArea()->request( local 139 reinterpret_cast<const llvm::ELF::Elf32_Word*>(region.begin()); 141 size_t size = region.size() / sizeof(llvm::ELF::Elf32_Word); 313 llvm::StringRef region = mem->request(offset, size); local 318 if (!m_pELFReader->readRela(pInput, **rs, region)) { 324 if (!m_pELFReader->readRel(pInput, **rs, region)) { [all...] |
H A D | GNUArchiveReader.cpp | 47 llvm::StringRef region = 49 const char* str = region.begin(); 73 llvm::StringRef region = local 75 const char* str = region.begin();
|
H A D | IdenticalCodeFolding.cpp | 222 const RegionFragment& region = llvm::cast<RegionFragment>(*frag); local 223 content.append(region.getRegion().begin(), region.size());
|
/frameworks/base/core/jni/android/graphics/ |
H A D | NinePatch.cpp | 168 SkRegion* region = NULL; local 169 NinePatch_Draw(NULL, bounds, bitmap, *chunk, NULL, ®ion); 171 return reinterpret_cast<jlong>(region);
|
H A D | BitmapRegionDecoder.cpp | 210 SkIRect region; local 211 region.fLeft = start_x; 212 region.fTop = start_y; 213 region.fRight = start_x + width; 214 region.fBottom = start_y + height; 222 if (!brd->decodeRegion(&bitmap, region, prefColorType, sampleSize)) {
|
/frameworks/base/core/java/android/text/ |
H A D | SpannableStringInternal.java | 338 private static String region(int start, int end) { method in class:SpannableStringInternal 345 region(start, end) + 353 region(start, end) + 359 region(start, end) +
|
/frameworks/base/libs/hwui/ |
H A D | CanvasState.cpp | 167 bool CanvasState::clipRegion(const SkRegion* region, SkRegion::Op op) { argument 168 mDirtyClip |= mSnapshot->clipRegionTransformed(*region, op);
|
H A D | ClipArea.cpp | 234 bool ClipArea::clipRegion(const SkRegion& region, SkRegion::Op op) { argument 236 mClipRegion.op(region, op); 247 SkRegion region; local 248 regionFromPath(transformed, region); 249 return clipRegion(region, op); 304 // all clip areas that can be represented by a region.
|
H A D | DisplayListCanvas.h | 183 virtual bool clipRegion(const SkRegion* region, SkRegion::Op op) override; 332 inline const SkRegion* refRegion(const SkRegion* region) { argument 333 if (!region) { 334 return region; 337 const SkRegion* cachedRegion = mRegionMap.valueFor(region); 340 std::unique_ptr<const SkRegion> copy(new SkRegion(*region)); 345 mRegionMap.replaceValueFor(region, cachedRegion);
|
H A D | Snapshot.cpp | 42 region = nullptr; 78 region = s->region; 80 region = nullptr; 88 bool Snapshot::clipRegionTransformed(const SkRegion& region, SkRegion::Op op) { argument 90 return mClipArea->clipRegion(region, op); 125 // region if the previous restore() call did not restore the clip
|
H A D | Snapshot.h | 97 * Indicates that the clip region was modified. When this 138 * Modifies the current clip with the specified region and operation. 139 * The specified region is considered already transformed. 141 bool clipRegionTransformed(const SkRegion& region, SkRegion::Op op); 271 * The ancestor layer's dirty region. 273 * This is a reference to a region owned by a layer. This pointer must 276 Region* region; member in class:android::uirenderer::Snapshot
|
/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 | 43 // Obtain the region containing the attribute data. Expect exactly one 56 llvm::StringRef region = region_frag.getRegion(); local 64 const char* attribute_data = region.begin(); 77 const char* subsection_data = region.begin() + subsection_offset; 110 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/base/core/jni/ |
H A D | android_view_DisplayListCanvas.cpp | 154 SkRegion* region = reinterpret_cast<SkRegion*>(regionPtr); local 158 SkRegion::Iterator it(*region); 167 SkRegion::Iterator it(*region);
|