/frameworks/base/include/androidfw/ |
H A D | LocaleData.h | 30 void localeDataComputeScript(char out[4], const char* language, const char* region); 32 bool localeDataIsCloseToUsEnglish(const char* region);
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | BakedOpRendererTests.cpp | 33 EXPECT_TRUE(layer.region.isEmpty()) << "Repaint full layer should clear region"; 40 EXPECT_TRUE(layer.region.isRect()); 41 //ALOGD("bounds %d %d %d %d", RECT_ARGS(layer.region.getBounds())); 42 EXPECT_EQ(android::Rect(100, 0, 200, 200), layer.region.getBounds()) 50 EXPECT_TRUE(layer.region.isEmpty()) 51 << "Now right side being repainted, so region should be entirely clear";
|
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/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/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
|
/frameworks/base/core/jni/android/graphics/ |
H A D | 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 local 102 const SkRegion* region = reinterpret_cast<SkRegion*>(regionHandle); local 119 Region_isEmpty(JNIEnv* env, jobject region) argument 124 Region_isRect(JNIEnv* env, jobject region) argument 129 Region_isComplex(JNIEnv* env, jobject region) argument 134 Region_contains(JNIEnv* env, jobject region, jint x, jint y) argument 139 Region_quickContains(JNIEnv* env, jobject region, jint left, jint top, jint right, jint bottom) argument 144 Region_quickRejectIIII(JNIEnv* env, jobject region, jint left, jint top, jint right, jint bottom) argument 151 Region_quickRejectRgn(JNIEnv* env, jobject region, jobject other) argument 156 Region_translate(JNIEnv* env, jobject region, jint x, jint y, jobject dst) argument 186 Region_scale(JNIEnv* env, jobject region, jfloat scale, jobject dst) argument 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...] |
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/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | ShaderProgram.java | 170 public void setSourceRegion(Quad region) { argument 171 setSourceRegion(region.p0.x, region.p0.y, 172 region.p1.x, region.p1.y, 173 region.p2.x, region.p2.y, 174 region.p3.x, region.p3.y); 177 public void setTargetRegion(Quad region) { argument [all...] |
/frameworks/compile/mclinker/unittests/ |
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 | 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);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Region_Delegate.java | 330 Region_Delegate region = sManager.getDelegate(native_region); 331 if (region == null) { 335 Rectangle bounds = region.mArea.getBounds(); 350 Region_Delegate region = sManager.getDelegate(native_region); 351 if (region == null) { 360 if (region.mArea.isEmpty()) { 365 path.setPathIterator(region.mArea.getPathIterator(new AffineTransform())); 372 Region_Delegate region = sManager.getDelegate(native_dst); 373 if (region == null) { 377 region [all...] |
/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/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/services/core/ |
H A D | Android.mk | 30 -D jack.transformations.boost-locked-region-priority=true \ 31 -D jack.transformations.boost-locked-region-priority.classname=com.android.server.am.ActivityManagerService \ 32 -D jack.transformations.boost-locked-region-priority.request=com.android.server.am.ActivityManagerService\#boostPriorityForLockedSection \ 33 -D jack.transformations.boost-locked-region-priority.reset=com.android.server.am.ActivityManagerService\#resetPriorityAfterLockedSection
|
/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/libs/hwui/tests/common/scenes/ |
H A D | RectGridAnimation.cpp | 40 SkRegion region; 43 region.op(xOffset, yOffset, xOffset + 1, yOffset + 1, SkRegion::kUnion_Op); 49 canvas.drawRegion(region, paint);
|
/frameworks/base/libs/hwui/ |
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); 182 static void applyTransformToRegion(const Matrix4& transform, SkRegion* region);
|
H A D | ClipArea.cpp | 236 void ClipArea::clipRegion(const SkRegion& region, SkRegion::Op op) { argument 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. 400 return reinterpret_cast<const ClipRegion*>(scb)->region; 444 // region case 473 regionClip->region.op(mClipRect.toSkIRect(), other, SkRegion::kIntersect_Op); 476 regionClip->region 532 applyTransformToRegion(const Matrix4& transform, SkRegion* region) argument [all...] |
/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...] |
/frameworks/base/core/java/android/accessibilityservice/ |
H A D | IAccessibilityServiceClient.aidl | 44 void onMagnificationChanged(in Region region, float scale, float centerX, float centerY);
|
/frameworks/native/services/inputflinger/ |
H A D | InputWindow.cpp | 30 void InputWindowInfo::addTouchableRegion(const Rect& region) { argument 31 touchableRegion.orSelf(region);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/ |
H A D | PatternScanner.java | 52 matcher.region(mOffset, mInput.length()); 86 matcher.region(mOffset, mInput.length()); 94 matcher.region(mOffset, mInput.length());
|
/frameworks/rs/api/ |
H A D | rs_allocation_data.spec | 67 arg: uint32_t dstXoff, "X offset in the destination of the region to be set." 68 arg: uint32_t dstYoff, "Y offset in the destination of the region to be set." 71 arg: uint32_t width, "Width of the incoming region to update." 72 arg: uint32_t height, "Height of the incoming region to update." 78 summary: Copy a rectangular region of cells between allocations 80 Copies a rectangular region of cells from one allocation to another. 86 The function does not validate whether the the source or destination region
|