Searched refs:cgContext (Results 1 - 4 of 4) sorted by relevance

/openjdk7/jdk/src/macosx/classes/apple/laf/
H A DJRSUIFocus.java38 private static native int beginNativeFocus(final long cgContext, final int ringStyle); argument
39 private static native int endNativeFocus(final long cgContext); argument
41 final long cgContext; field in class:JRSUIFocus
42 public JRSUIFocus(final long cgContext) { argument
43 this.cgContext = cgContext;
47 testForFailure(beginNativeFocus(cgContext, ringStyle));
51 testForFailure(endNativeFocus(cgContext));
H A DJRSUIControl.java45 private static native int paintToCGContext (long cgContext, long cfDictionaryPtr, long oldProperties, long newProperties, double x, double y, double w, double h); argument
46 private static native int paintChangesToCGContext (long cgContext, long cfDictionaryPtr, long oldProperties, long newProperties, double x, double y, double w, double h, long byteBufferPtr); argument
242 public void paint(final long cgContext, final double x, final double y, final double w, final double h) { argument
243 paintToCGContext(cgContext, x, y, w, h);
247 private synchronized int paintToCGContext(final long cgContext, final double x, final double y, final double w, final double h) { argument
250 return paintToCGContext(cgContext, cfDictionaryPtr, priorEncodedProperties, currentEncodedProperties, x, y, w, h);
259 return paintChangesToCGContext(cgContext, cfDictionaryPtr, priorEncodedProperties, currentEncodedProperties, x, y, w, h, localByteBuffer.ptr);
274 return paintChangesToCGContext(cgContext, cfDictionaryPtr, priorEncodedProperties, currentEncodedProperties, x, y, w, h, localByteBuffer.ptr);
/openjdk7/jdk/src/macosx/native/com/apple/laf/
H A DJRSUIFocus.m40 (JNIEnv *env, jclass clazz, jlong cgContext, jint ringStyle)
42 if (cgContext == 0L) return apple_laf_JRSUIFocus_NULL_CG_REF;
43 CGContextRef cgRef = (CGContextRef)jlong_to_ptr(cgContext);
55 (JNIEnv *env, jclass clazz, jlong cgContext)
57 if (cgContext == 0L) return apple_laf_JRSUIFocus_NULL_CG_REF;
58 CGContextRef cgRef = (CGContextRef)jlong_to_ptr(cgContext);
/openjdk7/jdk/src/macosx/classes/sun/java2d/
H A DOSXSurfaceData.java1030 public void drawIntoCGContext(final long cgContext); argument

Completed in 36 milliseconds