/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/shadows/system/ |
BaseShadowSystem.java | 54 /** This class handles camera and texture region. 58 public TextureRegion region = new TextureRegion(); field in class:BaseShadowSystem.LightProperties 387 TextureRegion region = lp.region; 388 region.setTexture(frameBuffers[currentPass].getColorBufferTexture()); 394 region.setRegion(r.x, r.y, r.width, r.height);
|
/external/ImageMagick/MagickWand/ |
pixel-iterator.c | 82 region; 130 iterator->region.width); 132 iterator->pixel_wands=NewPixelWands(iterator->region.width); 181 clone_iterator->region=iterator->region; 185 iterator->pixel_wands,iterator->region.width); 225 iterator->region.width); 337 SetGeometry(image,&iterator->region); 338 iterator->region.width=image->columns; 339 iterator->region.height=image->rows 79 region; member in struct:_PixelIterator [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ArrayReference/ |
GetValuesTest.java | 204 ArrayRegion region = reply.getNextValueAsArrayRegion(); local 205 //System.err.println("length="+region.length); 206 byte arrayTag = region.getTag(); 209 logWriter.println("==> arrayLength = "+region.getLength()); 210 Value value_0 = region.getValue(0); 220 length, region.getLength()); 227 for (int i = 0; i < region.getLength(); i++) { 228 Value value = region.getValue(i);
|
SetValuesTest.java | 146 ArrayRegion region = reply.getNextValueAsArrayRegion(); local 147 assertEquals("Invalud returned array length,", length, region.getLength()); 148 for (int i = 0; i < region.getLength(); i++) { 149 Value value = region.getValue(i);
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/bin/ |
launch_instance | 128 parser.add_option("-r", "--region", help="Region (default us-east-1)", dest="region", default="us-east-1") 149 if r.name == options.region: 150 region = r variable 153 print("Region %s not found." % options.region) 155 ec2 = boto.connect_ec2(region=region)
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
BasicValueFactory.h | 47 const TypedValueRegion *region; member in class:clang::ento::LazyCompoundValData 50 : store(st), region(r) {} 53 const TypedValueRegion *getRegion() const { return region; } 57 const TypedValueRegion *region); 59 void Profile(llvm::FoldingSetNodeID& ID) { Profile(ID, store, region); } 173 const TypedValueRegion *region);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
ArrayBoundCheckerV2.cpp | 69 const MemRegion *region) { 71 switch (region->getKind()) { 79 region = cast<SubRegion>(region)->getSuperRegion(); 89 // some new logic here that reasons directly about memory region extents. 94 // memory access is within the extent of the base region. Since we 95 // have some flexibility in defining the base region, we can achieve 109 // before the first valid offset in the memory region. 254 /// Compute a raw byte offset from a base region. Used for array bounds 260 const MemRegion *region = location.getAsRegion() local [all...] |
/external/google-breakpad/src/client/windows/unittests/ |
exception_handler_test.cc | 396 // Test that an additional memory region can be included in the minidump. 421 // Add the memory region to the list of memory to be included. 430 // Read the minidump. Ensure that the memory region is present 436 const MinidumpMemoryRegion* region = local 438 ASSERT_TRUE(region); 440 EXPECT_EQ(kMemoryAddress, region->GetBase()); 441 EXPECT_EQ(kMemorySize, region->GetSize()); 444 EXPECT_EQ(0, memcmp(region->GetMemory(), memory, kMemorySize)); 449 // Test that a memory region that was previously registered 475 // Add the memory region to the list of memory to be included 494 const MinidumpMemoryRegion* region = local [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/assets/loaders/ |
BitmapFontLoader.java | 87 AtlasRegion region = atlas.findRegion(name);
local 89 if (region == null)
90 throw new GdxRuntimeException("Could not find font region " + name + " in atlas " + parameter.atlasName);
91 return new BitmapFont(file, region);
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/ |
MeshBuilder.java | 267 * (e.g. UV region, color, vertex transform) will remain unchanged. */
365 public void setUVRange (TextureRegion region) {
366 if (!(hasUVTransform = (region != null))) {
370 setUVRange(region.getU(), region.getV(), region.getU2(), region.getV2());
[all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/utils/ |
TiledDrawable.java | 33 public TiledDrawable (TextureRegion region) {
34 super(region);
45 TextureRegion region = getRegion();
local 46 float regionWidth = region.getRegionWidth(), regionHeight = region.getRegionHeight();
54 batch.draw(region, x, y, regionWidth, regionHeight);
59 Texture texture = region.getTexture();
60 float u = region.getU();
61 float v2 = region.getV2();
65 float v = region.getV(); [all...] |
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
GroupTest.java | 44 TextureRegion region;
field in class:GroupTest 56 region = new TextureRegion(new Texture(Gdx.files.internal("data/group-debug.png")));
140 batch.draw(region, getX(), getY(), getOriginX(), getOriginY(), getWidth(), getHeight(), getScaleX(), getScaleY(),
|
PolygonSpriteTest.java | 43 PolygonRegion region;
field in class:PolygonSpriteTest 53 region = loader.load(new TextureRegion(texture), Gdx.files.internal("data/tree.psh"));
65 PolygonSprite sprite = new PolygonSprite(region);
|
TextureAtlasTest.java | 59 AtlasRegion region = atlas.findRegion("badlogicsmall");
local 60 System.out.println("badlogicSmall original size: " + region.originalWidth + ", " + region.originalHeight);
61 System.out.println("badlogicSmall packed size: " + region.packedWidth + ", " + region.packedHeight);
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/extensions/ |
FreeTypeIncrementalTest.java | 75 TextureRegion region = font.getRegions().get(i); local 76 shapes.rect(x, y, region.getRegionWidth(), region.getRegionHeight()); 77 x += region.getRegionWidth() + 2; 85 TextureRegion region = font.getRegions().get(i); local 86 batch.draw(region, x, y); 87 x += region.getRegionWidth() + 2;
|
/external/libphonenumber/demo/src/com/google/phonenumbers/ |
PhoneNumberParserServlet.java | 50 * default country is a two-letter region code representing the country that we are expecting the 199 "UNKNOWN, an unknown region, and are considered invalid.</TD></TR>"); 210 String region = phoneUtil.getRegionCodeForNumber(number); local 211 appendLine("Phone Number region", region == null ? "" : region, output);
|
/external/libphonenumber/geocoder/src/com/google/i18n/phonenumbers/geocoding/ |
PhoneNumberOfflineGeocoder.java | 88 * Returns the customary display name in the given language for the given region. 122 String region = phoneUtil.getRegionCodeForCountryCode(number.getCountryCode()); local 125 copiedNumber = phoneUtil.parse(nationalNumber, region); 142 * region of the user. If the phone number is from the same region as the user, only a lower-level 143 * description will be returned, if one exists. Otherwise, the phone number's region will be 146 * <p>For example, for a user from the region "US" (United States), we would show "Mountain View, 148 * the United Kingdom (region "GB"), for the same number we may show "Mountain View, CA, United 155 * @param userRegion the region code for a given user. This region will be omitted from th [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
gen7_wm_surface_state.c | 113 assert(mcs_mt->region->tiling == I915_TILING_Y); 118 unsigned pitch_bytes = mcs_mt->region->pitch * mcs_mt->cpp; 127 assert ((mcs_mt->region->bo->offset & 0xfff) == 0); 130 surf->ss6.mcs_enabled.mcs_base_address = mcs_mt->region->bo->offset >> 12; 134 mcs_mt->region->bo, 342 gen7_set_surface_tiling(surf, intelObj->mt->region->tiling); 352 intelObj->mt->region->bo->offset + intelObj->mt->offset; /* reloc */ 357 surf->ss3.pitch = (intelObj->mt->region->pitch * intelObj->mt->cpp) - 1; 393 intelObj->mt->region->bo, intelObj->mt->offset, 496 * Sets up a surface state structure to point at the given region 508 struct intel_region *region = irb->mt->region; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_regions.c | 112 intel_region_map(struct intel_context *intel, struct intel_region *region, 115 /* We have the region->map_refcount controlling mapping of the BO because 127 if (drm_intel_bo_busy(region->bo)) { 132 _DBG("%s %p\n", __FUNCTION__, region); 133 if (!region->map_refcount) { 136 if (region->tiling != I915_TILING_NONE) 137 drm_intel_gem_bo_map_gtt(region->bo); 139 drm_intel_bo_map(region->bo, true); 141 region->map = region->bo->virtual 173 struct intel_region *region; local 201 struct intel_region *region; local 244 struct intel_region *region, *dummy; local 306 struct intel_region *region = *region_handle; local [all...] |
intel_regions.h | 62 GLuint refcount; /**< Reference count for region */ 67 GLubyte *map; /**< only non-NULL when region is actually mapped */ 70 uint32_t tiling; /**< Which tiling mode the region is in */ 77 /* Allocate a refcounted region. Pointers to regions should only be 93 intel_region_flink(struct intel_region *region, uint32_t *name); 137 intel_region_get_tile_masks(struct intel_region *region, 142 intel_region_get_aligned_offset(struct intel_region *region, uint32_t x, 163 struct intel_region *region; member in struct:__DRIimageRec
|
/external/mesa3d/src/mesa/state_tracker/ |
st_texture.c | 210 * \param x, y, w, h the region of interest of the 2D image. 261 * Upload data to a rectangular sub-region. Lots of choices how to do this: 342 struct pipe_box region; local 345 region.x = src->width0 / 2; 346 region.y = src->height0 / 2; 347 region.z = 0; 348 region.width = 1; 349 region.height = 1; 350 region.depth = 1; 352 xfer = pipe->get_transfer(pipe, src, 0, PIPE_TRANSFER_READ, ®ion); [all...] |
/external/skia/samplecode/ |
SampleDitherBitmap.cpp | 43 SkRegion region; local 53 return region.setPath(path, clip); // <-- !! DOWN !!
|
/external/webrtc/webrtc/modules/desktop_capture/win/ |
screen_capturer_win_magnifier.cc | 84 void ScreenCapturerWinMagnifier::Capture(const DesktopRegion& region) { 128 fallback_capturer_->Capture(region); 147 DesktopRegion region; local 149 last_frame->data(), current_frame->data(), ®ion); 150 helper_.InvalidateRegion(region);
|
/frameworks/base/libs/hwui/renderstate/ |
OffscreenBufferPool.h | 24 #include <ui/Region.h> 73 Region region; member in class:android::uirenderer::OffscreenBuffer
|
/frameworks/base/libs/hwui/tests/unit/ |
ClipAreaTests.cpp | 157 // region 164 ASSERT_EQ(ClipMode::Region, serializedClip->mode); 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))); 249 ASSERT_EQ(ClipMode::Region, resolvedClip->mode); 251 EXPECT_EQ(SkIRect::MakeLTRB(60, 20, 160, 200), clipRegion->region.getBounds()); 287 recordedClip.region.setPath(circlePath, SkRegion(SkIRect::MakeWH(100, 100))); 296 EXPECT_EQ(ClipMode::Region, resolvedClip->mode) 304 ClipArea::applyTransformToRegion(Matrix4::identity(), ®ion); local [all...] |