/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 | 33 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
|
/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/base/core/jni/android/graphics/ |
H A D | NinePatch.cpp | 101 SkRegion* region = NULL; local 102 NinePatch::Draw(NULL, bounds, bitmap, *chunk, NULL, ®ion); 104 return reinterpret_cast<jlong>(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(); 137 llvm::StringRef region = pInput.memArea()->request( local 140 reinterpret_cast<const llvm::ELF::Elf32_Word*>(region.begin()); 142 size_t size = region.size() / sizeof(llvm::ELF::Elf32_Word); 314 llvm::StringRef region = mem->request(offset, size); local 319 if (!m_pELFReader->readRela(pInput, **rs, region)) { 325 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/libs/hwui/renderstate/ |
H A D | OffscreenBufferPool.h | 73 Region region; member in class:android::uirenderer::OffscreenBuffer
|
/frameworks/base/core/java/android/text/ |
H A D | SpannableStringInternal.java | 413 private static String region(int start, int end) { method in class:SpannableStringInternal 420 region(start, end) + 428 region(start, end) + 434 region(start, end) +
|
/frameworks/base/libs/androidfw/ |
H A D | LocaleData.cpp | 30 inline uint32_t packLocale(const char* language, const char* region) { argument 32 (((uint8_t) region[0]) << 8u) | ((uint8_t) region[1]); 172 // the sake of stability, we consider the locale with the lower region 178 void localeDataComputeScript(char out[4], const char* language, const char* region) { argument 183 uint32_t lookup_key = packLocale(language, region); 186 // We couldn't find the locale. Let's try without the region 187 if (region[0] != '\0') { 211 bool localeDataIsCloseToUsEnglish(const char* region) { argument 212 const uint32_t locale = packLocale(ENGLISH_CHARS, region); [all...] |
/frameworks/base/libs/hwui/ |
H A D | BakedOpRenderer.cpp | 47 // subtract repaintRect from region, since it will be regenerated 50 // repaint full layer, so throw away entire region 51 offscreenBuffer->region.clear(); 53 offscreenBuffer->region.subtractSelf(android::Rect(repaintRect.left, repaintRect.top, 278 LOG_ALWAYS_FATAL_IF(clip->mode != ClipMode::Region, "can't region clip without region"); 279 auto&& region = reinterpret_cast<const ClipRegion*>(clip)->region; local 282 SkRegion::Cliperator it(region, clip->rect.toSkIRect());
|
H A D | ClipArea.h | 95 // region and path - intersected. if either is empty, don't use 127 ClipRegion(const SkRegion& region) argument 129 , region(region) {} 132 SkRegion region; member in struct:android::uirenderer::ClipRegion 149 void clipRegion(const SkRegion& region, SkRegion::Op op);
|
H A D | DisplayListCanvas.h | 159 virtual bool clipRegion(const SkRegion* region, SkRegion::Op op) override; 184 virtual void drawRegion(const SkRegion& region, const SkPaint& paint) override; 300 inline const SkRegion* refRegion(const SkRegion* region) { argument 301 if (!region) { 302 return region; 305 const SkRegion* cachedRegion = mRegionMap.valueFor(region); 308 std::unique_ptr<const SkRegion> copy(new SkRegion(*region)); 313 mRegionMap.replaceValueFor(region, cachedRegion);
|
H A D | RecordingCanvas.h | 136 virtual bool clipRegion(const SkRegion* region, SkRegion::Op op) override; 163 virtual void drawRegion(const SkRegion& region, const SkPaint& paint) override; 270 inline const SkRegion* refRegion(const SkRegion* region) { argument 271 if (!region) { 272 return region; 275 const SkRegion* cachedRegion = mRegionMap.valueFor(region); 278 std::unique_ptr<const SkRegion> copy(new SkRegion(*region)); 283 mRegionMap.replaceValueFor(region, cachedRegion);
|
H A D | Snapshot.cpp | 40 region = nullptr; 76 region = s->region; 78 region = nullptr; 86 void Snapshot::clipRegionTransformed(const SkRegion& region, SkRegion::Op op) { argument 88 mClipArea->clipRegion(region, op); 123 // region if the previous restore() call did not restore the clip
|
H A D | Snapshot.h | 98 * 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 void clipRegionTransformed(const SkRegion& region, SkRegion::Op op); 276 * The ancestor layer's dirty region. 278 * This is a reference to a region owned by a layer. This pointer must 281 Region* region; member in class:android::uirenderer::Snapshot
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
H A D | WindowManagerProxy.java | 144 Log.w(TAG, "Failed to set touchable region: " + e); 225 public void setTouchRegion(Rect region) { argument 227 mTouchableRegion.set(region);
|
/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;
|