/external/libxslt/libxslt/ |
xsltlocale.c | 84 const char *region = NULL; local 134 region = (char *)xsltDefaultRegion((xmlChar *)localeName); 135 if (region == NULL) 139 *q++ = region[0]; 140 *q++ = region[1]; 154 const xmlChar *region = NULL; local 178 region = xsltDefaultRegion(localeName); 179 if (region == NULL) goto end; 181 strcpy(localeName + llen + 1, region); 196 /* region should be xmlChar, but gcc warns on all string assignments * 197 const char *region = NULL; local [all...] |
/frameworks/base/libs/ui/tests/region/ |
Android.mk | 5 region.cpp 12 LOCAL_MODULE:= test-region
|
/packages/apps/Mms/src/org/w3c/dom/smil/ |
SMILRegionInterface.java | 16 * Declares rendering surface for an element. See the region attribute 23 public void setRegion(SMILRegionElement region);
|
/packages/apps/Mms/src/com/android/mms/dom/smil/ |
SmilRegionMediaElementImpl.java | 36 NodeList regions = doc.getLayout().getElementsByTagName("region"); 37 SMILRegionElement region = null; local 39 region = (SMILRegionElement)regions.item(i); 40 if (region.getId().equals(this.getAttribute("region"))) { 41 mRegion = region; 48 public void setRegion(SMILRegionElement region) { 49 this.setAttribute("region", region.getId()); 50 mRegion = region; [all...] |
/packages/apps/Mms/src/com/android/mms/model/ |
RegionMediaModel.java | 34 RegionModel region) throws MmsException { 35 this(context, tag, null, null, uri, region); 39 String src, Uri uri, RegionModel region) throws MmsException { 41 mRegion = region; 45 String src, byte[] data, RegionModel region) { 47 mRegion = region; 51 String src, DrmWrapper wrapper, RegionModel region) 54 mRegion = region; 61 public void setRegion(RegionModel region) { 62 mRegion = region; [all...] |
/frameworks/base/graphics/java/android/graphics/ |
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) { 29 mNativeIter = nativeConstructor(region.ni()); 33 * Return the next rectangle in the region. If there are no more rectangles
|
/external/e2fsprogs/e2fsck/ |
region.c | 2 * region.c --- code which manages allocations within a region. 36 region_t region; local 38 region = malloc(sizeof(struct region_struct)); 39 if (!region) 41 memset(region, 0, sizeof(struct region_struct)); 42 region->min = min; 43 region->max = max; 44 return region; 47 void region_free(region_t region) [all...] |
/frameworks/base/core/jni/android/graphics/ |
Region.cpp | 41 static void Region_destructor(JNIEnv* env, jobject, SkRegion* region) { 42 SkASSERT(region); 43 delete region; 61 static jboolean Region_getBounds(JNIEnv* env, jobject, SkRegion* region, jobject rectBounds) { 62 GraphicsJNI::irect_to_jrect(region->getBounds(), env, rectBounds); 63 return !region->isEmpty(); 66 static jboolean Region_getBoundaryPath(JNIEnv* env, jobject, const SkRegion* region, SkPath* path) { 67 return region->getBoundaryPath(path); 77 static jboolean Region_op1(JNIEnv* env, jobject, SkRegion* dst, jobject rectObject, const SkRegion* region, int op) { 80 return dst->op(ir, *region, (SkRegion::Op)op) 177 SkRegion* region = new SkRegion; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
AndroidXmlCharacterMatcher.java | 26 import org.eclipse.jface.text.Region; 65 IStructuredDocumentRegion region = doc.getRegionAtCharacterOffset(offset); local 66 if (region == null) { 70 ITextRegion subRegion = region.getRegionAtCharacterOffset(offset); 74 ITextRegionList subRegions = region.getRegions(); 86 (subRegion.getStart() + region.getStartOffset() == offset)) { 91 region = doc.getRegionAtCharacterOffset(offset); 92 if (region == null) { 95 subRegion = region.getRegionAtCharacterOffset(offset); 101 subRegions = region.getRegions() 149 IStructuredDocumentRegion region = doc.getRegionAtCharacterOffset(offset); local 201 IStructuredDocumentRegion region = doc.getRegionAtCharacterOffset(start); local [all...] |
AndroidXmlAutoEditStrategy.java | 100 IStructuredDocumentRegion region = doc.getRegionAtCharacterOffset(textStart); local 101 if (region != null && region.getType().equals(XML_TAG_NAME)) { 176 } else if (region != null && region.getType().equals(XML_CONTENT)) { 197 String text = region.getText(); 198 int regionStart = region.getStartOffset(); 209 IStructuredDocumentRegion previous = region.getPrevious(); 242 IStructuredDocumentRegion next = region.getNext(); 354 IStructuredDocumentRegion region local 379 IStructuredDocumentRegion region = doc.getRegionAtCharacterOffset(start); local [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
RegionIteratorTest.java | 20 import android.graphics.Region; 33 args = {android.graphics.Region.class} 36 new RegionIterator(new Region()); 45 Region region = new Region(); local 46 region.set(1, 1, 10, 10); 49 RegionIterator regionIterator = new RegionIterator(region); 67 region.set(1, 1, 10, 10); 69 region.op(rect, Region.Op.UNION) [all...] |
/sdk/emulator/qtools/ |
trace_reader.h | 42 region_type *region; member in struct:TraceReader::symbol_entry 96 // but grows if needed. There is a separate region for each mmap 98 // files. In addition, there is a region for the main executable 149 // within each region because the symbols are sometimes shared 152 // region symbols in its destructor. We need to free only the 153 // regions and the array of region pointers. 155 // Each region is also reference-counted. The count is zero 156 // if no other processes are sharing this region. 226 void AddPredefinedRegion(region_type *region, const char *path, 229 void InitRegionSymbols(region_type *region, int nsymbols) 301 region_type *region = ptr->value; local 390 region_type *region = ptr->value; local 401 region_type *region = ptr->value; local 496 region_type *region = new region_type; local 534 region_type *region = new region_type; local 958 region_type *region = manager->regions[index]; local 1150 region_type *region = FindRegion(addr, manager->nregions, manager->regions); local 1261 region_type *region; local 1461 region_type *region = FindRegion(addr, manager->nregions, manager->regions); local [all...] |
/external/icu4c/tools/tzcode/ |
tzselect.ksh | 78 region= 199 # If there's more than one region, ask the user which one. 204 select region in $regions 206 case $region in 211 case $region in 215 region=$regions 218 # Determine TZ from country and region. 221 -v region="$region" \ 233 $1 == cc && $4 == region { print $3 [all...] |
/system/media/mca/filterfw/java/android/filterfw/core/ |
ShaderProgram.java | 170 public void setSourceRegion(Quad region) { 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) { [all...] |
/external/chromium/chrome/browser/chromeos/frame/ |
bubble_window.cc | 21 void SetRegionUnionWithPoint(int i, int j, GdkRegion* region) { 23 gdk_region_union_with_rect(region, &rect); 67 GdkRegion* region = gdk_region_rectangle(&rect0); local 68 gdk_region_union_with_rect(region, &rect1); 75 SetRegionUnionWithPoint(i, j, region); 84 SetRegionUnionWithPoint(i, j, region); 93 SetRegionUnionWithPoint(i, j, region); 102 SetRegionUnionWithPoint(i, j, region); 107 gdk_window_shape_combine_region(window_contents()->window, region, 109 gdk_region_destroy(region); [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Region_Delegate.java | 33 * Delegate implementing the native methods of android.graphics.Region 35 * Through the layoutlib_create tool, the original native methods of Region have been replaced 40 * it and the original Region class. 42 * This also serve as a base class for all Region delegate classes. 70 * to the given {@link Region.Op}. 80 if (regionOp == Region.Op.DIFFERENCE.nativeInt) { 91 } else if (regionOp == Region.Op.INTERSECT.nativeInt) { 102 } else if (regionOp == Region.Op.UNION.nativeInt) { 113 } else if (regionOp == Region.Op.XOR.nativeInt) { 124 } else if (regionOp == Region.Op.REVERSE_DIFFERENCE.nativeInt) 331 Region_Delegate region = sManager.getDelegate(native_region); local 351 Region_Delegate region = sManager.getDelegate(native_region); local 373 Region_Delegate region = sManager.getDelegate(native_dst); local 391 Region_Delegate region = sManager.getDelegate(native_dst); local 474 Region_Delegate region = sManager.getDelegate(native_region); local [all...] |
/frameworks/base/include/private/ui/ |
RegionHelper.h | 49 struct region { struct in class:android::region_operator 54 inline region(const region& rhs) function in struct:android::region_operator::region 56 inline region(RECT const* r, size_t c) function in struct:android::region_operator::region 58 inline region(RECT const* r, size_t c, TYPE dx, TYPE dy) function in struct:android::region_operator::region 69 inline region_operator(int op, const region& lhs, const region& rhs) 156 region lhs; 157 region rhs; 160 inline Spanner(const region& lhs, const region& rhs [all...] |
/external/webkit/Source/WebCore/platform/graphics/gpu/ |
LoopBlinnSolidFillShader.cpp | 36 LoopBlinnShader::Region region, 39 VertexType type = (region == Interior) ? LoopBlinnInterior : LoopBlinnExterior;
|
/external/llvm/lib/Target/MBlaze/Disassembler/ |
MBlazeDisassembler.h | 45 const MemoryObject ®ion,
|
/external/qemu/android/skin/ |
composer.h | 16 #include "android/skin/region.h" 34 SkinRegion region[1]; /* the plate's region */ member in struct:SkinPlateAny 35 char isVisible; /* flag: TRUE iff the region is visible */ 36 char isOpaque; /* flag: TRUE iff the region is opaque */ 40 typedef void (*SkinPlateDrawFunc)( void* user, SkinRegion* region, SkinPos* apos, SkinViewport* viewport, int opaque ); 74 SkinRegion* region, 84 extern void skin_plate_invalidate( SkinPlate* plate, SkinRegion* region );
|
/external/webkit/Source/WebCore/platform/gtk/ |
GtkPluginWidget.cpp | 91 event->expose.region = gdk_region_rectangle(&event->expose.area); 93 event->expose.region = cairo_region_create_rectangle(&event->expose.area); 105 if (!gdk_region_empty(event->expose.region)) 107 if (!cairo_region_is_empty(event->expose.region))
|
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/ |
MappingFileProvider.java | 151 * @param region two-letter uppercase ISO country codes as defined by ISO 3166-1 154 String getFileName(int countryCallingCode, String language, String script, String region) { 164 String languageCode = findBestMatchingLanguageCode(setOfLangs, language, script, region); 175 Set<String> setOfLangs, String language, String script, String region) { 176 StringBuilder fullLocale = constructFullLocale(language, script, region); 188 if (onlyOneOfScriptOrRegionIsEmpty(script, region)) { 192 } else if (script.length() > 0 && region.length() > 0) { 199 StringBuilder langWithRegion = new StringBuilder(language).append('_').append(region); 212 private boolean onlyOneOfScriptOrRegionIsEmpty(String script, String region) { 213 return (script.length() == 0 && region.length() > 0) | [all...] |
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
TransparencyWin.h | 62 // Valid only with KeepTransform and ScaleTransform. The region being 63 // drawn onto must be opaque, since the modified region will be forced 127 // |region| is expressed relative to the current transformation. 136 const IntRect& region); 179 void setupTransform(const IntRect& region); 180 void setupTransformForKeepTransform(const IntRect& region); 189 // Fixes the alpha channel to make the region inside m_transformedRect 211 // of the region we're using in the source.
|
/frameworks/base/tools/localize/ |
Configuration.cpp | 50 split_locale(const string& in, string* language, string* region) 56 region->clear(); 66 region->assign(in.c_str()+3, 2);
|
/external/webkit/Source/WebCore/platform/graphics/android/ |
GLExtras.cpp | 91 void GLExtras::drawRegion(const SkRegion& region, bool fill, 94 if (region.isEmpty()) 97 SkRegion::Iterator rgnIter(region); 112 if (!region.getBoundaryPath(&path)) 162 SkRegion region; local 166 region.setRect(rect); 168 region.op(rect, SkRegion::kUnion_Op); 170 drawRegion(region, m_ring->m_isPressed, !m_ring->m_isButton, false); 185 const SkRegion& region = info.getLocation(); local 186 SkIRect rect = region.getBounds() [all...] |