Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for scrollTo (0.34 sec)

  1. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultRedrawableLabel.java

        // According to absolute positioning
        public void scrollBy(int rows) {
            writePos.row -= rows;
            absolutePositionRow += rows;
        }
    
        // According to absolute positioning
        public void scrollUpBy(int rows) {
            scrollBy(-rows);
        }
    
        // According to absolute positioning
        public void scrollDownBy(int rows) {
            scrollBy(rows);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/MultiLineBuildProgressArea.java

        }
    
        // According to absolute positioning
        private void scrollBy(int rows) {
            statusAreaPos.row -= rows;
            for (DefaultRedrawableLabel label : entries) {
                label.scrollBy(rows);
            }
        }
    
        // According to absolute positioning
        public void scrollUpBy(int rows) {
            scrollBy(-rows);
        }
    
        // According to absolute positioning
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/MultiLineBuildProgressAreaTest.groovy

                2 * ansi.newline()
                1 * ansi.cursorUp(5)
    
                expectAreaRedraw()
                0 * ansi._
            }
        }
    
        def "clears the end of the line when the area is scrolled and a label is updated with a smaller text between redraw"() {
            given:
            fillArea()
    
            when:
            redraw()
            progressArea.scrollDownBy(2)
            int i = 0
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  4. platforms/documentation/docs-asciidoctor-extensions-base/src/main/resources/multi-language-samples.js

                  var beforeOffset = evt.target.offsetTop;
    
                  switchSampleLanguage(preferredLanguageId);
    
                  // Scroll the window to account for content height differences between different sample languages
                  window.scrollBy(0, evt.target.offsetTop - beforeOffset);
                }
              );
              multiLanguageSelectorElement.appendChild(optionEl);
            });
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  5. fess-crawler-es/src/main/java/org/codelibs/fess/crawler/service/impl/EsDataService.java

                    }
    
                    final String sid = scrollId;
                    response = getClient().get(c -> c.prepareSearchScroll(sid).setScroll(new TimeValue(scrollTimeout)).execute());
                    if (!scrollId.equals(response.getScrollId())) {
                        getClient().clearScroll(scrollId);
                    }
                    scrollId = response.getScrollId();
                }
            } finally {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

                        response = client.prepareSearchScroll(scrollId).setScroll(settings.getScrollTimeout()).execute()
                                .actionGet(settings.getSearchTimeout());
                        if (!scrollId.equals(response.getScrollId())) {
                            SuggestUtil.deleteScrollContext(client, scrollId);
                        }
                    }
                    scrollId = response.getScrollId();
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/DefaultRedrawableLabelTest.groovy

        def "scrolling the label by non-zero number of rows between redraw will rewrite the text to ansi to the new location"() {
            given:
            label.text = "text"
    
            when:
            redraw()
            label.scrollBy(rows)
            redraw()
    
            then:
            2 * ansi.a('text')
            1 * ansi.cursorLeft(4)
            if (rows < 0) {
                1 * ansi.cursorUp(Math.abs(rows))
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  8. testing/internal-performance-testing/src/main/resources/org/gradle/reporting/performanceGraph.js

                        if (resultRow) {
                            $('.history tr').css("background-color", "");
                            resultRow.css("background-color", "orange");
                            $('html, body').animate({scrollTop: resultRow.offset().top}, 1000, function () {
                                window.location.hash = resultRowId;
                            });
                        }
                    });
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java

                        try (final BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(out.stream(), Constants.CHARSET_UTF_8))) {
                            SearchEngineUtil.scroll(index, hit -> {
                                try {
                                    writer.write("{\"index\":{\"_index\":\"" + index + "\",\"_id\":\""
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/main/resources/footer.html

                parentListEl = parentListEl.parentNode.closest("li");
            }
    
            // Only scroll if the device is a desktop.
            //
            // Mobile's `docs-navigation` is always at bottom of `content`,
            // so we should not slide down to where `docs-navigation` lays.
            if (desktopMediaQuery.matches) {
                // Scroll to center of the page
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 09:28:20 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top