Searched defs:when (Results 26 - 46 of 46) sorted by relevance

12

/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DScreenMenu.java125 * Callback from JavaMenuUpdater.m -- called when menu first opens
150 * Callback from JavaMenuUpdater.m -- called when menu closes.
177 * Callback from JavaMenuUpdater.m -- called when menu item is hilighted.
192 * Callback from JavaMenuUpdater.m -- called when mouse event happens on the menu.
194 public void handleMouseEvent(final int kind, final int x, final int y, final int modifiers, final long when) { argument
218 LWToolkit.postEvent(new MouseEvent(fLastMouseEventTarget, MouseEvent.MOUSE_EXITED, when, modifiers, x - fLastTargetRect.x, y - fLastTargetRect.y, 0, false));
222 LWToolkit.postEvent(new MouseEvent(target, MouseEvent.MOUSE_ENTERED, when, modifiers, x - targetRect.x, y - targetRect.y, 0, false));
229 LWToolkit.postEvent(new MouseEvent(target, kind, when, modifiers, x - targetRect.x, y - targetRect.y, 0, false));
275 * Invoked when a component has been added to the container.
282 * Invoked when
[all...]
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWListPeer.java185 // update the fontmetrics when the font changes
195 void handleAction(final int index, final long when, final int modifiers) { argument
201 l.getItem(index), when, modifiers));
H A DWInputMethod.java336 * Explicitly disable the native IME. Native IME is not disabled when
357 * This method is called when the input method is swapped out.
362 // Since the native input method is not disabled when deactivate is
376 // this may happen when an input method window is made visible
393 gets called is when the native input method is
456 public void sendInputMethodEvent(int id, long when, String text, argument
541 when,
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXButtonPeer.java152 public void action(final long when, final int modifiers) { argument
155 when, modifiers));
H A DXMenuItemPeer.java219 * 6184485: Popup menu is not disabled on XToolkit even when calling setEnabled (false)
263 * This function is called when filling item vectors
322 * This function is invoked when the user clicks
324 * @param when the timestamp of action event
326 void action(long when) { argument
329 getTargetActionCommand(), when,
H A DXTextFieldPeer.java359 public void action(final long when, final int modifiers) { argument
361 text, when,
H A DXWindow.java424 //fix for 6239938 : Choice drop-down does not disappear when it loses focus, on XToolkit
449 // 6304250: XAWT: Items in choice show a blue border on OpenGL + Solaris10 when background color is set
663 long when;
678 when = xbe.get_time();
679 long jWhen = XToolkit.nowMillisUTC_offset(when);
699 if (lastWindow == this && lastButton == lbutton && (when - lastTime) < XToolkit.getMultiClickTime()) {
708 lastTime = when;
935 // to update the cursor since XAwtState.getComponentMouseEntered() is used when the
1263 * Override this methods to get notifications when top-level window state changes. The state is
1421 public void postKeyEvent(int id, long when, in argument
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DMenuItem.java141 * The mask should NOT be set when listeners are registered
142 * so that we can distinguish the difference between when
220 * Construct a name for this MenuComponent. Called by getName() when
368 * Used when iterating Menus.
382 * to the event queue when menu shortcut is pressed. However,
386 void doMenuEvent(long when, int modifiers) { argument
389 getActionCommand(), when, modifiers));
398 // should be disabled when the menu itself is disabled
427 // should be disabled when the menu itself is disabled
448 * Since event types are automatically enabled when
[all...]
H A DEvent.java68 * This flag indicates that the Shift key was down when the event
74 * This flag indicates that the Control key was down when the event
80 * This flag indicates that the Meta key was down when the event
87 * This flag indicates that the Alt key was down when
465 public long when; field in class:Event
541 * The next event. This field is set when putting events into a
620 * @param when the time stamp.
628 public Event(Object target, long when, int id, int x, int y, int key, argument
631 this.when = when;
678 Event(Object target, long when, int id, int x, int y, int key, int modifiers) argument
[all...]
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCWarningWindow.java190 public void notifyMouseEvent(int id, long when, int button, int x, int y, argument
224 // Process parent-child relationship when hiding
242 // Manage parent-child relationship when showing
260 public void notifyMouseWheelEvent(long when, int x, int y, int modifiers, argument
267 public void notifyKeyEvent(int id, long when, int modifiers, int keyCode, argument
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_util.h37 jlong when; member in struct:ConvertEventTimeAndModifiers
/openjdk7/hotspot/src/share/vm/gc_interface/
H A DcollectedHeap.cpp124 void CollectedHeap::trace_heap(GCWhen::Type when, GCTracer* gc_tracer) { argument
127 gc_tracer->report_gc_heap_summary(when, heap_summary, perm_summary);
176 // Used for ReduceInitialCardMarks (when COMPILER2 is used);
336 // initialized by this point, a fact that we assert when doing the
/openjdk7/jdk/src/solaris/native/sun/xawt/
H A DXWindow.c860 * that have been found to be necessary when the NumLock mask is set.
862 * This function is meant to be called when
872 * not to echo on JTextField when the NumLock is on. The
943 * KP_Left when we should get a KP_4, for example.
997 * instead of the keysym as the keychar when posting. Then we don't
1000 * Note: what does the buffer from XLookupString contain when
1040 jlong when, jint keyCode, jchar keyChar, jint keyLocation, jint state, XEvent * event)
1043 when, keyCode, keyChar, keyLocation, state, ptr_to_jlong(event), (jint)sizeof(XEvent));
1039 awt_post_java_key_event(JNIEnv *env, jobject peer, jint id, jlong when, jint keyCode, jchar keyChar, jint keyLocation, jint state, XEvent * event) argument
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/
H A DparallelScavengeHeap.cpp568 // and when to attempt collections, but no collection specific policy.
742 // we do not set collection policy, only where & when to allocate and
989 void ParallelScavengeHeap::trace_heap(GCWhen::Type when, GCTracer* gc_tracer) { argument
992 gc_tracer->report_gc_heap_summary(when, heap_summary, perm_gen_summary);
/openjdk7/jdk/src/solaris/classes/sun/awt/
H A DX11InputMethod.java115 // The savedCompositionState indicates the composition mode when
118 // when the user changes the composition state through direct interaction
119 // with the input method. It is used to save the composition mode when
229 * @return the true is returned when specified locale is supported.
272 called on the passive client when endComposition is called.
376 loses the focus, this method is called. Then when another client
387 input context, we save it when deactivate is called so that when activate is
410 * Explicitly disable the native IME. Native IME is not disabled when
458 // this may happen when a
529 postInputMethodEvent(int id, AttributedCharacterIterator text, int committedCharacterCount, TextHitInfo caret, TextHitInfo visiblePosition, long when) argument
563 dispatchCommittedText(String str, long when) argument
599 dispatchComposedText(String chgText, int chgStyles[], int chgOffset, int chgLength, int caretPosition, long when) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/
H A DSunToolkit.java574 final long when) {
577 return when;
1276 * Invoking this method when the modal exclusion API is not supported by
1498 // During the wait process, when we were processing incoming
1626 * targets. This Window will receive UngrabEvent when automatic
1629 * UngrabEvent class for the list of conditions when ungrab is
1782 * getDesktopAAHints() when system settings are being used.
2031 // For the case when queue is cleared but events are not posted
572 executeOnEventHandlerThread(Object target, Runnable runnable, final long when) argument
/openjdk7/jdk/src/share/classes/java/util/
H A DCalendar.java128 * (from 1 to 7). These numbers are taken from the locale resource data when a
242 * field <code>f</code>. Overflow occurs when a field value exceeds its
271 * rule 2, since it is expected to change when the month changes in a
356 // back out to fields is made when necessary. This is implemented by the
360 // ranges when they are regenerated.
744 // Recomputation of the time and fields happens when the object needs
766 * Pseudo-time-stamps which specify when each field was set. There
858 * values which are greater than 1 represents the (pseudo) time when the
1942 * compareTo(when) < 0
1944 * if and only if <code>when</cod
1953 before(Object when) argument
1974 after(Object when) argument
[all...]
/openjdk7/jdk/src/share/classes/java/awt/event/
H A DKeyEvent.java39 * field) when a key is pressed, released, or typed.
45 * gets this <code>KeyEvent</code> when the event occurs.
48 * the platform or keyboard layout. They are generated when a Unicode character
113 * when using a U.S. keyboard layout will generate VK_A when using a French
115 * <li>The key that generates {@code VK_Q} when using a U.S. keyboard layout also
156 * - true, if when the event was created event proxying
160 * events when proxy is active
175 * The "key typed" event. This event is generated when a character is
184 * The "key pressed" event. This event is generated when
942 KeyEvent(Component source, int id, long when, int modifiers, int keyCode, char keyChar, int keyLocation, boolean isProxyActive) argument
998 KeyEvent(Component source, int id, long when, int modifiers, int keyCode, char keyChar, int keyLocation) argument
1068 KeyEvent(Component source, int id, long when, int modifiers, int keyCode, char keyChar) argument
1078 KeyEvent(Component source, int id, long when, int modifiers, int keyCode) argument
[all...]
/openjdk7/jdk/src/macosx/classes/sun/lwawt/
H A DLWWindowPeer.java144 // bounds when the window is shown, see 4868278
418 * requiering when needed (i.e. when the window geometry is changed).
543 * The difference is only in nswindow background. So when we set
646 // So, we need to repaint window explicitly when it becomes normal.
659 * Called by the {@code PlatformWindow} when any part of the window should
668 * Called by the {@code PlatformWindow} when this window is moved/resized by
767 public void notifyMouseEvent(int id, long when, int button, argument
790 postMouseEnteredExitedEvent(target, id, when, modifiers, lp,
808 postMouseEnteredExitedEvent(target, id, when, modifier
917 postMouseEnteredExitedEvent( Component target, int id, long when, int modifiers, Point loc, int xAbs, int yAbs, int clickCount, boolean popupTrigger, int button) argument
929 notifyMouseWheelEvent(long when, int x, int y, int modifiers, int scrollType, int scrollAmount, int wheelRotation, double preciseWheelRotation, byte[] bdata) argument
959 notifyKeyEvent(int id, long when, int modifiers, int keyCode, char keyChar, int keyLocation) argument
[all...]
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_TrayIcon.cpp477 void AwtTrayIcon::SendMouseEvent(jint id, jlong when, jint x, jint y, argument
513 id, when, modifiers,
533 void AwtTrayIcon::SendActionEvent(jint id, jlong when, jint modifiers, MSG *pMsg) argument
566 target, id, actionCommand, when, modifiers);
H A Dawt_Component.cpp1418 // is about to move when the coordinates are exactly the
1575 // 4664415: We're seeing a WM_LBUTTONUP when the user releases the
1973 * This message should only be received when a window is destroyed by
1983 * This message should only be received when a window is destroyed by
2467 // for wheeling when outside the window, this works similar to
2838 // by BuildDynamicKeyMapTable when keyboard layout is switched.
3458 // Ctrl+<key>. Take Ctrl into account only when we know
4224 * Draw text in gray (the color being set to COLOR_GRAYTEXT) when the
4369 * when several components are printed to the same DC.
4524 // invalidate because the palette will have changed when w
4744 SendKeyEvent(jint id, jlong when, jint raw, jint cooked, jint modifiers, jint keyLocation, jlong nativeCode, MSG *pMsg) argument
4804 SendKeyEventToFocusOwner(jint id, jlong when, jint raw, jint cooked, jint modifiers, jint keyLocation, jlong nativeCode, MSG *msg) argument
4849 SendMouseEvent(jint id, jlong when, jint x, jint y, jint modifiers, jint clickCount, jboolean popupTrigger, jint button, MSG *pMsg) argument
4912 SendMouseWheelEvent(jint id, jlong when, jint x, jint y, jint modifiers, jint clickCount, jboolean popupTrigger, jint scrollType, jint scrollAmount, jint roundedWheelRotation, jdouble preciseWheelRotation, MSG *pMsg) argument
[all...]

Completed in 311 milliseconds

12