Searched refs:region (Results 1 - 25 of 96) sorted by relevance

1234

/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DRegionIterator.java32 * of a region object.
35 Region region; field in class:RegionIterator
40 region = r;
49 RegionIterator r = new RegionIterator(region);
61 if (this.region != ri.region) {
62 throw new InternalError("region mismatch");
70 * Y range in the region returning true if one is found
77 if (curIndex >= region.endIndex) {
80 range[1] = region
[all...]
/openjdk7/jdk/src/solaris/native/java/util/
H A DTimeZone_md.h29 char *findJavaTZ_md(const char *java_home_dir, const char *region);
/openjdk7/jdk/src/windows/native/java/util/
H A DTimeZone_md.h29 char *findJavaTZ_md(const char *java_home_dir, const char *region);
/openjdk7/jdk/src/share/classes/sun/util/locale/
H A DBaseLocale.java44 private final String region; field in class:BaseLocale
50 private BaseLocale(String language, String region) { argument
53 this.region = region;
57 private BaseLocale(String language, String script, String region, String variant) { argument
60 this.region = (region != null) ? LocaleUtils.toUpperString(region).intern() : "";
66 public static BaseLocale createInstance(String language, String region) { argument
67 BaseLocale base = new BaseLocale(language, region);
72 getInstance(String language, String script, String region, String variant) argument
178 Key(String language, String region) argument
198 Key(String language, String script, String region, String variant) argument
202 Key(String language, String script, String region, String variant, boolean normalized) argument
[all...]
H A DInternalLocaleBuilder.java48 private String region = ""; field in class:InternalLocaleBuilder
83 public InternalLocaleBuilder setRegion(String region) throws LocaleSyntaxException { argument
84 if (LocaleUtils.isEmpty(region)) {
85 this.region = "";
87 if (!LanguageTag.isRegion(region)) {
88 throw new LocaleSyntaxException("Ill-formed region: " + region, 0);
90 this.region = region;
359 region
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthBorder.java92 Region region = Region.getRegion((JComponent)c);
94 if ((region == Region.ARROW_BUTTON || region == Region.BUTTON ||
95 region == Region.CHECK_BOX ||
96 region == Region.CHECK_BOX_MENU_ITEM ||
97 region == Region.MENU || region == Region.MENU_ITEM ||
98 region == Region.RADIO_BUTTON ||
99 region == Region.RADIO_BUTTON_MENU_ITEM ||
100 region
[all...]
H A DSynthContext.java45 private Region region; field in class:SynthContext
56 Region region, SynthStyle style,
78 context.reset(component, region, style, state);
104 * @param region Identifies the portion of the JComponent
107 * @throws NullPointerException if component, region of style is null.
109 public SynthContext(JComponent component, Region region, SynthStyle style, argument
111 if (component == null || region == null || style == null) {
113 "You must supply a non-null component, region and style");
115 reset(component, region, style, state);
120 * Returns the hosting component containing the region
55 getContext(Class type, JComponent component, Region region, SynthStyle style, int state) argument
178 reset(JComponent component, Region region, SynthStyle style, int state) argument
[all...]
H A DSynthMenuUI.java173 Region region = SynthLookAndFeel.getRegion(c);
174 return SynthContext.getContext(SynthContext.class, c, region,
178 SynthContext getContext(JComponent c, Region region) { argument
179 return getContext(c, region, getComponentState(c, region));
182 private SynthContext getContext(JComponent c, Region region, int state) { argument
184 region, accStyle, state);
205 private int getComponentState(JComponent c, Region region) { argument
H A DSynthSplitPaneUI.java216 SynthContext getContext(JComponent c, Region region) { argument
217 return getContext(c, region, getComponentState(c, region));
220 private SynthContext getContext(JComponent c, Region region, int state) { argument
221 if (region == Region.SPLIT_PANE_DIVIDER) {
222 return SynthContext.getContext(SynthContext.class, c, region,
225 return SynthContext.getContext(SynthContext.class, c, region,
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DEmergencySoundbank.java247 SF2InstrumentRegion region = new SF2InstrumentRegion();
248 region.setLayer(drums[i]);
249 region.putBytes(SF2InstrumentRegion.GENERATOR_KEYRANGE,
251 drum_instrument.getRegions().add(region);
302 SF2InstrumentRegion region = ins.getRegions().get(0);
303 region.putInteger(SF2Region.GENERATOR_INITIALFILTERFC, 80);
304 region.putInteger(SF2Region.GENERATOR_FINETUNE, 30);
305 region = ins.getRegions().get(1);
306 region.putInteger(SF2Region.GENERATOR_INITIALFILTERFC, 30);
355 SF2InstrumentRegion region
[all...]
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/
H A DMaskTile.java58 DirtyRegion region = new DirtyRegion();
59 region.setDirtyLineRegion(x1, y1, x2, y2);
60 int xDiff = region.x2 - region.x;
61 int yDiff = region.y2 - region.y;
64 addRect(region.x, region.y,
65 region.x2 - region
[all...]
H A DDirtyRegion.java33 * This class implements region tracking, used by the tiled-mask code.
84 DirtyRegion region = new DirtyRegion();
85 region.x = min(region1.x, region2.x);
86 region.y = min(region1.y, region2.y);
87 region.x2 = max(region1.x2, region2.x2);
88 region.y2 = max(region1.y2, region2.y2);
89 return region;
/openjdk7/jdk/src/share/native/sun/java2d/pipe/
H A DRegion.c66 Region_GetInfo(JNIEnv *env, jobject region, RegionData *pRgnInfo) argument
68 if (JNU_IsNull(env, region)) {
73 pRgnInfo->bounds.x1 = (*env)->GetIntField(env, region, loxID);
74 pRgnInfo->bounds.y1 = (*env)->GetIntField(env, region, loyID);
75 pRgnInfo->bounds.x2 = (*env)->GetIntField(env, region, hixID);
76 pRgnInfo->bounds.y2 = (*env)->GetIntField(env, region, hiyID);
77 pRgnInfo->endIndex = (*env)->GetIntField(env, region, endIndexID);
81 : (*env)->GetObjectField(env, region, bandsID));
86 Region_GetBounds(JNIEnv *env, jobject region, SurfaceDataBounds *b) argument
88 if (JNU_IsNull(env, region)) {
242 RegionToYXBandedRectangles(JNIEnv *env, jint x1, jint y1, jint x2, jint y2, jobject region, RECT_T ** pRect, unsigned int initialBufferSize) argument
[all...]
H A DRegion.h87 Region_GetInfo(JNIEnv *env, jobject region, RegionData *pRgnInfo);
99 Region_GetBounds(JNIEnv *env, jobject region, SurfaceDataBounds *b);
123 * which make up the region that intersect the current bounds.
210 jint x1, jint y1, jint x2, jint y2, jobject region,
/openjdk7/hotspot/src/share/vm/opto/
H A Dsplit_if.cpp34 Node *PhaseIdealLoop::split_thru_region( Node *n, Node *region ) {
37 assert( region->is_Region(), "" );
38 Node *r = new (C) RegionNode( region->req() );
40 for( uint i = 1; i < region->req(); i++ ) {
43 if( in0->in(0) == region ) x->set_req( 0, in0->in(i) );
46 if( get_ctrl(in) == region )
55 // Record region
56 r->set_req(0,region); // Not a TRUE RegionNode
401 Node *region = iff->in(0); local
402 Node *region_dom = idom(region);
[all...]
/openjdk7/jdk/test/javax/swing/plaf/synth/
H A DTest6660049.java85 private final Region region; field in class:Test6660049
91 this.region = new Region("Button", "ButtonUI", true) {
100 if (this.region != null) {
104 Region region = getRegion(type);
105 if (region == null) {
106 throw new Error("6849518: region is not initialized");
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/
H A DpsCompactionManager.inline.hpp42 ParallelCompactData::RegionData* const region_ptr = sd.region(index);
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftChannel/
H A DSoftTestUtils.java60 SF2LayerRegion region = new SF2LayerRegion();
61 region.putInteger(SF2Region.GENERATOR_SAMPLEMODES, 1);
62 region.setSample(sample);
63 layer.getRegions().add(region);
H A DNoteOverFlowTest2.java74 SF2LayerRegion region = new SF2LayerRegion();
75 region.setSample(sample);
76 layer.getRegions().add(region);
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftReceiver/
H A DSoftTestUtils.java60 SF2LayerRegion region = new SF2LayerRegion();
61 region.putInteger(SF2Region.GENERATOR_SAMPLEMODES, 1);
62 region.setSample(sample);
63 layer.getRegions().add(region);
/openjdk7/jdk/src/share/classes/sun/print/
H A DPSPathGraphics.java277 * print opaque region of transparent image
450 // if src region extends beyond the image, the "opaque" path
475 Rectangle2D region = shape.getBounds2D();
477 region.setRect(region.getX(), region.getY(),
478 region.getWidth()+0.001,
479 region.getHeight()+0.001);
483 // image size then scale down the region to fit in
486 int w = (int)region
637 redrawRegion(Rectangle2D region, double scaleX, double scaleY, Shape savedClip, AffineTransform savedTransform) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/
H A DGTKLookAndFeel.java217 static int synthStateToGTKState(Region region, int state) { argument
219 if (region == Region.RADIO_BUTTON
220 || region == Region.CHECK_BOX
221 || region == Region.MENU
222 || region == Region.MENU_ITEM
223 || region == Region.RADIO_BUTTON_MENU_ITEM
224 || region == Region.CHECK_BOX_MENU_ITEM
225 || region == Region.SPLIT_PANE) {
231 } else if (region == Region.TABBED_PANE_TAB) {
242 if (region
282 isText(Region region) argument
[all...]
H A DGTKIconFactory.java215 Region region = context.getRegion();
219 (region == Region.CHECK_BOX_MENU_ITEM ||
220 region == Region.RADIO_BUTTON_MENU_ITEM) ?
223 if (region == Region.CHECK_BOX || region == Region.RADIO_BUTTON) {
226 } else if (region == Region.CHECK_BOX_MENU_ITEM ||
227 region == Region.RADIO_BUTTON_MENU_ITEM) {
H A DGTKStyle.java595 * SCROLL_PANE region).
710 Region region = context.getRegion();
711 if (region == Region.COMBO_BOX ||
712 region == Region.DESKTOP_PANE ||
713 region == Region.DESKTOP_ICON ||
714 region == Region.EDITOR_PANE ||
715 region == Region.FORMATTED_TEXT_FIELD ||
716 region == Region.INTERNAL_FRAME ||
717 region == Region.LIST ||
718 region
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A DbufferingOopClosure.hpp164 HeapRegion* region = *hr_curr; local
165 if (region != hr_prev) {
166 _oc->set_region(region);
167 hr_prev = region;

Completed in 142 milliseconds

1234