/frameworks/base/libs/androidfw/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/services/core/java/com/android/server/wm/ |
H A D | TapExcludeRegionHolder.java | 25 * region can be updated separately. 30 /** Update the specified region with provided position and size. */ 33 // A region became empty - remove it. 38 Rect region = mTapExcludeRects.get(regionId); 39 if (region == null) { 40 region = new Rect(); 42 region.set(left, top, left + width, top + height); 43 mTapExcludeRects.put(regionId, region); 47 * Union the provided region with current region forme 49 amendRegion(Region region, Rect boundingRegion) argument [all...] |
/frameworks/base/core/java/android/util/apk/ |
H A D | ByteBufferDataSource.java | 56 ByteBuffer region; 61 region = mBuf.slice(); 64 md.consume(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
|
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 | 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
|
/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 | 111 SkRegion* region = nullptr; local 120 if (!region) { 121 region = new SkRegion(); 124 region->op(iterDst.round(), SkRegion::kUnion_Op); 130 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/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/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"; 236 // region 245 recordedClip.region.setPath(ovalPath, SkRegion(SkIRect::MakeWH(200, 200))); 256 EXPECT_EQ(SkIRect::MakeLTRB(60, 20, 160, 200), clipRegion->region.getBounds()); 293 recordedClip.region.setPath(circlePath, SkRegion(SkIRect::MakeWH(100, 100))); 305 EXPECT_EQ(SkIRect::MakeLTRB(100, 100, 300, 300), clipRegion->region.getBounds()); 309 SkRegion region(SkIRect::MakeLTRB(1, 2, 3, 4)); 310 ClipArea::applyTransformToRegion(Matrix4::identity(), ®ion); local [all...] |
H A D | BakedOpRendererTests.cpp | 35 EXPECT_TRUE(layer.region.isEmpty()) << "Repaint full layer should clear region"; 42 EXPECT_TRUE(layer.region.isRect()); 43 // ALOGD("bounds %d %d %d %d", RECT_ARGS(layer.region.getBounds())); 44 EXPECT_EQ(android::Rect(100, 0, 200, 200), layer.region.getBounds()) 52 EXPECT_TRUE(layer.region.isEmpty()) 53 << "Now right side being repainted, so region should be entirely clear";
|
/frameworks/native/include/private/ui/ |
H A D | RegionHelper.h | 52 struct region { struct in class:android::region_operator 57 inline region(const region& rhs) function in struct:android::region_operator::region 59 inline region(RECT const* _r, size_t _c) function in struct:android::region_operator::region 61 inline region(RECT const* _r, size_t _c, TYPE _dx, TYPE _dy) function in struct:android::region_operator::region 72 inline region_operator(uint32_t op, const region& lhs, const region& rhs) 163 region lhs; 164 region rhs; 167 inline Spanner(const region [all...] |
/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/services/core/jni/BroadcastRadio/ |
H A D | regions.h | 32 Region region; member in struct:android::server::BroadcastRadio::regions::RegionalBandConfig
|
/frameworks/native/services/surfaceflinger/ |
H A D | LayerProtoHelper.cpp | 21 void LayerProtoHelper::writeToProto(const Region& region, RegionProto* regionProto) { argument 22 Region::const_iterator head = region.begin(); 23 Region::const_iterator const tail = region.end(); 24 uint64_t address = reinterpret_cast<uint64_t>(®ion);
|
H A D | LayerProtoHelper.h | 33 static void writeToProto(const Region& region, RegionProto* regionProto);
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
H A D | RectGridAnimation.cpp | 37 SkRegion region; 40 region.op(xOffset, yOffset, xOffset + 1, yOffset + 1, SkRegion::kUnion_Op); 46 canvas.drawRegion(region, paint);
|
/frameworks/base/libs/hwui/ |
H A D | ClipArea.h | 89 // region and path - intersected. if either is empty, don't use 116 explicit ClipRegion(const SkRegion& region) : ClipBase(ClipMode::Region), region(region) {} argument 118 SkRegion region; member in struct:android::uirenderer::ClipRegion 152 static void applyTransformToRegion(const Matrix4& transform, SkRegion* region); 167 void clipRegion(const SkRegion& region, SkRegion::Op op);
|
/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();
|
/frameworks/base/core/java/android/accessibilityservice/ |
H A D | IAccessibilityServiceClient.aidl | 44 void onMagnificationChanged(in Region region, float scale, float centerX, float centerY);
|
/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/native/services/inputflinger/ |
H A D | InputWindow.cpp | 30 void InputWindowInfo::addTouchableRegion(const Rect& region) { argument 31 touchableRegion.orSelf(region);
|