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

12

/openjdk7/jdk/test/java/rmi/reliability/juicer/
H A DAppleEvent.java39 private final Date when; field in class:AppleEvent
43 this.when = new Date();
59 desc += " @ " + when + "]";
/openjdk7/jdk/test/sun/rmi/rmic/newrmic/equivalence/
H A DAppleEvent.java39 private java.util.Date when; field in class:AppleEvent
44 this.when = new Date();
61 desc += " @ " + when + "]";
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/
H A DgcWhen.hpp39 static const char* to_string(GCWhen::Type when) { argument
40 switch (when) {
H A DgcTraceSend.cpp187 GCHeapSummaryEventSender(GCId id, GCWhen::Type when) : _id(id), _when(when) {} argument
220 void GCTracer::send_gc_heap_summary_event(GCWhen::Type when, const GCHeapSummary& heap_summary) const { argument
221 GCHeapSummaryEventSender visitor(_shared_gc_info.id(), when);
225 void GCTracer::send_perm_gen_summary_event(GCWhen::Type when, const PermGenSummary& perm_gen_summary) const { argument
232 e.set_when((u1) when);
H A DgcTrace.cpp164 void GCTracer::report_gc_heap_summary(GCWhen::Type when, const GCHeapSummary& heap_summary, const PermGenSummary& perm_gen_summary) const { argument
167 send_gc_heap_summary_event(when, heap_summary);
168 send_perm_gen_summary_event(when, perm_gen_summary);
/openjdk7/jdk/src/share/classes/javax/swing/event/
H A DMenuKeyEvent.java61 * @param when a long identifying the time the event occurred
71 public MenuKeyEvent(Component source, int id, long when, int modifiers, argument
74 super(source, id, when, modifiers, keyCode, keyChar);
H A DMenuDragMouseEvent.java63 * @param when a long identifying the time the event occurred
78 public MenuDragMouseEvent(Component source, int id, long when, argument
82 super(source, id, when, modifiers, x, y, clickCount, popupTrigger);
96 * @param when a long identifying the time the event occurred
116 public MenuDragMouseEvent(Component source, int id, long when, argument
121 super(source, id, when, modifiers, x, y, xAbs, yAbs, clickCount,
/openjdk7/jdk/test/java/util/ResourceBundle/
H A DReferencesTest.java104 private static void report(String when) throws Exception { argument
113 System.out.println(when);
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXCheckboxMenuItemPeer.java75 void action(final long when) { argument
78 doToggleState(when);
89 private void doToggleState(long when) { argument
98 //WToolkit does not post ActionEvent when clicking on menu item
103 // getTargetActionCommand(), when,
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWButtonPeer.java69 public void handleAction(final long when, final int modifiers) { argument
76 when, modifiers));
78 }, when);
H A DWMenuItemPeer.java147 void handleAction(final long when, final int modifiers) { argument
152 getActionCommand(), when,
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A Dg1MMUTracker.hpp31 // Keeps track of the GC work and decides when it is OK to do GC work
62 double when = when_max_gc_sec(current_time); local
63 return (jlong) (when * 1000.0);
67 double when = when_sec(current_time, pause_time); local
68 return (jlong) (when * 1000.0);
/openjdk7/jdk/src/share/classes/java/awt/event/
H A DActionEvent.java34 * <code>Button</code>) when
44 * gets this <code>ActionEvent</code> when the event occurs. The listener
113 * Timestamp of when this event occurred. Because an ActionEvent is a high-
120 long when; field in class:ActionEvent
211 * @param when A long that gives the time the event occurred.
223 public ActionEvent(Object source, int id, String command, long when, argument
227 this.when = when;
250 * Returns the timestamp of when this event occurred. Because an
258 return when;
[all...]
H A DInputMethodEvent.java90 * The time stamp that indicates when the event was created.
96 long when; field in class:InputMethodEvent
120 * @param when a long integer that specifies the time the event occurred
123 * when the event type is <code>CARET_POSITION_CHANGED</code>;
147 public InputMethodEvent(Component source, int id, long when, argument
159 this.when = when;
195 * when the event type is <code>CARET_POSITION_CHANGED</code>;
334 * Returns the time stamp of when this event occurred.
340 return when;
[all...]
H A DInvocationEvent.java33 * </code> when dispatched by the AWT event dispatcher thread. This class can
118 * The timestamp of when this event occurred.
123 private long when; field in class:InvocationEvent
133 * method when dispatched.
156 * method when dispatched. If notifier is non-<code>null</code>,
176 * should catch Throwable when executing
194 * method when dispatched. If notifier is non-<code>null</code>,
213 * should catch Throwable when executing the
228 this.when = System.currentTimeMillis();
233 * notifier (if any) when <cod
[all...]
H A DMouseWheelEvent.java46 * cursor (for instance, when clicking a button), MouseWheelEvents often have
70 * should take place when the mouse wheel is moved. The two most
174 * @param when a long that gives the time the event occurred
195 public MouseWheelEvent (Component source, int id, long when, int modifiers, argument
199 this(source, id, when, modifiers, x, y, 0, 0, clickCount,
218 * @param when a long that gives the time the event occurred
242 public MouseWheelEvent (Component source, int id, long when, int modifiers, argument
246 this(source, id, when, modifiers, x, y, xAbs, yAbs, clickCount, popupTrigger,
266 * @param when a long value that gives the time when th
296 MouseWheelEvent(Component source, int id, long when, int modifiers, int x, int y, int xAbs, int yAbs, int clickCount, boolean popupTrigger, int scrollType, int scrollAmount, int wheelRotation, double preciseWheelRotation) argument
[all...]
H A DInputEvent.java202 * <li> as a {@code modifiers} parameter when creating a new {@link MouseEvent} instance
263 * indicates when the input event was created.
268 long when; field in class:InputEvent
321 * @param when a long int that gives the time the event occurred.
338 InputEvent(Component source, int id, long when, int modifiers) { argument
340 this.when = when;
403 * Returns the difference in milliseconds between the timestamp of when this event occurred and
407 return when;
H A DMouseEvent.java42 * when the action happens.
204 * occurs when a mouse button is pressed and released.
210 * occurs when a mouse button is pushed down.
216 * occurs when a mouse button is let up.
222 * occurs when the mouse position changes.
228 * occurs when the mouse cursor enters the unobscured part of component's
235 * occurs when the mouse cursor exits the unobscured part of component's
242 * occurs when the mouse position changes while a mouse button is pressed.
248 * It occurs when a mouse equipped with a wheel has its wheel rotated.
472 * <tt>MouseEvent(source, id, when, modifier
550 MouseEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger, int button) argument
616 MouseEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger) argument
729 MouseEvent(Component source, int id, long when, int modifiers, int x, int y, int xAbs, int yAbs, int clickCount, boolean popupTrigger, int button) argument
[all...]
/openjdk7/jdk/test/javax/management/monitor/
H A DCounterMonitorDeadlockTest.java27 * @summary Test that no locks are held when a monitor attribute is sampled
64 TestCase(String description, When when) { argument
66 this.when = when;
90 (when == When.IN_GET_ATTRIBUTE) ? sensitiveThing : nothing;
118 if (when == When.IN_NOTIFY) {
150 private final When when; field in class:CounterMonitorDeadlockTest.TestCase
H A DGaugeMonitorDeadlockTest.java27 * @summary Test that no locks are held when a monitor attribute is sampled
64 TestCase(String description, When when) { argument
66 this.when = when;
90 (when == When.IN_GET_ATTRIBUTE) ? sensitiveThing : nothing;
119 if (when == When.IN_NOTIFY) {
151 private final When when; field in class:GaugeMonitorDeadlockTest.TestCase
H A DStringMonitorDeadlockTest.java27 * @summary Test that no locks are held when a monitor attribute is sampled
64 TestCase(String description, When when) { argument
66 this.when = when;
90 (when == When.IN_GET_ATTRIBUTE) ? sensitiveThing : nothing;
118 if (when == When.IN_NOTIFY) {
150 private final When when; field in class:StringMonitorDeadlockTest.TestCase
/openjdk7/jdk/src/macosx/classes/sun/lwawt/
H A DPlatformEventNotifier.java51 void notifyMouseEvent(int id, long when, int button, argument
56 void notifyMouseWheelEvent(long when, int x, int y, int modifiers, argument
61 * Called by the delegate when a key is pressed.
63 void notifyKeyEvent(int id, long when, int modifiers, argument
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCMenuItem.java152 void handleAction(final long when, final int modifiers) { argument
158 final ActionEvent event = new ActionEvent(getTarget(), ActionEvent.ACTION_PERFORMED, cmd, when, modifiers);
/openjdk7/jdk/src/share/classes/java/util/
H A DDate.java389 * the time when the Date class is initialized.
907 * @param when a date.
910 * earlier than the instant represented by <tt>when</tt>;
912 * @exception NullPointerException if <code>when</code> is null.
914 public boolean before(Date when) { argument
915 return getMillisOf(this) < getMillisOf(when);
921 * @param when a date.
924 * instant represented by <tt>when</tt>;
926 * @exception NullPointerException if <code>when</code> is null.
928 public boolean after(Date when) { argument
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DCheckboxMenuItem.java144 * Construct a name for this MenuComponent. Called by getName() when
326 // REMIND: remove when filtering is done at lower level
369 * when one of the following occurs:
396 void doMenuEvent(long when, int modifiers) { argument

Completed in 101 milliseconds

12