Searched refs:opacity (Results 1 - 25 of 26) sorted by relevance

12

/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/plaf/nimbus/
H A DShadowEffect.java37 protected float opacity = 0.75f; field in class:ShadowEffect
60 return opacity;
63 void setOpacity(float opacity) { argument
65 this.opacity = opacity;
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/peer/
H A DWindowPeer.java96 * Sets the level of opacity for the window.
97 * @param opacity the level of opacity
100 void setOpacity(float opacity); argument
/openjdk10/jdk/src/java.desktop/windows/classes/sun/awt/windows/
H A DWWindowPeer.java210 float opacity = ((Window)target).getOpacity();
211 if (opacity < 1.0f) {
212 setOpacity(opacity);
710 private float opacity = 1.0f; field in class:WWindowPeer
713 public void setOpacity(float opacity) { argument
720 if (opacity < 0.0f || opacity > 1.0f) {
722 "The value of opacity should be in the range [0.0f .. 1.0f].");
725 if (((this.opacity == 1.0f && opacity < 1.
[all...]
H A DWPrintDialogPeer.java188 public void setOpacity(float opacity) {} argument
H A DWFileDialogPeer.java316 public void setOpacity(float opacity) {} argument
/openjdk10/jdk/test/javax/swing/JWindow/ShapedAndTranslucentWindows/
H A DCommon.java44 float opacity = 1.0f; field in class:Common
55 public Common(Class windowClass, float opacity, float perPixelTranslucency, boolean gradient) throws Exception { argument
58 this.opacity = opacity;
212 if (opacity < 1.0f){
285 if (opacity < 1.0f)
286 window.setOpacity(opacity);
360 Color colorWithOpacity(Color color, float opacity) { argument
361 return new Color(color.getColorSpace(), color.getColorComponents(null), opacity);
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/awt/
H A DAWTUtilities.java132 * Returns whether the windowing system supports changing the opacity
147 * Set the opacity of the window. The opacity is at the range [0..1].
148 * Note that setting the opacity level of 0 may or may not disable
157 * when setting the opacity value &lt; 1.0f. Otherwise
160 * @param window the window to set the opacity level to
161 * @param opacity the opacity level to set to the window
163 * @throws IllegalArgumentException if the opacity is out of
166 * and the opacity i
170 setWindowOpacity(Window window, float opacity) argument
[all...]
/openjdk10/jdk/test/java/awt/Window/ShapedAndTranslucentWindows/
H A DCommon.java44 float opacity = 1.0f; field in class:Common
55 public Common(Class windowClass, float opacity) throws Exception{ argument
56 this.opacity = opacity;
219 if (opacity < 1.0f){
246 if (opacity < 1.0f){
304 if (opacity < 1.0f)
305 window.setOpacity(opacity);
/openjdk10/jdk/src/java.desktop/macosx/classes/sun/lwawt/
H A DPlatformWindow.java138 public void setOpacity(float opacity); argument
H A DLWWindowPeer.java149 // this.opacity = c.getAlpha();
197 final float opacity = getTarget().getOpacity();
198 if (opacity < 1.0f) {
199 setOpacity(opacity);
460 public void setOpacity(float opacity) { argument
461 getPlatformWindow().setOpacity(opacity);
/openjdk10/jdk/src/java.desktop/macosx/classes/sun/lwawt/macosx/
H A DCViewPlatformEmbeddedFrame.java177 public void setOpacity(float opacity) { argument
H A DCPlatformLWWindow.java154 public void setOpacity(float opacity) { argument
H A DCPlatformEmbeddedFrame.java168 public void setOpacity(float opacity) {} argument
H A DCFileDialog.java190 public void setOpacity(float opacity) { argument
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/
H A DWindow.java342 * The opacity level of the window
349 private volatile float opacity = 1.0f; field in class:Window
3112 opacity = (Float)f.get("opacity", 1.0f);
3568 * Returns the opacity of the window.
3570 * @return the opacity of the window
3578 return opacity;
3582 * Sets the opacity of the window.
3584 * The opacity value is in the range [0..1]. Note that setting the opacity
3631 setOpacity(float opacity) argument
[all...]
H A DFrame.java908 * {@code false}, and this frame opacity is less than {@code 1.0f}
960 public void setOpacity(float opacity) { argument
962 if ((opacity < 1.0f) && !isUndecorated()) {
965 super.setOpacity(opacity);
H A DDialog.java1248 * {@code false}, and this dialog opacity is less than {@code 1.0f}
1299 public void setOpacity(float opacity) { argument
1301 if ((opacity < 1.0f) && !isUndecorated()) {
1304 super.setOpacity(opacity);
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/plaf/basic/
H A DBasicInternalFrameTitlePane.java964 Object opacity = UIManager.get(opacityKey);
965 if (opacity instanceof Boolean) {
966 setOpaque(((Boolean)opacity).booleanValue());
/openjdk10/jdk/src/java.desktop/share/classes/sun/awt/
H A DEmbeddedFrame.java564 public void setOpacity(float opacity) { argument
H A DAWTAccessor.java293 * Get opacity level of the given window.
297 * Set opacity level to the given window.
299 void setOpacity(Window window, float opacity); argument
/openjdk10/jdk/src/java.desktop/unix/classes/sun/awt/X11/
H A DXWindowPeer.java457 // float opacity = ((Window)target).getOpacity();
458 float opacity = AWTAccessor.getWindowAccessor().getOpacity((Window)target);
459 if (opacity < 1.0f) {
460 setOpacity(opacity);
2386 public void setOpacity(float opacity) { argument
2388 long iOpacity = (long)(opacity * maxOpacity);
/openjdk10/jdk/src/java.desktop/windows/native/libawt/windows/
H A Dawt_Window.h282 BYTE m_opacity; // The opacity level. == 0xff by default (when opacity mode is disabled)
298 void SetTranslucency(BYTE opacity, BOOL opaque, BOOL setValues = TRUE,
H A Dawt_Window.cpp941 BYTE opacity = ((int)0xFF * local
946 RGB(0, 0, 0), opacity, LWA_ALPHA);
2738 void AwtWindow::SetTranslucency(BYTE opacity, BOOL opaque, BOOL setValues, argument
2744 if (opacity == old_opacity && opaque == old_opaque) {
2749 m_opacity = opacity;
2765 if (opaque && opacity == 0xff) {
2776 if ((opaque && opacity < 0xff) ^ (old_opaque && old_opacity < 0xff)) {
2779 // If both modes are simple (i.e. just changing the opacity level),
2787 // Simple opacity mode
2788 ::SetLayeredWindowAttributes(hwnd, RGB(0, 0, 0), opacity, LWA_ALPH
[all...]
/openjdk10/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/jquery/
H A Djquery-1.10.2.js3340 a.style.cssText = "top:1px;float:left;opacity:.5";
3364 // Make sure that element opacity exists
3367 support.opacity = /^0.5/.test( a.style.opacity );
6796 ropacity = /opacity\s*=\s*([^)]*)/,
6948 opacity: {
6951 // We should always get a number back from opacity
6952 var ret = curCSS( elem, "opacity" );
6965 "opacity": true,
7334 if ( !jQuery.support.opacity ) {
[all...]
/openjdk10/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/jquery/external/jquery/
H A Djquery.js3340 a.style.cssText = "top:1px;float:left;opacity:.5";
3364 // Make sure that element opacity exists
3367 support.opacity = /^0.5/.test( a.style.opacity );
6796 ropacity = /opacity\s*=\s*([^)]*)/,
6948 opacity: {
6951 // We should always get a number back from opacity
6952 var ret = curCSS( elem, "opacity" );
6965 "opacity": true,
7334 if ( !jQuery.support.opacity ) {
[all...]

Completed in 212 milliseconds

12