/external/skia/tests/ |
SerializationTest.cpp | 67 static void Write(SkWriteBuffer& writer, const SkRegion* region) { 68 writer.writeRegion(*region); 70 static void Read(SkValidatingReadBuffer& reader, SkRegion* region) { 71 reader.readRegion(region); 444 // Test region serialization 446 SkRegion region; local 447 TestObjectSerialization(®ion, reporter);
|
/external/webrtc/webrtc/modules/desktop_capture/ |
desktop_region.cc | 58 bool DesktopRegion::Equals(const DesktopRegion& region) const { 61 Rows::const_iterator it2 = region.rows_.begin(); 63 if (it2 == region.rows_.end() || 73 return it2 == region.rows_.end(); 168 void DesktopRegion::AddRegion(const DesktopRegion& region) { 171 for (Iterator it(region); !it.IsAtEnd(); it.Advance()) { 263 void DesktopRegion::IntersectWith(const DesktopRegion& region) { 266 Intersect(old_region, region); 270 DesktopRegion region; local 271 region.AddRect(rect) 365 DesktopRegion region; local [all...] |
/frameworks/base/core/jni/android/graphics/ |
Region.cpp | 38 SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); local 39 SkASSERT(region != NULL); 40 return region; 48 SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); local 49 SkASSERT(region); 50 delete region; 78 SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); local 79 GraphicsJNI::irect_to_jrect(region->getBounds(), env, rectBounds); 80 bool result = !region->isEmpty(); 85 const SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle) local 102 const SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); local 195 SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); local 222 SkRegion* region = new SkRegion; local 232 const SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); local 278 const SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); local [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Region.java | 23 public class Region implements Parcelable { 27 private static final SynchronizedPool<Region> sPool = 28 new SynchronizedPool<Region>(MAX_POOL_SIZE); 54 /** Create an empty region 56 public Region() { 60 /** Return a copy of the specified region 62 public Region(Region region) { 64 nativeSetRegion(mNativeRegion, region.mNativeRegion) 308 Region region = sPool.acquire(); local 320 Region region = obtain(); local [all...] |
/frameworks/base/libs/hwui/ |
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()) [all...] |
ClipArea.cpp | 230 case ClipMode::Region: 236 void ClipArea::clipRegion(const SkRegion& region, SkRegion::Op op) { 241 mClipRegion.op(region, op); 254 SkRegion region; local 255 regionFromPath(transformed, region); 257 mClipRegion.op(region, op); 303 // all clip areas that can be represented by a region. 319 * Region mode implementation 324 mMode = ClipMode::Region; 325 if (oldMode != ClipMode::Region) { [all...] |
ClipArea.h | 95 // region and path - intersected. if either is empty, don't use 96 Region 127 ClipRegion(const SkRegion& region) 128 : ClipBase(ClipMode::Region) 129 , region(region) {} 131 : ClipBase(ClipMode::Region) {} 132 SkRegion region; member in struct:android::uirenderer::ClipRegion 149 void clipRegion(const SkRegion& region, SkRegion::Op op); 166 return ClipMode::Region == mMode [all...] |
Snapshot.h | 25 #include <ui/Region.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/services/core/jni/ |
com_android_server_input_InputWindowHandle.cpp | 25 #include <android/graphics/Region.h> 26 #include <ui/Region.h> 133 SkRegion* region = android_graphics_Region_getSkRegion(env, regionObj); local 134 for (SkRegion::Iterator it(*region); !it.done(); it.next()) { 274 "touchableRegion", "Landroid/graphics/Region;");
|
/frameworks/compile/mclinker/lib/LD/ |
GNUArchiveReader.cpp | 47 llvm::StringRef region = 49 const char* str = region.begin(); 73 llvm::StringRef region = local 75 const char* str = region.begin();
|
IdenticalCodeFolding.cpp | 221 case Fragment::Region: { 222 const RegionFragment& region = llvm::cast<RegionFragment>(*frag); local 223 content.append(region.getRegion().begin(), region.size());
|
/frameworks/native/include/private/ui/ |
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& lhs, const region& rhs [all...] |
/libcore/ojluni/src/main/java/sun/util/locale/ |
BaseLocale.java | 44 private final String region; field in class:BaseLocale 50 private BaseLocale(String language, String region) { 53 this.region = region; 57 private BaseLocale(String language, String script, String region, String variant) { 60 this.region = (region != null) ? LocaleUtils.toUpperString(region).intern() : ""; 66 public static BaseLocale createInstance(String language, String region) { 67 BaseLocale base = new BaseLocale(language, region); [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/lib/gcc/x86_64-w64-mingw32/4.8.3/plugin/include/ |
except.h | 34 /* The type of an exception region. */ 59 region type is used in C++ to surround destructors being run inside a 60 CLEANUP region. This differs from an ALLOWED_EXCEPTIONS region with 69 /* A landing pad for a given exception region. Any transfer of control 74 /* The linked list of all landing pads associated with the region. */ 77 /* The region with which this landing pad is associated. */ 78 struct eh_region_d *region; variable in typeref:struct:eh_region_d 96 /* A catch handler associated with an ERT_TRY region. */ 100 /* The double-linked list of all catch handlers for the region. * [all...] |
/prebuilts/go/darwin-x86/pkg/bootstrap/src/bootstrap/compile/internal/gc/ |
reg.go | 109 // A Rgn represents a single regopt variable over a region of code 131 // not the raw region count. If there are many regions, they 133 // The only operation that scales with region count is the 139 region []Rgn 1308 region = region[:0] 1339 region = append(region, Rgn{ 1358 sort.Sort(rcmp(region[:nregion])) 1375 rgp = ®ion[i 138 region []Rgn var [all...] |
/prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/ |
reg.go | 106 // A Rgn represents a single regopt variable over a region of code 128 // not the raw region count. If there are many regions, they 130 // The only operation that scales with region count is the 136 region []Rgn 1305 region = region[:0] 1336 region = append(region, Rgn{ 1355 sort.Sort(rcmp(region[:nregion])) 1372 rgp = ®ion[i 135 region []Rgn var [all...] |
/prebuilts/go/linux-x86/pkg/bootstrap/src/bootstrap/compile/internal/gc/ |
reg.go | 109 // A Rgn represents a single regopt variable over a region of code 131 // not the raw region count. If there are many regions, they 133 // The only operation that scales with region count is the 139 region []Rgn 1308 region = region[:0] 1339 region = append(region, Rgn{ 1358 sort.Sort(rcmp(region[:nregion])) 1375 rgp = ®ion[i 138 region []Rgn var [all...] |
/prebuilts/go/linux-x86/src/cmd/compile/internal/gc/ |
reg.go | 106 // A Rgn represents a single regopt variable over a region of code 128 // not the raw region count. If there are many regions, they 130 // The only operation that scales with region count is the 136 region []Rgn 1305 region = region[:0] 1336 region = append(region, Rgn{ 1355 sort.Sort(rcmp(region[:nregion])) 1372 rgp = ®ion[i 135 region []Rgn var [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
AndroidXmlAutoEditStrategy.java | 101 IStructuredDocumentRegion region = doc.getRegionAtCharacterOffset(textStart); local 102 if (region != null && region.getType().equals(XML_TAG_NAME)) { 177 } else if (region != null && region.getType().equals(XML_CONTENT)) { 198 String text = region.getText(); 199 int regionStart = region.getStartOffset(); 210 IStructuredDocumentRegion previous = region.getPrevious(); 269 IStructuredDocumentRegion next = region.getNext(); 380 IStructuredDocumentRegion region local 405 IStructuredDocumentRegion region = doc.getRegionAtCharacterOffset(start); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
RefactoringAssistant.java | 114 IStructuredDocumentRegion region = doc.getRegionAtCharacterOffset(offset); local 115 ITextRegion subRegion = region.getRegionAtCharacterOffset(offset); 119 String value = region.getText(subRegion); 133 String name = region.getText(subRegion); 175 IndexedRegion region = (IndexedRegion) node; local 176 int startOffset = region.getStartOffset(); 177 int length = region.getEndOffset() - region.getStartOffset();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/ |
CopyCutAction.java | 173 IndexedRegion region = (IndexedRegion) xml_node; local 174 int start = region.getStartOffset(); 175 int end = region.getEndOffset(); 182 // the region offset was invalid. ignore.
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
EclipseLintClient.java | 255 IndexedRegion region = (IndexedRegion) node; local 256 int nodeStart = region.getStartOffset(); 261 model.getStructuredDocument(), region); 271 IndexedRegion region = (IndexedRegion) node; local 272 return region.getStartOffset(); 277 IndexedRegion region = (IndexedRegion) node; local 278 return region.getEndOffset(); 447 IndexedRegion region = l.mRegion; 448 if (region instanceof Node) { 449 Node node = (Node) region; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
AndroidPackageRenameParticipant.java | 58 import org.eclipse.jface.text.Region; 121 IRegion region = null; local 128 region = new Region(start, ir.getEndOffset() - start); 131 if (region == null) { 132 region = new Region(0, 0); 136 RefactoringStatusContext ctx = new FileStatusContext(mManifestFile, region);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/ |
NewXmlFileWizard.java | 48 import org.eclipse.jface.text.Region; 146 IRegion region = created.getSecond(); 153 xmlEditor.show(region.getOffset(), region.getLength(), 278 IRegion region = caretOffset != -1 ? new Region(caretOffset, 0) : null; local 288 return Pair.of(file, region);
|
/toolchain/binutils/binutils-2.25/binutils/ |
dwarf-mode.el | 45 (delete-region (point) (progn 107 ;; jit-lock callback function to fontify a region. This applies the 110 (defun dwarf-fontify-region (start end) 152 (jit-lock-register #'dwarf-fontify-region))
|