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

/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_InputMethod.cpp335 int layoutCount = ::GetKeyboardLayoutList(0, NULL) + 1; // +1 for user's preferred HKL local
336 HKL FAR * hKLList = (HKL FAR *)SAFE_SIZE_ARRAY_ALLOC(safe_Malloc, sizeof(HKL), layoutCount);
338 ::GetKeyboardLayoutList(layoutCount - 1, &(hKLList[1]));
343 for (int i = 0; i < layoutCount; i++) {
446 int layoutCount = ::GetKeyboardLayoutList(0, NULL); local
447 HKL FAR * hKLList = (HKL FAR *)SAFE_SIZE_ARRAY_ALLOC(safe_Malloc, sizeof(HKL), layoutCount);
449 ::GetKeyboardLayoutList(layoutCount, hKLList);
456 const char ** javaLocaleNames = (const char **)SAFE_SIZE_ARRAY_ALLOC(safe_Malloc, sizeof(char *), layoutCount);
458 for (; srcIndex < layoutCount; srcIndex++) {
/openjdk7/jdk/src/share/classes/java/awt/font/
H A DTextMeasurer.java145 int layoutCount = 0; field in class:TextMeasurer
504 if (layoutCount > 0 && !haveLayoutWindow) {
505 float avgLineLength = Math.max(layoutCharCount / layoutCount, 1);
615 layoutCount++;

Completed in 23 milliseconds