Home
last modified time | relevance | path

Searched refs:caretRect (Results 1 – 25 of 141) sorted by relevance

123456

/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/macosx/classes/com/apple/laf/
H A DAquaCaret.java165 final Rectangle caretRect = new Rectangle(x, y, width, height); in damage() local
175 Rectangle2D.intersect(caretRect, alloc, caretRect); in damage()
177 x = caretRect.x; in damage()
178 y = caretRect.y; in damage()
179 width = Math.max(caretRect.width, 1); in damage()
180 height = Math.max(caretRect.height, 1); in damage()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/macosx/classes/com/apple/laf/
H A DAquaCaret.java165 final Rectangle caretRect = new Rectangle(x, y, width, height); in damage() local
175 Rectangle2D.intersect(caretRect, alloc, caretRect); in damage()
177 x = caretRect.x; in damage()
178 y = caretRect.y; in damage()
179 width = Math.max(caretRect.width, 1); in damage()
180 height = Math.max(caretRect.height, 1); in damage()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/macosx/classes/com/apple/laf/
H A DAquaCaret.java181 final Rectangle caretRect = new Rectangle(x, y, width, height); in damage() local
191 Rectangle2D.intersect(caretRect, alloc, caretRect); in damage()
193 x = caretRect.x; in damage()
194 y = caretRect.y; in damage()
195 width = Math.max(caretRect.width, 1); in damage()
196 height = Math.max(caretRect.height, 1); in damage()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/macosx/classes/com/apple/laf/
H A DAquaCaret.java181 final Rectangle caretRect = new Rectangle(x, y, width, height); in damage() local
191 Rectangle2D.intersect(caretRect, alloc, caretRect); in damage()
193 x = caretRect.x; in damage()
194 y = caretRect.y; in damage()
195 width = Math.max(caretRect.width, 1); in damage()
196 height = Math.max(caretRect.height, 1); in damage()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.desktop/macosx/classes/com/apple/laf/
H A DAquaCaret.java181 final Rectangle caretRect = new Rectangle(x, y, width, height); in damage() local
191 Rectangle2D.intersect(caretRect, alloc, caretRect); in damage()
193 x = caretRect.x; in damage()
194 y = caretRect.y; in damage()
195 width = Math.max(caretRect.width, 1); in damage()
196 height = Math.max(caretRect.height, 1); in damage()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.desktop/macosx/classes/com/apple/laf/
H A DAquaCaret.java181 final Rectangle caretRect = new Rectangle(x, y, width, height); in damage() local
191 Rectangle2D.intersect(caretRect, alloc, caretRect); in damage()
193 x = caretRect.x; in damage()
194 y = caretRect.y; in damage()
195 width = Math.max(caretRect.width, 1); in damage()
196 height = Math.max(caretRect.height, 1); in damage()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.desktop/macosx/classes/com/apple/laf/
H A DAquaCaret.java181 final Rectangle caretRect = new Rectangle(x, y, width, height); in damage() local
191 Rectangle2D.intersect(caretRect, alloc, caretRect); in damage()
193 x = caretRect.x; in damage()
194 y = caretRect.y; in damage()
195 width = Math.max(caretRect.width, 1); in damage()
196 height = Math.max(caretRect.height, 1); in damage()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.desktop/macosx/classes/com/apple/laf/
H A DAquaCaret.java190 final Rectangle caretRect = new Rectangle(x, y, width, height); in damage() local
200 Rectangle2D.intersect(caretRect, alloc, caretRect); in damage()
202 x = caretRect.x; in damage()
203 y = caretRect.y; in damage()
204 width = Math.max(caretRect.width, 1); in damage()
205 height = Math.max(caretRect.height, 1); in damage()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.desktop/macosx/classes/com/apple/laf/
H A DAquaCaret.java190 final Rectangle caretRect = new Rectangle(x, y, width, height); in damage() local
200 Rectangle2D.intersect(caretRect, alloc, caretRect); in damage()
202 x = caretRect.x; in damage()
203 y = caretRect.y; in damage()
204 width = Math.max(caretRect.width, 1); in damage()
205 height = Math.max(caretRect.height, 1); in damage()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.desktop/macosx/classes/com/apple/laf/
H A DAquaCaret.java190 final Rectangle caretRect = new Rectangle(x, y, width, height); in damage() local
200 Rectangle2D.intersect(caretRect, alloc, caretRect); in damage()
202 x = caretRect.x; in damage()
203 y = caretRect.y; in damage()
204 width = Math.max(caretRect.width, 1); in damage()
205 height = Math.max(caretRect.height, 1); in damage()
/dports/editors/calligra/calligra-3.2.1/plugins/textshape/tests/
H A DTestTextTool.cpp41 QCOMPARE(tool.caretRect(0), QRectF()); // invalid in testCaretRect()
42 QCOMPARE(tool.caretRect(14), QRectF()); // invalid in testCaretRect()
46 QCOMPARE(tool.caretRect(0).topLeft(), QPointF()); in testCaretRect()
49 QVERIFY(tool.caretRect(4).topLeft().y() > 0); in testCaretRect()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/classes/sun/awt/im/
H A DCompositionArea.java263 Rectangle caretRect = req.getTextLocation(null); in updateWindowLocation() local
268 if (caretRect.x + windowSize.width > screenSize.width) { in updateWindowLocation()
271 windowLocation.x = caretRect.x; in updateWindowLocation()
274 if (caretRect.y + caretRect.height + SPACING + windowSize.height > screenSize.height) { in updateWindowLocation()
275 windowLocation.y = caretRect.y - SPACING - windowSize.height; in updateWindowLocation()
277 windowLocation.y = caretRect.y + caretRect.height + SPACING; in updateWindowLocation()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/share/classes/sun/awt/im/
H A DCompositionArea.java263 Rectangle caretRect = req.getTextLocation(null); in updateWindowLocation() local
268 if (caretRect.x + windowSize.width > screenSize.width) { in updateWindowLocation()
271 windowLocation.x = caretRect.x; in updateWindowLocation()
274 if (caretRect.y + caretRect.height + SPACING + windowSize.height > screenSize.height) { in updateWindowLocation()
275 windowLocation.y = caretRect.y - SPACING - windowSize.height; in updateWindowLocation()
277 windowLocation.y = caretRect.y + caretRect.height + SPACING; in updateWindowLocation()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/classes/sun/awt/im/
H A DCompositionArea.java263 Rectangle caretRect = req.getTextLocation(null); in updateWindowLocation() local
268 if (caretRect.x + windowSize.width > screenSize.width) { in updateWindowLocation()
271 windowLocation.x = caretRect.x; in updateWindowLocation()
274 if (caretRect.y + caretRect.height + SPACING + windowSize.height > screenSize.height) { in updateWindowLocation()
275 windowLocation.y = caretRect.y - SPACING - windowSize.height; in updateWindowLocation()
277 windowLocation.y = caretRect.y + caretRect.height + SPACING; in updateWindowLocation()
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/sun/awt/im/
H A DCompositionArea.java263 Rectangle caretRect = req.getTextLocation(null); in updateWindowLocation() local
268 if (caretRect.x + windowSize.width > screenSize.width) { in updateWindowLocation()
271 windowLocation.x = caretRect.x; in updateWindowLocation()
274 if (caretRect.y + caretRect.height + SPACING + windowSize.height > screenSize.height) { in updateWindowLocation()
275 windowLocation.y = caretRect.y - SPACING - windowSize.height; in updateWindowLocation()
277 windowLocation.y = caretRect.y + caretRect.height + SPACING; in updateWindowLocation()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.desktop/share/classes/sun/awt/im/
H A DCompositionArea.java263 Rectangle caretRect = req.getTextLocation(null); in updateWindowLocation() local
268 if (caretRect.x + windowSize.width > screenSize.width) { in updateWindowLocation()
271 windowLocation.x = caretRect.x; in updateWindowLocation()
274 if (caretRect.y + caretRect.height + SPACING + windowSize.height > screenSize.height) { in updateWindowLocation()
275 windowLocation.y = caretRect.y - SPACING - windowSize.height; in updateWindowLocation()
277 windowLocation.y = caretRect.y + caretRect.height + SPACING; in updateWindowLocation()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.desktop/share/classes/sun/awt/im/
H A DCompositionArea.java263 Rectangle caretRect = req.getTextLocation(null); in updateWindowLocation() local
268 if (caretRect.x + windowSize.width > screenSize.width) { in updateWindowLocation()
271 windowLocation.x = caretRect.x; in updateWindowLocation()
274 if (caretRect.y + caretRect.height + SPACING + windowSize.height > screenSize.height) { in updateWindowLocation()
275 windowLocation.y = caretRect.y - SPACING - windowSize.height; in updateWindowLocation()
277 windowLocation.y = caretRect.y + caretRect.height + SPACING; in updateWindowLocation()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.desktop/share/classes/sun/awt/im/
H A DCompositionArea.java263 Rectangle caretRect = req.getTextLocation(null); in updateWindowLocation() local
268 if (caretRect.x + windowSize.width > screenSize.width) { in updateWindowLocation()
271 windowLocation.x = caretRect.x; in updateWindowLocation()
274 if (caretRect.y + caretRect.height + SPACING + windowSize.height > screenSize.height) { in updateWindowLocation()
275 windowLocation.y = caretRect.y - SPACING - windowSize.height; in updateWindowLocation()
277 windowLocation.y = caretRect.y + caretRect.height + SPACING; in updateWindowLocation()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.desktop/share/classes/sun/awt/im/
H A DCompositionArea.java263 Rectangle caretRect = req.getTextLocation(null); in updateWindowLocation() local
268 if (caretRect.x + windowSize.width > screenSize.width) { in updateWindowLocation()
271 windowLocation.x = caretRect.x; in updateWindowLocation()
274 if (caretRect.y + caretRect.height + SPACING + windowSize.height > screenSize.height) { in updateWindowLocation()
275 windowLocation.y = caretRect.y - SPACING - windowSize.height; in updateWindowLocation()
277 windowLocation.y = caretRect.y + caretRect.height + SPACING; in updateWindowLocation()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/sun/awt/im/
H A DCompositionArea.java263 Rectangle caretRect = req.getTextLocation(null); in updateWindowLocation() local
268 if (caretRect.x + windowSize.width > screenSize.width) { in updateWindowLocation()
271 windowLocation.x = caretRect.x; in updateWindowLocation()
274 if (caretRect.y + caretRect.height + SPACING + windowSize.height > screenSize.height) { in updateWindowLocation()
275 windowLocation.y = caretRect.y - SPACING - windowSize.height; in updateWindowLocation()
277 windowLocation.y = caretRect.y + caretRect.height + SPACING; in updateWindowLocation()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.desktop/share/classes/sun/awt/im/
H A DCompositionArea.java265 Rectangle caretRect = req.getTextLocation(null); in updateWindowLocation() local
270 if (caretRect.x + windowSize.width > screenSize.width) { in updateWindowLocation()
273 windowLocation.x = caretRect.x; in updateWindowLocation()
276 if (caretRect.y + caretRect.height + SPACING + windowSize.height > screenSize.height) { in updateWindowLocation()
277 windowLocation.y = caretRect.y - SPACING - windowSize.height; in updateWindowLocation()
279 windowLocation.y = caretRect.y + caretRect.height + SPACING; in updateWindowLocation()
/dports/devel/upp/upp/uppsrc/CtrlCore/
H A DWin32Ctrl.cpp104 if(focusCtrl != caretCtrl || cr != caretRect) { in SyncCaret()
112 caretRect = cr; in SyncCaret()
/dports/lang/spidermonkey60/firefox-60.9.0/widget/windows/
H A DIMMHandler.cpp2085 caretRect.InitForQueryCaretRect(0, options); in GetCaretRect()
2086 aWindow->InitEvent(caretRect, &point); in GetCaretRect()
2087 DispatchEvent(aWindow, caretRect); in GetCaretRect()
2088 if (!caretRect.mSucceeded) { in GetCaretRect()
2093 aCaretRect = caretRect.mReply.mRect; in GetCaretRect()
2095 *aWritingMode = caretRect.GetWritingMode(); in GetCaretRect()
2122 LayoutDeviceIntRect caretRect(firstSelectedCharRect); in SetIMERelatedWindowsPos() local
2127 caretRect.SetWidth(1); in SetIMERelatedWindowsPos()
2132 caretRect.Height()); in SetIMERelatedWindowsPos()
2137 caretRect.Height())); in SetIMERelatedWindowsPos()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/widget/windows/
H A DIMMHandler.cpp2254 caretRect.InitForQueryCaretRect(0, options); in GetCaretRect()
2255 aWindow->InitEvent(caretRect, &point); in GetCaretRect()
2256 DispatchEvent(aWindow, caretRect); in GetCaretRect()
2257 if (!caretRect.mSucceeded) { in GetCaretRect()
2262 aCaretRect = caretRect.mReply.mRect; in GetCaretRect()
2264 *aWritingMode = caretRect.GetWritingMode(); in GetCaretRect()
2292 LayoutDeviceIntRect caretRect(firstSelectedCharRect); in SetIMERelatedWindowsPos() local
2297 caretRect.width = 1; in SetIMERelatedWindowsPos()
2301 caretRect.width, caretRect.height); in SetIMERelatedWindowsPos()
2305 GetBoolName(mNativeCaretIsCreated), caretRect.width, caretRect.height)); in SetIMERelatedWindowsPos()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/layout/base/
H A DnsCaret.cpp496 nsRect caretRect; in GetPaintGeometry() local
498 ComputeCaretRects(frame, frameOffset, &caretRect, &hookRect); in GetPaintGeometry()
500 aRect->UnionRect(caretRect, hookRect); in GetPaintGeometry()
520 nsRect caretRect; in PaintCaret() local
522 ComputeCaretRects(frame, contentOffset, &caretRect, &hookRect); in PaintCaret()
524 Rect devPxCaretRect = NSRectToSnappedRect(caretRect + aOffset, in PaintCaret()

123456