/frameworks/base/core/jni/android/graphics/ |
D | Region.cpp | 38 SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); in GetSkRegion() local 39 SkASSERT(region != NULL); in GetSkRegion() 40 return region; in GetSkRegion() 48 SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); in Region_destructor() local 49 SkASSERT(region); in Region_destructor() 50 delete region; in Region_destructor() 78 SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); in Region_getBounds() local 79 GraphicsJNI::irect_to_jrect(region->getBounds(), env, rectBounds); in Region_getBounds() 80 bool result = !region->isEmpty(); in Region_getBounds() 85 const SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); in Region_getBoundaryPath() local [all …]
|
D | BitmapRegionDecoder.cpp | 210 SkIRect region; in nativeDecodeRegion() local 211 region.fLeft = start_x; in nativeDecodeRegion() 212 region.fTop = start_y; in nativeDecodeRegion() 213 region.fRight = start_x + width; in nativeDecodeRegion() 214 region.fBottom = start_y + height; in nativeDecodeRegion() 222 if (!brd->decodeRegion(&bitmap, region, prefColorType, sampleSize)) { in nativeDecodeRegion()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | ShaderProgram.java | 170 public void setSourceRegion(Quad region) { in setSourceRegion() argument 171 setSourceRegion(region.p0.x, region.p0.y, in setSourceRegion() 172 region.p1.x, region.p1.y, in setSourceRegion() 173 region.p2.x, region.p2.y, in setSourceRegion() 174 region.p3.x, region.p3.y); in setSourceRegion() 177 public void setTargetRegion(Quad region) { in setTargetRegion() argument 178 setTargetRegion(region.p0.x, region.p0.y, in setTargetRegion() 179 region.p1.x, region.p1.y, in setTargetRegion() 180 region.p2.x, region.p2.y, in setTargetRegion() 181 region.p3.x, region.p3.y); in setTargetRegion()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Region_Delegate.java | 330 Region_Delegate region = sManager.getDelegate(native_region); in nativeGetBounds() local 331 if (region == null) { in nativeGetBounds() 335 Rectangle bounds = region.mArea.getBounds(); in nativeGetBounds() 350 Region_Delegate region = sManager.getDelegate(native_region); in nativeGetBoundaryPath() local 351 if (region == null) { in nativeGetBoundaryPath() 360 if (region.mArea.isEmpty()) { in nativeGetBoundaryPath() 365 path.setPathIterator(region.mArea.getPathIterator(new AffineTransform())); in nativeGetBoundaryPath() 372 Region_Delegate region = sManager.getDelegate(native_dst); in nativeOp() local 373 if (region == null) { in nativeOp() 377 region.mArea = combineShapes(region.mArea, in nativeOp() [all …]
|
/frameworks/base/tools/aapt2/ |
D | Locale_test.cpp | 47 const char* region) { in TestLanguageRegion() argument 65 if (memcmp(lv.region, region, std::min(strlen(region), sizeof(lv.region))) != 0) { in TestLanguageRegion() 66 return ::testing::AssertionFailure() << "expected " << region << " but got " in TestLanguageRegion() 67 << std::string(lv.region, sizeof(lv.region)) << "."; in TestLanguageRegion()
|
D | Locale.cpp | 40 region[i++] = ::toupper(*regionChars); in setRegion() 236 if (region[0]) { in toDirName() 238 dirName += region; in toDirName() 251 config.unpackRegion(region); in initFromResTable() 263 out->packRegion(region); in writeTo()
|
/frameworks/native/include/private/ui/ |
D | RegionHelper.h | 49 struct region { struct 54 inline region(const region& rhs) in region() argument 56 inline region(RECT const* r, size_t c) in region() function 58 inline region(RECT const* r, size_t c, TYPE dx, TYPE dy) in region() argument 69 inline region_operator(int op, const region& lhs, const region& rhs) in region_operator() 161 region lhs; 162 region rhs; 165 inline Spanner(const region& lhs, const region& rhs) in Spanner() 198 void advance(region& reg, TYPE& aTop, TYPE& aBottom) { in advance() 222 region lhs; [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | Region.java | 62 public Region(Region region) { in Region() argument 64 nativeSetRegion(mNativeRegion, region.mNativeRegion); in Region() 89 public boolean set(Region region) { in set() argument 90 nativeSetRegion(mNativeRegion, region.mNativeRegion); in set() 276 public boolean op(Region region, Op op) { in op() argument 277 return op(this, region, op); in op() 284 public boolean op(Rect rect, Region region, Op op) { in op() argument 285 return nativeOp(mNativeRegion, rect, region.mNativeRegion, in op() 308 Region region = sPool.acquire(); in obtain() local 309 return (region != null) ? region : new Region(); in obtain() [all …]
|
D | RegionIterator.java | 28 public RegionIterator(Region region) { in RegionIterator() argument 29 mNativeIter = nativeConstructor(region.ni()); in RegionIterator()
|
/frameworks/compile/mclinker/unittests/ |
D | FragmentRefTest.cpp | 50 llvm::StringRef region = area->request(0, 4096); variable 51 RegionFragment* frag = new RegionFragment(region); 54 ASSERT_EQ('H', region.data()[0]); 55 ASSERT_TRUE(4096 == region.size());
|
D | MCRegionFragmentTest.cpp | 46 MemoryRegion* region = area->request(0, 4096); in TEST_F() local 47 MCRegionFragment* frag = new MCRegionFragment(*region); in TEST_F() 61 MemoryRegion* region = area->request(0, 4096); in TEST_F() local 62 llvm::MCFragment* frag = new MCRegionFragment(*region); in TEST_F()
|
D | ELFReaderTest.cpp | 68 llvm::StringRef region = in SetUp() local 70 const char* ELF_hdr = region.begin(); in SetUp() 129 llvm::StringRef region = mem->request(offset, size); in TEST_F() local 133 ASSERT_TRUE(m_pELFReader->readRela(*m_pInput, **rs, region)); in TEST_F()
|
/frameworks/compile/mclinker/lib/LD/ |
D | ELFObjectReader.cpp | 71 llvm::StringRef region = in isMyFormat() local 74 const char* ELF_hdr = region.begin(); in isMyFormat() 100 llvm::StringRef region = in readHeader() local 102 const char* ELF_hdr = region.begin(); in readHeader() 136 llvm::StringRef region = pInput.memArea()->request( in readSections() local 139 reinterpret_cast<const llvm::ELF::Elf32_Word*>(region.begin()); in readSections() 141 size_t size = region.size() / sizeof(llvm::ELF::Elf32_Word); in readSections() 313 llvm::StringRef region = mem->request(offset, size); in readRelocations() local 318 if (!m_pELFReader->readRela(pInput, **rs, region)) { in readRelocations() 324 if (!m_pELFReader->readRel(pInput, **rs, region)) { in readRelocations()
|
D | ELFDynObjReader.cpp | 54 llvm::StringRef region = in isMyFormat() local 57 const char* ELF_hdr = region.begin(); in isMyFormat() 80 llvm::StringRef region = in readHeader() local 82 const char* ELF_hdr = region.begin(); in readHeader()
|
D | ELFObjectWriter.cpp | 54 MemoryRegion region; in writeSection() local 69 region = pOutput.request(section->offset(), section->size()); in writeSection() 70 if (region.size() == 0) { in writeSection() 97 emitSectionData(*section, region); in writeSection() 100 emitEhFrame(pModule, *section->getEhFrame(), region); in writeSection() 106 emitRelocation(m_Config, *section, region); in writeSection() 109 target().emitSectionData(*section, region); in writeSection() 112 section->getDebugString()->emit(region); in writeSection() 211 MemoryRegion region = pOutput.request(0, sizeof(ElfXX_Ehdr)); in writeELFHeader() local 212 ElfXX_Ehdr* header = reinterpret_cast<ElfXX_Ehdr*>(region.begin()); in writeELFHeader() [all …]
|
/frameworks/base/libs/hwui/ |
D | LayerRenderer.cpp | 58 mLayer->region.clear(); in prepareDirty() 63 mLayer->region.subtractSelf(r); in prepareDirty() 122 return &mLayer->region; in getRegion() 129 if (mLayer->region.isRect() || mLayer->region.isEmpty()) { in generateMesh() 144 Region safeRegion = Region::createTJunctionFreeRegion(mLayer->region); in generateMesh() 226 layer->region.clear(); in createRenderLayer() 279 layer->region.clear(); in createTextureLayer() 295 layer->region.set(width, height); in updateTextureLayer() 323 layer->region.clear(); in destroyLayer()
|
D | Snapshot.cpp | 42 region = nullptr; in Snapshot() 78 region = s->region; in Snapshot() 80 region = nullptr; in Snapshot() 88 bool Snapshot::clipRegionTransformed(const SkRegion& region, SkRegion::Op op) { in clipRegionTransformed() argument 90 return mClipArea->clipRegion(region, op); in clipRegionTransformed()
|
D | DisplayListCanvas.h | 183 virtual bool clipRegion(const SkRegion* region, SkRegion::Op op) override; 332 inline const SkRegion* refRegion(const SkRegion* region) { in refRegion() argument 333 if (!region) { in refRegion() 334 return region; in refRegion() 337 const SkRegion* cachedRegion = mRegionMap.valueFor(region); in refRegion() 340 std::unique_ptr<const SkRegion> copy(new SkRegion(*region)); in refRegion() 345 mRegionMap.replaceValueFor(region, cachedRegion); in refRegion()
|
/frameworks/base/media/java/android/media/ |
D | WebVttRenderer.java | 716 TextTrackRegion region = new TextTrackRegion(); 726 region.mId = value; 729 region.mWidth = parseFloatPercentage(value); 739 region.mLines = Integer.parseInt(value); 740 assert(region.mLines >= 0); // lines contains only digits 773 region.mAnchorPointX = x; 774 region.mAnchorPointY = y; 776 region.mViewportAnchorPointX = x; 777 region.mViewportAnchorPointY = y; 781 region.mScrollValue = [all …]
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/ |
D | PatternScanner.java | 52 matcher.region(mOffset, mInput.length()); in tryEat() 86 matcher.region(mOffset, mInput.length()); in peek() 94 matcher.region(mOffset, mInput.length()); in skip()
|
/frameworks/native/services/inputflinger/ |
D | InputWindow.cpp | 30 void InputWindowInfo::addTouchableRegion(const Rect& region) { in addTouchableRegion() argument 31 touchableRegion.orSelf(region); in addTouchableRegion()
|
/frameworks/compile/mclinker/lib/Script/ |
D | ScriptReader.cpp | 47 llvm::StringRef region = input.memArea()->request(input.fileOffset(), size); in readScript() local 48 std::stringbuf buf(region.data()); in readScript()
|
/frameworks/base/core/java/android/hardware/radio/ |
D | RadioManager.java | 334 BandDescriptor(int region, int type, int lowerLimit, int upperLimit, int spacing) { in BandDescriptor() argument 335 mRegion = region; in BandDescriptor() 461 FmBandDescriptor(int region, int type, int lowerLimit, int upperLimit, int spacing, in FmBandDescriptor() argument 463 super(region, type, lowerLimit, upperLimit, spacing); in FmBandDescriptor() 573 AmBandDescriptor(int region, int type, int lowerLimit, int upperLimit, int spacing, in AmBandDescriptor() argument 575 super(region, type, lowerLimit, upperLimit, spacing); in AmBandDescriptor() 651 BandConfig(int region, int type, int lowerLimit, int upperLimit, int spacing) { in BandConfig() argument 652 mDescriptor = new BandDescriptor(region, type, lowerLimit, upperLimit, spacing); in BandConfig() 766 FmBandConfig(int region, int type, int lowerLimit, int upperLimit, int spacing, in FmBandConfig() argument 768 super(region, type, lowerLimit, upperLimit, spacing); in FmBandConfig() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | SlidingDrawer.java | 608 final Rect region = mInvalidate; in moveHandle() local 611 region.set(frame); in moveHandle() 613 region.union(frame.left, frame.top - deltaY, frame.right, frame.bottom - deltaY); in moveHandle() 614 region.union(0, frame.bottom - deltaY, getWidth(), in moveHandle() 617 invalidate(region); in moveHandle() 638 final Rect region = mInvalidate; in moveHandle() local 641 region.set(frame); in moveHandle() 643 region.union(frame.left - deltaX, frame.top, frame.right - deltaX, frame.bottom); in moveHandle() 644 region.union(frame.right - deltaX, 0, in moveHandle() 647 invalidate(region); in moveHandle()
|
/frameworks/compile/mclinker/lib/Target/ |
D | ELFAttribute.cpp | 56 llvm::StringRef region = region_frag.getRegion(); in merge() local 64 const char* attribute_data = region.begin(); in merge() 77 const char* subsection_data = region.begin() + subsection_offset; in merge() 110 reinterpret_cast<ConstAddress>(region.begin()) + vendor_data_offset; in merge()
|