Searched refs:style (Results 151 - 175 of 205) sorted by relevance

123456789

/openjdk7/jdk/src/solaris/classes/sun/awt/motif/
H A DMFontConfiguration.java265 public String getMotifFontSet(String fontName, int style) { argument
269 int styleIndex = getStyleIndex(style);
H A DMToolkit.java346 public FontPeer getFontPeer(String name, int style){ argument
347 return new MFontPeer(name, style);
543 * Returns a style map for the input method highlight.
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/
H A DGTKStyle.java75 * Backing style properties that are used if the style does not
81 * The font used for this particular style, as determined at
89 /** The x/y thickness values for this particular style. */
186 * Returns color specific to the current style. This method is
557 // "scrollbar-spacing" style property to determine the padding
998 private SynthStyle style; field in class:GTKStyle.GTKStockIcon
1041 SynthStyle style = context.getStyle();
1043 if (style != this.style) {
[all...]
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Frame.cpp236 DWORD style; local
244 style = WS_POPUP|WS_CLIPCHILDREN;
248 style = WS_CLIPCHILDREN;
253 style = WS_POPUP | WS_SYSMENU | WS_CLIPCHILDREN |
261 style = WS_OVERLAPPEDWINDOW | WS_CLIPCHILDREN;
279 style,
627 LONG style = GetStyle(); local
628 DASSERT(style & WS_MAXIMIZE);
629 style ^= WS_MAXIMIZE;
630 SetStyle(style);
[all...]
H A Dawt_Scrollbar.cpp131 DWORD style = WS_CHILD | WS_CLIPSIBLINGS | local
139 c->CreateHWnd(env, L"", style, 0,
H A Dawt_Component.h305 INLINE virtual void SetStyle(LONG style) { argument
309 DWORD ret = ::SetWindowLong(GetHWnd(), GWL_STYLE, style);
316 INLINE virtual void SetStyleEx(LONG style) { argument
320 DWORD ret = ::SetWindowLong(GetHWnd(), GWL_EXSTYLE, style);
H A Dawt_Font.h86 /* int style field of java.awt.Font */
152 * Creates the specified font. name names the font. style is a bit
153 * vector that describes the style of the font. height is the point
158 static HFONT CreateHFont(WCHAR* name, int style, int height,
H A Dawt_Window.cpp400 * lpwc->style |= CS_SAVEBITS; // improve pull-down menu performance
624 lpwc->style = 0L;
1031 void AwtWindow::TweakStyle(DWORD & style, DWORD & exStyle) argument
1038 style &= ~WS_OVERLAPPED;
1039 style |= WS_POPUP;
1074 DWORD style = WS_CLIPCHILDREN | WS_POPUP; local
1088 style, exStyle,
1351 LONG style = GetStyle(); local
1352 if (style & WS_THICKFRAME) {
1944 LONG style local
2210 LONG style = static_cast<LONG>(::GetWindowLongPtr(foregroundSearch, GWL_STYLE)); local
[all...]
H A Dawt_Font.cpp393 static HFONT CreateHFont_sub(LPCWSTR name, int style, int height, argument
413 // Set style
414 logFont.lfWeight = (style & java_awt_Font_BOLD) ? FW_BOLD : FW_NORMAL;
415 logFont.lfItalic = (style & java_awt_Font_ITALIC) != 0;
416 logFont.lfUnderline = 0;//(style & java_awt_Font_UNDERLINE) != 0;
455 HFONT AwtFont::CreateHFont(WCHAR* name, int style, int height, argument
462 wsprintf(longName, L"%ls-%d-%d", name, style, height);
475 hFont = CreateHFont_sub(name, style, height, angle, awScale);
968 AwtFont::styleID = env->GetFieldID(cls, "style", "I");
/openjdk7/jdk/src/share/classes/java/text/
H A DSimpleDateFormat.java650 throw new IllegalArgumentException("No date or time style specified");
1096 int style = (count >= 4) ? Calendar.LONG : Calendar.SHORT;
1098 current = calendar.getDisplayName(field, style, locale);
1125 zeroPaddingNumber(value, style == Calendar.LONG ? 1 : count,
1837 int style = (count >= 4) ? Calendar.LONG : Calendar.SHORT;
1838 Map<String, Integer> map = calendar.getDisplayNames(field, style, locale);
1877 // while pattern uses numeric style: M or MM.
1937 for (int style : styles) {
1938 Map<String,Integer> map = calendar.getDisplayNames(field, style, locale);
/openjdk7/jdk/src/share/demo/jfc/Font2DTest/
H A DFontPanel.java230 int style, int transform) {
231 setFontParams( (String)obj, size, style, transform );
235 int style, int transform) {
237 if ( !name.equals( fontName ) || style != fontStyle )
242 fontStyle = style;
386 String name, float size, int style,
400 setFontParams( name, size, style, transform );
229 setFontParams(Object obj, float size, int style, int transform) argument
234 setFontParams(String name, float size, int style, int transform) argument
385 loadOptions( boolean grid, boolean force16, int start, int end, String name, float size, int style, int transform, int g2transform, int text, int method, int aa, int fm, int contrast, String user[] ) argument
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsLookAndFeel.java117 private transient LayoutStyle style; field in class:WindowsLookAndFeel
625 // from the current visual style.
1991 * component UI delegates as a hint to determine which style the component
2031 LayoutStyle style = this.style;
2032 if (style == null) {
2033 style = new WindowsLayoutStyle();
2034 this.style = style;
2036 return style;
[all...]
/openjdk7/jdk/src/share/classes/sun/font/
H A DTrueTypeFont.java178 * - determines the style of the font.
952 * to determine the style. In the unlikely case that doesn't exist,
983 /* No style specified. Try using the font name algorithm */
989 style = Font.ITALIC;
996 style = Font.PLAIN;
998 style = Font.BOLD;
1002 style = Font.BOLD|Font.ITALIC;
1644 * Bold (no other style) fonts :
1669 if (style == Font.BOLD) {
1684 " style
[all...]
H A DFileFont.java115 public boolean canDoStyle(int style) { argument
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWPathGraphics.java711 int style = font.getStyle() | font2D.getStyle();
712 if (!wPrinterJob.setFont(family, scaledFontSizeY, style,
750 int style = font.getStyle() | slotFont.getStyle();
751 if (!wPrinterJob.setFont(family, scaledFontSizeY, style,
785 int style = font.getStyle() | font2D.getStyle();
787 boolean setFont = wPrinterJob.setFont(family, deviceSize, style,
1479 /* check for default style and try to optimize it by
1622 /* call native function that creates pen with style */
1634 * if it's round end (Windows' default style)
H A DWPrinterJob.java1053 protected boolean setFont(String family, float size, int style, argument
1060 style != mLastFontStyle ||
1067 (style & Font.BOLD) != 0,
1068 (style & Font.ITALIC) != 0,
1073 mLastFontStyle = style;
/openjdk7/jdk/src/macosx/native/sun/font/
H A DCGGlyphImages.m407 CGGI_SizeCanvas(CGGI_GlyphCanvas *canvas, const vImagePixelCount width, const vImagePixelCount height, const JRSFontRenderingStyle style)
422 JRSFontSetRenderingStyleOnContext(canvas->context, style);
561 JRSFontRenderingStyle style = JRSFontAlignStyleForFractionalMeasurement(strike->fStyle);
564 JRSFontGetBoundingBoxesForGlyphsAndStyle(fallback, &tx, style, &glyph, 1, &bbox);
/openjdk7/jdk/src/share/classes/sun/awt/
H A DHToolkit.java333 public FontPeer getFontPeer(String name, int style) { argument
H A DFontConfiguration.java578 // Methods for handling font and style names //
612 * Checks whether the given style name is a valid logical font style name.
665 protected static int getStyleIndex(int style) { argument
666 switch (style) {
690 * family name and style.
691 * The style argument is interpreted as in java.awt.Font.Font.
693 public static String getLogicalFontFaceName(String familyName, int style) { argument
695 return familyName.toLowerCase(Locale.ENGLISH) + "." + getStyleString(style);
700 * for the given style
703 getStyleString(int style) argument
851 getFontDescriptors(String fontName, int style) argument
[all...]
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_util.h234 XIMCaretStyle style; member in struct:_PreeditBufferRec
H A Dawt_InputMethod.c1042 * root-window style status is used.
1073 * root-window style status is used.
1264 jintArray style = NULL; local
1298 style = (*env)->NewIntArray(env, text->length);
1299 if (JNU_IsNull(env, style)) {
1308 (*env)->SetIntArrayRegion(env, style, 0,
1318 (*env)->SetIntArrayRegion(env, style, 0,
1327 style,
/openjdk7/jdk/test/java/awt/Toolkit/Headless/ExceptionContract/
H A DExceptionContract.java222 protected FontPeer getFontPeer(String name, int style) { argument
/openjdk7/langtools/test/tools/javac/T5090006/
H A Dbroken.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/framework/ junit/framework/Assert.class Assert. ...
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/
H A DSynthPainterImpl.java41 private NimbusStyle style; field in class:SynthPainterImpl
43 SynthPainterImpl(NimbusStyle style) { argument
44 this.style = style;
99 Painter backgroundPainter = style.getBackgroundPainter(ctx);
108 Painter foregroundPainter = style.getForegroundPainter(ctx);
116 Painter borderPainter = style.getBorderPainter(ctx);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthGraphicsUtils.java82 * <p>This implementation supports only one line style key,
83 * <code>"dashed"</code>. The <code>"dashed"</code> line style is applied
96 * @param styleKey identifies the requested style of the line (e.g. "dashed")
491 SynthStyle style = context.getStyle();
492 g.setFont(style.getFont(context));

Completed in 264 milliseconds

123456789