Searched defs:region (Results 1 - 25 of 57) sorted by relevance

123

/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/shared/
H A DimmutableSpace.hpp47 MemRegion region() const { return MemRegion(bottom(), end()); } function in class:ImmutableSpace
/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/share/classes/javax/swing/plaf/synth/
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 DSynthMenuItemUI.java177 SynthContext getContext(JComponent c, Region region) { argument
178 return getContext(c, region, getComponentState(c, region));
181 private SynthContext getContext(JComponent c, Region region, int state) { argument
183 region, accStyle, state);
204 private int getComponentState(JComponent c, Region region) { argument
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,
H A DSynthScrollBarUI.java192 private SynthContext getContext(JComponent c, Region region) { argument
193 return getContext(c, region, getComponentState(c, region));
196 private SynthContext getContext(JComponent c, Region region, int state) { argument
199 if (region == Region.SCROLL_BAR_THUMB) {
202 return SynthContext.getContext(SynthContext.class, c, region, style,
206 private int getComponentState(JComponent c, Region region) { argument
207 if (region == Region.SCROLL_BAR_THUMB && isThumbRollover() &&
H A DSynthToolBarUI.java185 private SynthContext getContext(JComponent c, Region region, SynthStyle style) { argument
186 return SynthContext.getContext(SynthContext.class, c, region,
187 style, getComponentState(c, region));
190 private SynthContext getContext(JComponent c, Region region, argument
192 return SynthContext.getContext(SynthContext.class, c, region,
196 private int getComponentState(JComponent c, Region region) { argument
H A DSynthSliderUI.java745 private int getComponentState(JComponent c, Region region) { argument
746 if (region == Region.SLIDER_THUMB && thumbActive &&c.isEnabled()) {
/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;
/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...]
H A DLanguageTag.java55 private String region = ""; // region subtag field in class:LanguageTag
146 * ["-" region]
162 * region = 2ALPHA ; ISO 3166-1 code
303 region = s;
421 String region = baseLocale.getRegion();
445 if (isRegion(region)) {
446 tag.region = canonicalizeRegion(region);
451 if (tag.language.equals("no") && tag.region
[all...]
/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 DSpanClipRenderer.c51 pRegionID = (*env)->GetFieldID(env, ric, "region",
163 jobject region; local
191 region = (*env)->GetObjectField(env, ri, pRegionID);
192 bandsArray = (*env)->GetObjectField(env, region, pBandsArrayID);
193 endIndex = (*env)->GetIntField(env, region, pEndIndexID);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/
H A DNimbusLookAndFeel.java66 /** Set of standard region names for UIDefaults Keys */
222 * Gets the style associated with the given component and region. This
223 * will never return null. If an appropriate component and region cannot
227 * @param r a non-null reference to the region of the component c
341 * @param region The Synth Region that is being registered. Such as Button, or
347 public void register(Region region, String prefix) { argument
348 defaults.register(region, prefix);
/openjdk7/jdk/src/share/classes/java/util/regex/
H A DMatcher.java55 * <i>region</i>. By default, the region contains all of the matcher's input.
56 * The region can be modified via the{@link #region region} method and queried
58 * methods. The way that the region boundaries interact with some pattern
119 * will match at these "hard" boundaries. Changing the region
198 * matcher's region are transparent to lookahead, lookbehind,
205 * matcher's region match anchors such as ^ and $.
292 * and sets its append position to zero. The matcher's region i
985 public Matcher region(int start, int end) { method in class:Matcher
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/
H A DpsCompactionManager.hpp93 // Indexes of recycled region stacks/overflow stacks
96 // region stack and drains it. These threads keep these region
98 // gets a second draining task, it pushed its current region stack
100 // region stack from the task. A thread that is executing a
102 // draining task, will get a region stack from _recycled_stack_index.
104 // Array of indexes into the array of region stacks.
106 // The index into _recycled_stack_index of the last region stack index
109 // The index into _recycled_stack_index of the last region stack index
163 // Pushes onto the region stac
197 steal(int queue_num, int* seed, size_t& region) argument
[all...]
/openjdk7/hotspot/src/share/vm/memory/
H A Dfilemap.cpp217 // Dump region to file.
219 void FileMapInfo::write_region(int region, char* base, size_t size, argument
222 struct FileMapInfo::FileMapHeader::space_info* si = &_header._space[region];
227 tty->print_cr("Shared file region %d: 0x%x bytes, addr 0x%x,"
228 " file offset 0x%x", region, size, base, _file_offset);
351 // Memory map a region in the address space.
372 // Memory map a region in the address space.
401 // Unmap a memory region in the address space.
/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/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/hotspot/src/share/vm/gc_interface/
H A DcollectedHeap.hpp399 // min_fill_size() is the smallest region that can be filled.
403 // region and has slightly less overhead.
411 static void fill_with_object(MemRegion region, bool zap = true) { argument
412 fill_with_object(region.start(), region.word_size(), zap);
418 // Some heaps may offer a contiguous region for shared non-blocking
420 // end fields defining the extent of the contiguous allocation region.)
/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...]
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWPathGraphics.java889 * print opaque region of transparent image
1065 // if src region extends beyond the image, the "opaque" path
1090 Rectangle2D region = shape.getBounds2D();
1092 region.setRect(region.getX(), region.getY(),
1093 region.getWidth()+0.001,
1094 region.getHeight()+0.001);
1098 // image size then scale down the region to fit in
1101 int w = (int)region
1330 redrawRegion(Rectangle2D region, double scaleX, double scaleY, Shape savedClip, AffineTransform savedTransform) argument
[all...]

Completed in 96 milliseconds

123