/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
ICUCurrencyMetaInfo.java | 73 // priorities in order within region. This means we don't need 80 if (filter.region != null) { 81 needed |= Region; 94 if (filter.region != null) { 95 ICUResourceBundle b = regionInfo.findWithFallback(filter.region); 112 String region = b.getKey(); local 113 if (needed == Region) { 162 collector.collect(region, currency, from, to, i, tender); 198 // Data is already unique by region/priority, so we don't need to be concerned 202 public void collect(String region, String currency, long from, long to, int priority, boolean tender) [all...] |
TZDBTimeZoneNames.java | 90 public String getReferenceZoneID(String mzID, String region) { 91 return TimeZoneNamesImpl._getReferenceZoneID(mzID, region); 228 TZDBNameSearchHandler(EnumSet<NameType> nameTypes, String region) { 230 assert region != null; 231 _region = region; 267 // but if region is one of CN/MO/TW, "CST" is parsed 269 for (String region : ninfo.parseRegions) { 270 if (_region.equals(region)) { 387 String region = _locale.getCountry(); local 388 if (region.length() == 0) [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
CurrencyMetaInfo.java | 78 * The region to filter on. If null, accepts any region. 80 public final String region; field in class:CurrencyMetaInfo.CurrencyFilter 105 private CurrencyFilter(String region, String currency, long from, long to, boolean tenderOnly) { 106 this.region = region; 135 * Returns a filter that accepts all currencies ever used in the given region. 136 * @param region the region code 140 public static CurrencyFilter onRegion(String region) { 381 public final String region; field in class:CurrencyMetaInfo.CurrencyInfo [all...] |
/external/icu/icu4c/source/common/ |
loclikely.cpp | 119 * Create a tag string from the supplied parameters. The lang, script and region 123 * If any of the language, script or region parameters are empty, and the alternateTags 124 * parameter is not NULL, it will be parsed for potential language, script and region tags 142 * @param region The region tag to use. 143 * @param regionLength The length of the region tag. 158 const char* region, 181 * script and region code without worrying about overrunning 279 region, 288 * Parse the alternateTags string for the region 860 char region[ULOC_COUNTRY_CAPACITY]; local 967 char region[ULOC_COUNTRY_CAPACITY]; local [all...] |
/external/icu/icu4c/source/i18n/ |
ulocdata.c | 193 char region[ULOC_COUNTRY_CAPACITY]; local 201 uloc_getCountry(fullLoc, region, ULOC_COUNTRY_CAPACITY, status); 206 UResourceBundle *measDataBundle = ures_getByKey(rb, region, NULL, status);
|
/external/icu/icu4c/source/test/intltest/ |
regiontst.cpp | 17 #include "unicode/region.h" 368 const Region *r = Region::getInstance(rd.code,status); 373 errln("Numeric code mismatch for region %s. Expected:%d Got:%d",r->getRegionCode(),e,n); 377 errln("Expected region %s to be of type %d. Got: %d",r->getRegionCode(),rd.type,r->getType()); 382 const Region *ncRegion = Region::getInstance(nc,status); 383 if ( *ncRegion != *r && nc != 891 ) { // 891 is special case - CS and YU both deprecated codes for region 891 384 errln("Creating region %s by its numeric code returned a different region. Got: %s instead.",r->getRegionCode(),ncRegion->getRegionCode()) 715 const Region *region = Region::getInstance("BM",status); local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
TZDBTimeZoneNames.java | 88 public String getReferenceZoneID(String mzID, String region) { 89 return TimeZoneNamesImpl._getReferenceZoneID(mzID, region); 226 TZDBNameSearchHandler(EnumSet<NameType> nameTypes, String region) { 228 assert region != null; 229 _region = region; 265 // but if region is one of CN/MO/TW, "CST" is parsed 267 for (String region : ninfo.parseRegions) { 268 if (_region.equals(region)) { 385 String region = _locale.getCountry(); local 386 if (region.length() == 0) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
CurrencyMetaInfo.java | 80 * The region to filter on. If null, accepts any region. 83 public final String region; field in class:CurrencyMetaInfo.CurrencyFilter 111 private CurrencyFilter(String region, String currency, long from, long to, boolean tenderOnly) { 112 this.region = region; 143 * Returns a filter that accepts all currencies ever used in the given region. 144 * @param region the region code 149 public static CurrencyFilter onRegion(String region) { 414 public final String region; field in class:CurrencyMetaInfo.CurrencyInfo [all...] |
/external/icu/icu4j/main/classes/currdata/src/com/ibm/icu/impl/ |
ICUCurrencyMetaInfo.java | 71 // priorities in order within region. This means we don't need 78 if (filter.region != null) { 79 needed |= Region; 92 if (filter.region != null) { 93 ICUResourceBundle b = regionInfo.findWithFallback(filter.region); 110 String region = b.getKey(); local 111 if (needed == Region) { 160 collector.collect(region, currency, from, to, i, tender); 196 // Data is already unique by region/priority, so we don't need to be concerned 200 public void collect(String region, String currency, long from, long to, int priority, boolean tender) [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
PolygonSprite.java | 27 PolygonRegion region;
field in class:PolygonSprite 38 public PolygonSprite (PolygonRegion region) {
39 setRegion(region);
41 setSize(region.region.regionWidth, region.region.regionHeight);
53 setRegion(sprite.region);
213 final PolygonRegion region = this.region;
local [all...] |
TextureRegion.java | 31 /** Constructs a region with no texture and no coordinates defined. */
35 /** Constructs a region the size of the specified texture. */
42 /** @param width The width of the texture region. May be negative to flip the sprite when drawn.
43 * @param height The height of the texture region. May be negative to flip the sprite when drawn. */
49 /** @param width The width of the texture region. May be negative to flip the sprite when drawn.
50 * @param height The height of the texture region. May be negative to flip the sprite when drawn. */
61 /** Constructs a region with the same texture and coordinates of the specified region. */
62 public TextureRegion (TextureRegion region) {
63 setRegion(region);
284 TextureRegion region = new TextureRegion(texture); local [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/influencers/ |
RegionInfluencer.java | 11 /** It's an {@link Influencer} which assigns a region of a {@link Texture} to the particles. 15 /** Assigns the first region of {@link RegionInfluencer#regions} to the particles.*/ 33 AspectTextureRegion region = regions.items[0]; local 37 regionChannel.data[i +ParticleChannels.UOffset] = region.u; 38 regionChannel.data[i +ParticleChannels.VOffset] = region.v; 39 regionChannel.data[i +ParticleChannels.U2Offset] = region.u2; 40 regionChannel.data[i +ParticleChannels.V2Offset] = region.v2; 42 regionChannel.data[i +ParticleChannels.HalfHeightOffset] = region.halfInvAspectRatio; 52 /** Assigns a random region of {@link RegionInfluencer#regions} to the particles.*/ 71 AspectTextureRegion region = regions.random() local 116 AspectTextureRegion region = regions.get( (int)(lifeChannel.data[l]*(regions.size-1))); local [all...] |
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
Scene2dTest.java | 56 final TextureRegion region = new TextureRegion(new Texture("data/badlogic.jpg"));
local 61 batch.draw(region, getX(), getY(), getOriginX(), getOriginY(), getWidth(), getHeight(), getScaleX(), getScaleY(),
|
TableTest.java | 50 TextureRegion region = new TextureRegion(texture);
local 100 // root.add(new Button(new Image(region), skin));
|
/external/mesa3d/src/gallium/state_trackers/egl/x11/ |
x11_screen.c | 356 XserverRegion region; local 366 region = XFixesCreateRegion(xscr->dpy, rectangles, num_rects); 367 DRI2CopyRegion(xscr->dpy, drawable, region, dst_buf, src_buf); 368 XFixesDestroyRegion(xscr->dpy, region);
|
/external/mesa3d/src/gallium/winsys/svga/drm/ |
vmw_context.c | 88 } region; member in struct:vmw_svga_winsys_context 142 for(i = 0; i < vswc->region.used; ++i) { 143 struct vmw_region_relocation *reloc = &vswc->region.relocs[i]; 178 for(i = 0; i < vswc->region.used + vswc->region.staged; ++i) { 179 pb_reference(&vswc->region.relocs[i].buffer, NULL); 182 vswc->region.used = 0; 183 vswc->region.reserved = 0; 222 vswc->region.used + nr_relocs > vswc->region.size) [all...] |
vmw_screen_ioctl.c | 258 struct vmw_region *region; local 266 region = CALLOC_STRUCT(vmw_region); 267 if (!region) 282 region->ptr.gmrId = rep->cur_gmr_id; 283 region->ptr.offset = rep->cur_gmr_offset; 284 region->data = NULL; 285 region->handle = rep->handle; 286 region->map_handle = rep->map_handle; 287 region->map_count = 0; 288 region->size = size [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_misc_state.c | 290 intel_region_get_tile_masks(depth_irb->mt->region, 297 hiz_region = depth_irb->mt->hiz_mt->region; 332 intel_region_get_tile_masks(stencil_mt->region, 445 struct intel_region *region = depth_irb->mt->region; local 451 assert(intel->gen < 6 || region->tiling == I915_TILING_Y); 452 assert(!hiz_region || region->tiling == I915_TILING_Y); 477 offset = intel_region_get_aligned_offset(region, 483 OUT_BATCH(((region->pitch * region->cpp) - 1) 543 struct intel_region *region = stencil_mt->region; local [all...] |
gen7_blorp.cpp | 152 struct intel_region *region = surface->mt->region; local 172 surf->ss1.base_addr += region->bo->offset; 186 ? I915_TILING_Y : region->tiling; 189 uint32_t pitch_bytes = region->pitch * region->cpp; 211 region->bo, 212 surf->ss1.base_addr - region->bo->offset, 592 intel_region_get_aligned_offset(params->depth.mt->region, 619 params->depth.mt->region->pitch * params->depth.mt->region->cpp [all...] |
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_blit.c | 271 struct intel_region *region; local 279 region = irb->mt->region; 280 assert(region); 281 assert(region->bo); 293 pitch = region->pitch; 294 cpp = region->cpp; 298 region->bo, (pitch * cpp), 314 assert(region->tiling != I915_TILING_Y); 317 if (region->tiling != I915_TILING_NONE) 539 struct intel_region *region = intel_image->mt->region; local [all...] |
intel_context.c | 961 * \brief Assign a DRI buffer's DRM region to a renderbuffer. 982 struct intel_region *region = NULL; local 995 rb->mt->region && 996 rb->mt->region->name == buffer->name) 1001 rb->mt->singlesample_mt->region && 1002 rb->mt->singlesample_mt->region->name == buffer->name) 1014 region = intel_region_alloc_for_handle(intel->intelScreen, 1021 if (!region) 1028 region); 1029 intel_region_release(®ion); [all...] |
intel_mipmap_tree.h | 42 * - Code to size and layout a region to hold a set of mipmaps. 72 /** Region of interest for the map. */ 91 * Describes the location of each texture image within a texture region. 262 struct intel_region *region; member in struct:intel_mipmap_tree 264 /* Offset into region bo where miptree starts: 388 struct intel_region *region); 395 struct intel_region *region); 461 * Copy the stencil data from \c mt->stencil_mt->region to \c mt->region for 473 * Copy the stencil data in \c mt->stencil_mt->region to \c mt->region for th [all...] |
/external/opencv3/modules/core/src/ |
directx.cpp | 745 size_t region[3] = {u.cols, u.rows, 1}; local 746 status = clEnqueueCopyBufferToImage(q, clBuffer, clImage, offset, dst_origin, region, 0, NULL, NULL); 804 size_t region[3] = {u.cols, u.rows, 1}; local 805 status = clEnqueueCopyImageToBuffer(q, clImage, clBuffer, src_origin, region, offset, 0, NULL, NULL); 893 size_t region[3] = {u.cols, u.rows, 1}; local 952 size_t region[3] = {u.cols, u.rows, 1}; local 1047 size_t region[3] = {u.cols, u.rows, 1}; local 1113 size_t region[3] = {u.cols, u.rows, 1}; local [all...] |
/external/skia/tests/ |
PathOpsBuilderConicTest.cpp | 25 SkRegion* region, SkPath* result) { 37 } else if (!region) { 43 region->op(rgnB, SkRegion::kUnion_Op); 50 } else if (region) { 51 region->getBoundaryPath(result); 60 SkRegion region; local 61 testOvalSet(set, oval, nullptr, ®ion, ®ionResult); [all...] |
RegionTest.cpp | 64 // These test SkRegion::contains(Rect) and SkRegion::contains(Region) 233 DEF_TEST(Region, reporter) { 268 static void test_write(const SkRegion& region, skiatest::Reporter* r) { 269 const size_t bytesNeeded = region.writeToMemory(nullptr); 271 const size_t bytesWritten = region.writeToMemory(storage.get()); 276 // Test an empty region. 277 SkRegion region; local 278 REPORTER_ASSERT(r, region.isEmpty()); 279 test_write(region, r); 281 // Test a rectangular region [all...] |