Home
last modified time | relevance | path

Searched refs:region (Results 1 – 25 of 1006) sorted by relevance

12345678910>>...41

/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
DTextureAtlas.java151 Region region = new Region(); in TextureAtlasData() local
152 region.page = pageImage; in TextureAtlasData()
153 region.left = left; in TextureAtlasData()
154 region.top = top; in TextureAtlasData()
155 region.width = width; in TextureAtlasData()
156 region.height = height; in TextureAtlasData()
157 region.name = line; in TextureAtlasData()
158 region.rotate = rotate; in TextureAtlasData()
161 region.splits = new int[] {Integer.parseInt(tuple[0]), Integer.parseInt(tuple[1]), in TextureAtlasData()
165 region.pads = new int[] {Integer.parseInt(tuple[0]), Integer.parseInt(tuple[1]), in TextureAtlasData()
[all …]
DPolygonRegion.java27 final TextureRegion region; field in PolygonRegion
33 public PolygonRegion (TextureRegion region, float[] vertices, short[] triangles) { in PolygonRegion() argument
34 this.region = region; in PolygonRegion()
39 float u = region.u, v = region.v; in PolygonRegion()
40 float uvWidth = region.u2 - u; in PolygonRegion()
41 float uvHeight = region.v2 - v; in PolygonRegion()
42 int width = region.regionWidth; in PolygonRegion()
43 int height = region.regionHeight; in PolygonRegion()
65 return region; in getRegion()
DPolygonSprite.java27 PolygonRegion region; field in PolygonSprite
38 public PolygonSprite (PolygonRegion region) { in PolygonSprite() argument
39 setRegion(region); in PolygonSprite()
41 setSize(region.region.regionWidth, region.region.regionHeight); in PolygonSprite()
53 setRegion(sprite.region); in set()
213 final PolygonRegion region = this.region; in getVertices() local
215 final float[] regionVertices = region.vertices; in getVertices()
219 final float sX = width / region.region.getRegionWidth(); in getVertices()
220 final float sY = height / region.region.getRegionHeight(); in getVertices()
263 final PolygonRegion region = this.region;
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_regions.c112 intel_region_map(struct intel_context *intel, struct intel_region *region, in intel_region_map() argument
127 if (drm_intel_bo_busy(region->bo)) { in intel_region_map()
132 _DBG("%s %p\n", __FUNCTION__, region); in intel_region_map()
133 if (!region->map_refcount) { in intel_region_map()
136 if (region->tiling != I915_TILING_NONE) in intel_region_map()
137 drm_intel_gem_bo_map_gtt(region->bo); in intel_region_map()
139 drm_intel_bo_map(region->bo, true); in intel_region_map()
141 region->map = region->bo->virtual; in intel_region_map()
143 if (region->map) { in intel_region_map()
145 region->map_refcount++; in intel_region_map()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_regions.c112 intel_region_map(struct intel_context *intel, struct intel_region *region, in intel_region_map() argument
127 if (drm_intel_bo_busy(region->bo)) { in intel_region_map()
132 _DBG("%s %p\n", __FUNCTION__, region); in intel_region_map()
133 if (!region->map_refcount) { in intel_region_map()
136 if (region->tiling != I915_TILING_NONE) in intel_region_map()
137 drm_intel_gem_bo_map_gtt(region->bo); in intel_region_map()
139 drm_intel_bo_map(region->bo, true); in intel_region_map()
141 region->map = region->bo->virtual; in intel_region_map()
143 if (region->map) { in intel_region_map()
145 region->map_refcount++; in intel_region_map()
[all …]
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_regions.c112 intel_region_map(struct intel_context *intel, struct intel_region *region, in intel_region_map() argument
127 if (drm_intel_bo_busy(region->bo)) { in intel_region_map()
132 _DBG("%s %p\n", __FUNCTION__, region); in intel_region_map()
133 if (!region->map_refcount) { in intel_region_map()
136 if (region->tiling != I915_TILING_NONE) in intel_region_map()
137 drm_intel_gem_bo_map_gtt(region->bo); in intel_region_map()
139 drm_intel_bo_map(region->bo, true); in intel_region_map()
141 region->map = region->bo->virtual; in intel_region_map()
143 if (region->map) { in intel_region_map()
145 region->map_refcount++; in intel_region_map()
[all …]
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/texturepacker/
DTextureUnpacker.java89 for (Region region : atlas.getRegions()) { in splitAtlas()
90 ….println(String.format("Processing image for %s: x[%s] y[%s] w[%s] h[%s], rotate[%s]", region.name, in splitAtlas()
91 region.left, region.top, region.width, region.height, region.rotate)); in splitAtlas()
94 if (region.page == page) { in splitAtlas()
99 if (region.splits == null) { in splitAtlas()
100 splitImage = extractImage(img, region, outputDirFile, 0); in splitAtlas()
103 splitImage = extractNinePatch(img, region, outputDirFile); in splitAtlas()
108 … new File(outputDirFile, String.format("%s.%s", region.index == -1?region.name:region.name + "_" +… in splitAtlas()
132 …private BufferedImage extractImage (BufferedImage page, Region region, File outputDirFile, int pad… in extractImage() argument
136 if (region.rotate) { in extractImage()
[all …]
/external/ImageMagick/MagickCore/
Ddistribute-cache.c548 region; in ReadDistributeCacheMetacontent() local
565 length=sizeof(region.width)+sizeof(region.height)+sizeof(region.x)+ in ReadDistributeCacheMetacontent()
566 sizeof(region.y)+sizeof(length); in ReadDistributeCacheMetacontent()
571 (void) memcpy(&region.width,q,sizeof(region.width)); in ReadDistributeCacheMetacontent()
572 q+=sizeof(region.width); in ReadDistributeCacheMetacontent()
573 (void) memcpy(&region.height,q,sizeof(region.height)); in ReadDistributeCacheMetacontent()
574 q+=sizeof(region.height); in ReadDistributeCacheMetacontent()
575 (void) memcpy(&region.x,q,sizeof(region.x)); in ReadDistributeCacheMetacontent()
576 q+=sizeof(region.x); in ReadDistributeCacheMetacontent()
577 (void) memcpy(&region.y,q,sizeof(region.y)); in ReadDistributeCacheMetacontent()
[all …]
/external/webrtc/webrtc/modules/desktop_capture/
Dscreen_capturer_helper_unittest.cc24 DesktopRegion region(DesktopRect::MakeXYWH(1, 2, 3, 4)); in TEST_F() local
25 capturer_helper_.InvalidateRegion(region); in TEST_F()
27 capturer_helper_.TakeInvalidRegion(&region); in TEST_F()
28 EXPECT_TRUE(region.is_empty()); in TEST_F()
32 DesktopRegion region; in TEST_F() local
33 capturer_helper_.TakeInvalidRegion(&region); in TEST_F()
34 EXPECT_TRUE(region.is_empty()); in TEST_F()
36 region.SetRect(DesktopRect::MakeXYWH(1, 2, 3, 4)); in TEST_F()
37 capturer_helper_.InvalidateRegion(region); in TEST_F()
38 capturer_helper_.TakeInvalidRegion(&region); in TEST_F()
[all …]
/external/libchrome/base/trace_event/
Dprocess_memory_maps_dump_provider.cc27 ProcessMemoryMaps::VMRegion* region) { in ParseSmapsHeader() argument
35 &region->start_address, &end_addr, protection_flags, in ParseSmapsHeader()
39 if (end_addr > region->start_address) { in ParseSmapsHeader()
40 region->size_in_bytes = end_addr - region->start_address; in ParseSmapsHeader()
43 region->size_in_bytes = 0; in ParseSmapsHeader()
47 region->protection_flags = 0; in ParseSmapsHeader()
49 region->protection_flags |= in ParseSmapsHeader()
53 region->protection_flags |= in ParseSmapsHeader()
57 region->protection_flags |= in ParseSmapsHeader()
61 region->mapped_file = mapped_file; in ParseSmapsHeader()
[all …]
Dprocess_memory_maps.cc42 for (const auto& region : vm_regions_) { in AsValueInto() local
45 value->SetString("sa", StringPrintf(kHexFmt, region.start_address)); in AsValueInto()
46 value->SetString("sz", StringPrintf(kHexFmt, region.size_in_bytes)); in AsValueInto()
47 value->SetInteger("pf", region.protection_flags); in AsValueInto()
48 value->SetString("mf", region.mapped_file); in AsValueInto()
52 "pss", StringPrintf(kHexFmt, region.byte_stats_proportional_resident)); in AsValueInto()
54 "pd", StringPrintf(kHexFmt, region.byte_stats_private_dirty_resident)); in AsValueInto()
56 "pc", StringPrintf(kHexFmt, region.byte_stats_private_clean_resident)); in AsValueInto()
58 "sd", StringPrintf(kHexFmt, region.byte_stats_shared_dirty_resident)); in AsValueInto()
60 "sc", StringPrintf(kHexFmt, region.byte_stats_shared_clean_resident)); in AsValueInto()
[all …]
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/flame/
DTexturePanel.java31 for(TextureRegion region : unselectedRegions){ in TexturePanel()
32 if(isInsideRegion(region, x, y)){ in TexturePanel()
33 select(region); in TexturePanel()
38 for(TextureRegion region : selectedRegions){ in TexturePanel()
39 if(isInsideRegion(region, x, y)){ in TexturePanel()
40 unselect(region); in TexturePanel()
48 protected boolean isInsideRegion (TextureRegion region, float x, float y) { in isInsideRegion() argument
49 float rx = region.getRegionX(), ry = region.getRegionY(); in isInsideRegion()
50 return rx <= x && x <= rx +region.getRegionWidth() && in isInsideRegion()
51 ry <= y && y <= ry +region.getRegionHeight(); in isInsideRegion()
[all …]
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_screen_ioctl.c258 struct vmw_region *region; in vmw_ioctl_region_create() local
266 region = CALLOC_STRUCT(vmw_region); in vmw_ioctl_region_create()
267 if (!region) in vmw_ioctl_region_create()
282 region->ptr.gmrId = rep->cur_gmr_id; in vmw_ioctl_region_create()
283 region->ptr.offset = rep->cur_gmr_offset; in vmw_ioctl_region_create()
284 region->data = NULL; in vmw_ioctl_region_create()
285 region->handle = rep->handle; in vmw_ioctl_region_create()
286 region->map_handle = rep->map_handle; in vmw_ioctl_region_create()
287 region->map_count = 0; in vmw_ioctl_region_create()
288 region->size = size; in vmw_ioctl_region_create()
[all …]
Dvmw_context.c88 } region; member
142 for(i = 0; i < vswc->region.used; ++i) { in vmw_swc_flush()
143 struct vmw_region_relocation *reloc = &vswc->region.relocs[i]; in vmw_swc_flush()
178 for(i = 0; i < vswc->region.used + vswc->region.staged; ++i) { in vmw_swc_flush()
179 pb_reference(&vswc->region.relocs[i].buffer, NULL); in vmw_swc_flush()
182 vswc->region.used = 0; in vmw_swc_flush()
183 vswc->region.reserved = 0; in vmw_swc_flush()
222 vswc->region.used + nr_relocs > vswc->region.size) { in vmw_swc_reserve()
233 assert(vswc->region.used + nr_relocs <= vswc->region.size); in vmw_swc_reserve()
238 vswc->region.reserved = nr_relocs; in vmw_swc_reserve()
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/influencers/
DRegionInfluencer.java33 AspectTextureRegion region = regions.items[0]; in init() local
37 regionChannel.data[i +ParticleChannels.UOffset] = region.u; in init()
38 regionChannel.data[i +ParticleChannels.VOffset] = region.v; in init()
39 regionChannel.data[i +ParticleChannels.U2Offset] = region.u2; in init()
40 regionChannel.data[i +ParticleChannels.V2Offset] = region.v2; in init()
42 regionChannel.data[i +ParticleChannels.HalfHeightOffset] = region.halfInvAspectRatio; in init()
71 AspectTextureRegion region = regions.random(); in activateParticles() local
72 regionChannel.data[i +ParticleChannels.UOffset] = region.u; in activateParticles()
73 regionChannel.data[i +ParticleChannels.VOffset] = region.v; in activateParticles()
74 regionChannel.data[i +ParticleChannels.U2Offset] = region.u2; in activateParticles()
[all …]
/external/e2fsprogs/e2fsck/
Dregion.c36 region_t region; in region_create() local
38 region = malloc(sizeof(struct region_struct)); in region_create()
39 if (!region) in region_create()
41 memset(region, 0, sizeof(struct region_struct)); in region_create()
42 region->min = min; in region_create()
43 region->max = max; in region_create()
44 return region; in region_create()
47 void region_free(region_t region) in region_free() argument
51 for (r = region->allocated; r; r = next) { in region_free()
55 memset(region, 0, sizeof(struct region_struct)); in region_free()
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/utils/
DTextureRegionDrawable.java29 private TextureRegion region; field in TextureRegionDrawable
35 public TextureRegionDrawable (TextureRegion region) { in TextureRegionDrawable() argument
36 setRegion(region); in TextureRegionDrawable()
41 setRegion(drawable.region); in TextureRegionDrawable()
45 batch.draw(region, x, y, width, height); in draw()
50 batch.draw(region, x, y, originX, originY, width, height, scaleX, scaleY, rotation); in draw()
53 public void setRegion (TextureRegion region) { in setRegion() argument
54 this.region = region; in setRegion()
55 setMinWidth(region.getRegionWidth()); in setRegion()
56 setMinHeight(region.getRegionHeight()); in setRegion()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/bin/
Dglacier85 def connect(region, debug_level=0, access_key=None, secret_key=None): argument
87 layer2 = connect_to_region(region,
92 print('Invalid region (%s)' % region)
97 def list_vaults(region, access_key=None, secret_key=None): argument
98 layer2 = connect(region, access_key = access_key, secret_key = secret_key)
103 def list_jobs(vault_name, region, access_key=None, secret_key=None): argument
104 layer2 = connect(region, access_key = access_key, secret_key = secret_key)
108 def upload_files(vault_name, filenames, region, access_key=None, secret_key=None): argument
109 layer2 = connect(region, access_key = access_key, secret_key = secret_key)
139 region = 'us-east-1'
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/attributes/
DTextureAttribute.java53 public static TextureAttribute createDiffuse (final TextureRegion region) { in createDiffuse() argument
54 return new TextureAttribute(Diffuse, region); in createDiffuse()
61 public static TextureAttribute createSpecular (final TextureRegion region) { in createSpecular() argument
62 return new TextureAttribute(Specular, region); in createSpecular()
69 public static TextureAttribute createNormal (final TextureRegion region) { in createNormal() argument
70 return new TextureAttribute(Normal, region); in createNormal()
77 public static TextureAttribute createBump (final TextureRegion region) { in createBump() argument
78 return new TextureAttribute(Bump, region); in createBump()
85 public static TextureAttribute createAmbient (final TextureRegion region) { in createAmbient() argument
86 return new TextureAttribute(Ambient, region); in createAmbient()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCurrencyMetaInfo.java80 public final String region; field in CurrencyMetaInfo.CurrencyFilter
105 … private CurrencyFilter(String region, String currency, long from, long to, boolean tenderOnly) { in CurrencyFilter() argument
106 this.region = region; in CurrencyFilter()
140 public static CurrencyFilter onRegion(String region) { in onRegion() argument
141 return ALL.withRegion(region); in onRegion()
213 public CurrencyFilter withRegion(String region) { in withRegion() argument
214 return new CurrencyFilter(region, this.currency, this.from, this.to, this.tenderOnly); in withRegion()
225 return new CurrencyFilter(this.region, currency, this.from, this.to, this.tenderOnly); in withCurrency()
235 …return new CurrencyFilter(this.region, this.currency, date.getTime(), date.getTime(), this.tenderO… in withDate()
248 … return new CurrencyFilter(this.region, this.currency, fromLong, toLong, this.tenderOnly); in withDateRange()
[all …]
/external/autotest/client/site_tests/login_OobeLocalization/
Dlogin_OobeLocalization.py43 for region in self._get_regions():
47 if region.get('confirmed', True) is False:
49 region['region_code'])
55 self._set_vpd({'region': region['region_code'],
56 'initial_locale': ','.join(region['locales']),
57 'initial_timezone': ','.join(region['time_zones']),
58 'keyboard_layout': ','.join(region['keyboards'])})
59 self._run_with_chrome(self._run_localization_test, region)
77 def _run_localization_test(self, region): argument
81 initial_locale = ','.join(region['locales'])
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCurrencyMetaInfo.java83 public final String region; field in CurrencyMetaInfo.CurrencyFilter
111 … private CurrencyFilter(String region, String currency, long from, long to, boolean tenderOnly) { in CurrencyFilter() argument
112 this.region = region; in CurrencyFilter()
149 public static CurrencyFilter onRegion(String region) { in onRegion() argument
150 return ALL.withRegion(region); in onRegion()
229 public CurrencyFilter withRegion(String region) { in withRegion() argument
230 return new CurrencyFilter(region, this.currency, this.from, this.to, this.tenderOnly); in withRegion()
242 return new CurrencyFilter(this.region, currency, this.from, this.to, this.tenderOnly); in withCurrency()
253 …return new CurrencyFilter(this.region, this.currency, date.getTime(), date.getTime(), this.tenderO… in withDate()
267 … return new CurrencyFilter(this.region, this.currency, fromLong, toLong, this.tenderOnly); in withDateRange()
[all …]
/external/ImageMagick/MagickWand/
Dpixel-iterator.c79 region; member
126 iterator->region.width); in ClearPixelIterator()
128 iterator->pixel_wands=NewPixelWands(iterator->region.width); in ClearPixelIterator()
176 clone_iterator->region=iterator->region; in ClonePixelIterator()
180 iterator->pixel_wands,iterator->region.width); in ClonePixelIterator()
219 iterator->region.width); in DestroyPixelIterator()
329 SetGeometry(image,&iterator->region); in NewPixelIterator()
330 iterator->region.width=image->columns; in NewPixelIterator()
331 iterator->region.height=image->rows; in NewPixelIterator()
332 iterator->region.x=0; in NewPixelIterator()
[all …]
/external/v8/src/
Dtypes.h352 static TypeHandle type(Region* region) { \
353 return BitsetType::New(BitsetType::k##type, region); \
361 static TypeHandle SignedSmall(Region* region) { in SignedSmall() argument
362 return BitsetType::New(BitsetType::SignedSmall(), region); in SignedSmall()
367 static TypeHandle UnsignedSmall(Region* region) { in UnsignedSmall() argument
368 return BitsetType::New(BitsetType::UnsignedSmall(), region); in UnsignedSmall()
371 static TypeHandle Class(i::Handle<i::Map> map, Region* region) { in Class() argument
372 return ClassType::New(map, region); in Class()
374 static TypeHandle Constant(i::Handle<i::Object> value, Region* region) { in Constant() argument
375 return ConstantType::New(value, region); in Constant()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/
Dtest_connection.py84 https_connection_factory=None, region=None, path='/', argument
87 self.region = region
89 host = self.region.endpoint
218 self.region = RegionInfo(
232 'https://%s/' % self.region.endpoint,
236 conn = self.region.connect(aws_access_key_id='access_key',
243 'https://%s/' % self.region.endpoint,
247 os.environ['no_proxy'] = self.region.endpoint
249 conn = self.region.connect(aws_access_key_id='access_key',
264 'https://%s/' % self.region.endpoint,
[all …]

12345678910>>...41