Searched refs:refrate (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jdk/src/macosx/native/sun/awt/
H A DCGraphicsDevice.m56 static CGDisplayModeRef getBestModeForParameters(CFArrayRef allModes, int w, int h, int bpp, int refrate) {
73 if (refrate == 0) { // REFRESH_RATE_UNKNOWN
79 if (CGDisplayModeGetRefreshRate(cRef) == refrate) {
96 jint h, w, bpp, refrate;
100 refrate = CGDisplayModeGetRefreshRate(mode);
106 ret = JNFNewObject(env, jc_DisplayMode_ctor, w, h, bpp, refrate);
198 (JNIEnv *env, jclass class, jint displayID, jint w, jint h, jint bpp, jint refrate)
202 CGDisplayModeRef closestMatch = getBestModeForParameters(allModes, (int)w, (int)h, (int)bpp, (int)refrate);
/openjdk7/jdk/src/macosx/classes/sun/awt/
H A DCGraphicsDevice.java254 private static native void nativeSetDisplayMode(int displayID, int w, int h, int bpp, int refrate); argument

Completed in 2878 milliseconds