- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for Width (0.14 sec)
-
src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java
final int samplingHeight = height / fessConfig.getThumbnailHtmlImageThumbnailHeightAsInteger(); param.setSourceSubsampling(samplingWidth <= 0 ? 1 : samplingWidth, samplingHeight <= 0 ? 1 : samplingHeight, 0, 0); param.setSourceRegion(new Rectangle(width, height > width ? width : height));
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 7.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
final String widthStr = req.getParameter(SCREEN_WIDTH); if (StringUtil.isNotBlank(widthStr)) { final int width = Integer.parseInt(widthStr); updateHighlightInfo(highlightInfo, width); final HttpSession session = req.getSession(false); if (session != null) { session.setAttribute(SCREEN_WIDTH, width); } } else {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 40.1K bytes - Viewed (2) -
src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java
} assertImageSize(outputFile, 100, 100); } private void assertImageSize(File file, int width, int height) throws IOException { BufferedImage img = ImageIO.read(file); logger.debug("width: {}, height: {}", img.getWidth(), img.getHeight()); assertEquals("Image Width", width, img.getWidth()); assertEquals("Image Height", height, img.getHeight()); }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 4.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java
data = "<img src=\"http://example/foo.jpg\" width=\"x\" height=\"x\">"; assertNull(transformer.getThumbnailUrl(responseData, getDocument(data))); data = "<img src=\"http://example/foo.jpg\" width=\"10\" height=\"100\">"; assertNull(transformer.getThumbnailUrl(responseData, getDocument(data))); data = "<img src=\"http://example/foo.jpg\" width=\"100\" height=\"10\">";
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 38.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java
final Integer width = getAttributeAsInteger(attributes, "width"); if (!fessConfig.isThumbnailHtmlImageUrl(thumbnailUrl)) { continue; } if (height != null && width != null) { try { if (fessConfig.validateThumbnailSize(width, height)) { return thumbnailUrl;
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 41.9K bytes - Viewed (0) -
android/guava/src/com/google/common/net/HttpHeaders.java
* href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Viewport-Width">{@code * Viewport-Width}</a> header field name. * * @since 31.0 */ public static final String VIEWPORT_WIDTH = "Viewport-Width"; /** * The HTTP <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Width">{@code * Width}</a> header field name. * * @since 31.0 */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 22 21:08:08 GMT 2024 - 34.3K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java
document.prependChild(new DocumentType("html", "", "")); document.head(). append("<meta charset='utf-8'>"). append("<meta name='viewport' content='width=device-width, initial-scale=1'>"). append("<title>Gradle @version@ Release Notes</title>"). append("<link rel='stylesheet' type='text/css' href='https://assets.gradle.com/lato/css/lato-font.css'/>");
Java - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Apr 25 04:49:56 GMT 2024 - 7.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java
Integer getThumbnailHtmlImageMinHeightAsInteger(); java.math.BigDecimal getThumbnailHtmlImageMaxAspectRatioAsDecimal(); default boolean validateThumbnailSize(final int width, final int height) { if (width <= 0 || height <= 0 || width < getThumbnailHtmlImageMinWidthAsInteger().intValue() || height < getThumbnailHtmlImageMinHeightAsInteger().intValue()) { return false; }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 85K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java
/** The key of the configuration. e.g. */ String SEARCHLOG_REQUEST_HEADERS = "searchlog.request.headers"; /** The key of the configuration. e.g. 100 */ String THUMBNAIL_HTML_IMAGE_MIN_WIDTH = "thumbnail.html.image.min.width"; /** The key of the configuration. e.g. 100 */ String THUMBNAIL_HTML_IMAGE_MIN_HEIGHT = "thumbnail.html.image.min.height"; /** The key of the configuration. e.g. 3.0 */
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Apr 11 02:34:53 GMT 2024 - 459.2K bytes - Viewed (5)