/cts/tests/tests/widget/src/android/widget/cts/ |
FrameLayoutTest.java | 33 import android.graphics.Region; 136 Region region = new Region(foreground.getBounds()); local 137 assertTrue(mFrameLayout.gatherTransparentRegion(region)); 142 region = new Region(foreground.getBounds()); 143 assertTrue(mFrameLayout.gatherTransparentRegion(region));
|
/external/ImageMagick/MagickCore/ |
cache.c | 634 region; 643 region.width=cache_info->columns; 644 region.height=1; 645 region.x=0; 646 region.y=y; 647 pixels=SetPixelCacheNexusPixels(cache_info,ReadMode,®ion, 654 region.width=clone_info->columns; 655 pixels=SetPixelCacheNexusPixels(clone_info,WriteMode,®ion, 724 region; 730 region.width=cache_info->columns 621 region; local 711 region; local 2591 region; local 3881 region; local 4225 region; local 4399 region; local 5292 region; local 5459 region; local [all...] |
/external/compiler-rt/lib/lsan/ |
lsan_common.cc | 256 LOG_POINTERS("Root region %p-%p intersects with mapped region %p-%p (%s)\n", 270 RootRegion region = (*root_regions)[i]; local 271 uptr begin_addr = reinterpret_cast<uptr>(region.begin); 272 ProcessRootRegion(frontier, begin_addr, begin_addr + region.size); 649 RootRegion region = {begin, size}; local 650 root_regions->push_back(region); 651 VReport(1, "Registered root region at %p of size %llu\n", begin, size); 662 RootRegion region = (*root_regions)[i]; local 663 if (region.begin == begin && region.size == size) [all...] |
/external/deqp/modules/gles2/functional/ |
es2fMultisampleTests.cpp | 111 * \brief Check if a region in an image is unicolored. 122 bool insideEncountered = false; //!< Whether we have already seen at least one pixel inside the region. 123 tcu::RGBA insideColor; //!< Color of the first pixel inside the region. 134 if (!tcu::compareThreshold(pixColor, insideColor, tcu::RGBA(3, 3, 3, 3))) // Pixel color differs from already-detected color inside same region - region not unicolored. 717 // By "interior" we here mean the region of non-boundary pixels of the rendered quad for which we can safely assume 838 const QuadCorners& region = unicoloredRegions[i]; local 839 IVec2 p0Win = ((region.p0+1.0f) * 0.5f * (float)(m_viewportSize-1) + 0.5f).asInt(); 840 IVec2 p1Win = ((region.p1+1.0f) * 0.5f * (float)(m_viewportSize-1) + 0.5f).asInt(); 841 IVec2 p2Win = ((region.p2+1.0f) * 0.5f * (float)(m_viewportSize-1) + 0.5f).asInt() [all...] |
/external/e2fsprogs/e2fsck/ |
pass1.c | 1528 region_t region = 0; local [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
ZoneMeta.java | 139 String region = getRegion(id); local 140 if (region != null && !region.equals(kWorld)) { 154 * @param region a region, or null. 158 public static Set<String> getAvailableIDs(SystemTimeZoneType type, String region, Integer rawOffset) { 175 if (region == null && rawOffset == null) { 179 if (region != null) { 180 region = region.toUpperCase(Locale.ENGLISH) 426 String region = REGION_CACHE.get(tzid); local [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
LocaleMatcher.java | 162 String region = ulocale.getCountry(); local 163 String region2 = canonicalMap.get(region); 168 region2 == null ? region : region2 365 final String region = languageCode.getCountry(); local 371 + (region.length()==0 ? "ZZ" : region)); 380 private String region; field in class:LocaleMatcher.LocalePatternMatcher 394 region = matcher.group(3); 395 level = region != null ? Level.region : script != null ? Level.script : Level.language 475 region(0.04); enum constant in enum:LocaleMatcher.Level [all...] |
/external/icu/icu4c/source/i18n/ |
rematch.cpp | 894 // This will reset the region to be the full input length. 1604 RegexMatcher &RegexMatcher::region(int64_t regionStart, int64_t regionLimit, int64_t startIndex, UErrorCode &status) { function in class:RegexMatcher 1647 RegexMatcher &RegexMatcher::region(int64_t start, int64_t limit, UErrorCode &status) { function in class:RegexMatcher [all...] |
tzfmt.cpp | 318 const char* region = fLocale.getCountry(); local 319 int32_t regionLen = uprv_strlen(region); 331 uprv_strcpy(fTargetRegion, region); [all...] |
tzgnames.cpp | 413 // target region 414 const char* region = fLocale.getCountry(); local 415 int32_t regionLen = uprv_strlen(region); 428 uprv_strcpy(fTargetRegion, region); 570 // if the time zone is associated with a region [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
ZoneMeta.java | 138 String region = getRegion(id); local 139 if (region != null && !region.equals(kWorld)) { 153 * @param region a region, or null. 157 public static Set<String> getAvailableIDs(SystemTimeZoneType type, String region, Integer rawOffset) { 174 if (region == null && rawOffset == null) { 178 if (region != null) { 179 region = region.toUpperCase(Locale.ENGLISH) 425 String region = REGION_CACHE.get(tzid); local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
LocaleMatcher.java | 165 String region = ulocale.getCountry(); local 166 String region2 = canonicalMap.get(region); 171 region2 == null ? region : region2 372 final String region = languageCode.getCountry(); local 378 + (region.length()==0 ? "ZZ" : region)); 387 private String region; field in class:LocaleMatcher.LocalePatternMatcher 401 region = matcher.group(3); 402 level = region != null ? Level.region : script != null ? Level.script : Level.language 482 region(0.04); enum constant in enum:LocaleMatcher.Level [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
PixmapPacker.java | 264 TextureRegion region = new TextureRegion(page.texture, (int)rect.x, (int)rect.y, (int)rect.width,
local 266 atlas.addRegion(name, region);
274 /** Calls {@link Page#updateTexture(TextureFilter, TextureFilter, boolean) updateTexture} for each page and adds a region to
|
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/ |
PhoneNumberMatcherTest.java | 92 // Try again, but this time we have an international number with Region Code US. It should 185 // Null is also allowed for the region code in these cases. 401 String region = RegionCode.US; local 404 number1.setCountryCode(phoneUtil.getCountryCodeForRegion(region)); 409 number2.setCountryCode(phoneUtil.getCountryCodeForRegion(region)); 413 Iterator<PhoneNumberMatch> matches = phoneUtil.findNumbers(text, region).iterator(); 421 String region = RegionCode.US; local 423 assertTrue(hasNoMatches(phoneUtil.findNumbers(text, region))); 606 findNumbersForLeniency(test.rawString, test.region, leniency); 627 findNumbersForLeniency(test.rawString, test.region, leniency) 672 String region = RegionCode.US; local 716 String region = RegionCode.NZ; local 1078 final String region; field in class:PhoneNumberMatcherTest.NumberTest [all...] |
/external/mesa3d/src/glx/ |
dri2_glx.c | 508 XserverRegion region; local 526 region = XFixesCreateRegion(psc->base.dpy, &xrect, 1); 527 DRI2CopyRegion(psc->base.dpy, pdraw->xDrawable, region, 534 DRI2CopyRegion(psc->base.dpy, pdraw->xDrawable, region, 537 XFixesDestroyRegion(psc->base.dpy, region); 553 XserverRegion region; local 566 region = XFixesCreateRegion(psc->base.dpy, &xrect, 1); 567 DRI2CopyRegion(psc->base.dpy, priv->base.xDrawable, region, dest, src); 568 XFixesDestroyRegion(psc->base.dpy, region); [all...] |
/external/skia/tests/ |
CanvasTest.cpp | 159 SkRegion region; local 161 region.setRect(rect); 162 return region;
|
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/ |
ScriptEditor.java | 597 m.region(start, end);
|
/external/sonivox/arm-wt-22k/lib_src/ |
eas_sndlib.h | 70 /* this bit in region index indicates that region is for secondary synth */ 76 * Generic region data structure 78 * This must be the first element in each region structure 221 * Wavetable region data structure 226 S_REGION region; member in struct:s_wt_region_tag 236 * DLS region data structure 273 S_REGION region; member in struct:s_fm_region_tag 305 * regionIndex: Index of first region in program
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
Parameters.h | 122 // 3A region types, for use with ANDROID_CONTROL_MAX_REGIONS 127 NUM_REGION // Number of region types 128 } region; member in struct:android::camera2::Parameters 278 // Calculate the crop region rectangle, either tightly about the preview 279 // resolution, or a region just based on the active array; both take 337 // region. 350 // Convert from viewfinder crop-region relative array coordinates 356 // to viewfinder crop-region relative array coordinates 360 // Given a scaler crop region, calculate preview crop region based o [all...] |
/frameworks/base/core/java/android/view/ |
SurfaceView.java | 28 import android.graphics.Region; 56 * <p> The transparent region that makes the surface visible is based on the 263 // This is needed because the transparent region is computed 318 public boolean gatherTransparentRegion(Region region) { 320 return super.gatherTransparentRegion(region); 325 // this view draws, remove it from the transparent region 326 opaque = super.gatherTransparentRegion(region); 327 } else if (region != null) { 335 region.op(l, t, l+w, t+h, Region.Op.UNION) [all...] |
/frameworks/base/tools/aapt/ |
AaptAssets.h | 63 char region[4]; member in struct:AaptLocaleValue
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
MipsLDBackend.cpp | 297 case Fragment::Region: { 463 llvm::StringRef region = pInput.memArea()->request(offset, size); local 464 if (region.size() > 0) { 466 reinterpret_cast<const llvm::ELF::Elf_Options*>(region.begin()); 468 reinterpret_cast<const llvm::ELF::Elf_Options*>(region.begin() + [all...] |
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/ |
Palette.java | 723 * Set a region of the bitmap to be used exclusively when calculating the palette. 726 * @param left The left side of the rectangle used for the region. 727 * @param top The top of the rectangle used for the region. 728 * @param right The right side of the rectangle used for the region. 729 * @param bottom The bottom of the rectangle used for the region. 737 // Now just get the intersection with the region 739 throw new IllegalArgumentException("The given region must intersect with " 747 * Clear any previously region set via {@link #setRegion(int, int, int, int)}. 801 final Rect region = mRegion; local 802 if (bitmap != mBitmap && region != null) [all...] |
/hardware/qcom/display/msm8226/libhwcomposer/ |
hwc_copybit.cpp | 41 region_iterator(hwc_region_t region) { 42 mRegion = region; 43 r.end = (int)region.numRects; 691 // Copybit region is the destRect 693 hwc_region_t region; local 694 region.numRects = 1; 695 region.rects = ®Rect; 696 region_iterator copybitRegion(region); 938 hwc_region_t region = layer->visibleRegionScreen; local [all...] |
/hardware/qcom/display/msm8909/libhwcomposer/ |
hwc_copybit.cpp | 41 region_iterator(hwc_region_t region) { 42 mRegion = region; 43 r.end = (int)region.numRects; 711 //Clear the transparent or left out region on the render buffer 758 * region of layer display frame with respect to PTOR display frame 849 // Copybit region is the destRect 851 hwc_region_t region; local 852 region.numRects = 1; 853 region.rects = ®Rect; 854 region_iterator copybitRegion(region); 1111 hwc_region_t region = layer->visibleRegionScreen; local [all...] |