/frameworks/base/tools/aapt2/ |
H A D | Locale_test.cpp | 55 const char* region) { 77 if (memcmp(lv.region, region, std::min(strlen(region), sizeof(lv.region))) != 80 << "expected " << region << " but got " 81 << std::string(lv.region, sizeof(lv.region)) << "."; 53 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/base/tools/layoutlib/bridge/src/android/view/ |
H A D | SurfaceView.java | 53 public boolean gatherTransparentRegion(Region region) { argument
|
/frameworks/native/services/inputflinger/ |
H A D | InputWindow.cpp | 30 void InputWindowInfo::addTouchableRegion(const Rect& region) { argument 31 touchableRegion.orSelf(region);
|
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
H A D | AdaptiveIconDrawableTest.java | 97 Region region = new Region(new Rect(0, 0, width, height)); 102 region.setPath(circle, region); 103 if (!equalBitmaps(bm_test, bm_org, region)) { 182 boolean equalBitmaps(Bitmap a, Bitmap b, Region region) { argument 190 if (region != null) { 199 if (region.contains(i, j) && a.getPixel(i, j) != b.getPixel(i, j) ) {
|
H A D | IconTest.java | 334 boolean equalBitmaps(Bitmap a, Bitmap b, Region region) { argument 342 if (region != null) { 345 if (region.contains(i, j) && a.getPixel(i, j) != b.getPixel(i, j)) {
|
/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/core/jni/android/graphics/ |
H A D | NinePatch.cpp | 107 SkRegion* region = nullptr; local 116 if (!region) { 117 region = new SkRegion(); 120 region->op(iterDst.round(), SkRegion::kUnion_Op); 126 return reinterpret_cast<jlong>(region);
|
/frameworks/base/libs/hwui/ |
H A D | RecordingCanvas.h | 163 virtual void drawRegion(const SkRegion& region, const SkPaint& paint) override; 269 inline const SkRegion* refRegion(const SkRegion* region) { argument 270 if (!region) { 271 return region; 274 const SkRegion* cachedRegion = mRegionMap.valueFor(region); 277 std::unique_ptr<const SkRegion> copy(new SkRegion(*region)); 282 mRegionMap.replaceValueFor(region, cachedRegion);
|
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, 274 LOG_ALWAYS_FATAL_IF(clip->mode != ClipMode::Region, "can't region clip without region"); 275 auto&& region = reinterpret_cast<const ClipRegion*>(clip)->region; local 278 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 explicit ClipRegion(const SkRegion& region) argument 129 , region(region) {} 132 SkRegion region; member in struct:android::uirenderer::ClipRegion 181 static void applyTransformToRegion(const Matrix4& transform, SkRegion* region); 197 void clipRegion(const SkRegion& region, SkRegion::Op op);
|
/frameworks/base/libs/hwui/renderstate/ |
H A D | OffscreenBufferPool.h | 73 Region region; member in class:android::uirenderer::OffscreenBuffer
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | ClipAreaTests.cpp | 157 // region 167 EXPECT_EQ(SkIRect::MakeWH(200, 200), clipRegion->region.getBounds()) 168 << "Clip region should be 200x200"; 232 // region 241 recordedClip.region.setPath(ovalPath, SkRegion(SkIRect::MakeWH(200, 200))); 251 EXPECT_EQ(SkIRect::MakeLTRB(60, 20, 160, 200), clipRegion->region.getBounds()); 287 recordedClip.region.setPath(circlePath, SkRegion(SkIRect::MakeWH(100, 100))); 299 EXPECT_EQ(SkIRect::MakeLTRB(100, 100, 300, 300), clipRegion->region.getBounds()); 303 SkRegion region(SkIRect::MakeLTRB(1, 2, 3, 4)); 304 ClipArea::applyTransformToRegion(Matrix4::identity(), ®ion); local [all...] |
/frameworks/base/core/java/android/text/ |
H A D | SpannableStringInternal.java | 422 private static String region(int start, int end) { method in class:SpannableStringInternal 429 region(start, end) + 437 region(start, end) + 443 region(start, end) +
|
/frameworks/base/libs/androidfw/ |
H A D | LocaleData.cpp | 31 inline uint32_t packLocale(const char* language, const char* region) { argument 33 (((uint8_t) region[0]) << 8u) | ((uint8_t) region[1]); 195 // the sake of stability, we consider the locale with the lower region 201 void localeDataComputeScript(char out[4], const char* language, const char* region) { argument 206 uint32_t lookup_key = packLocale(language, region); 209 // We couldn't find the locale. Let's try without the region 210 if (region[0] != '\0') { 234 bool localeDataIsCloseToUsEnglish(const char* region) { argument 235 const uint32_t locale = packLocale(ENGLISH_CHARS, region); [all...] |
/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()) {
|