Searched defs:granularity (Results 1 - 25 of 43) sorted by relevance

12

/external/webkit/Source/WebKit2/WebProcess/WebPage/gtk/
H A DWebPageGtk.cpp55 static inline void scroll(Page* page, ScrollDirection direction, ScrollGranularity granularity) argument
57 page->focusController()->focusedOrMainFrame()->eventHandler()->scrollRecursively(direction, granularity);
/external/webkit/Source/WebKit2/Shared/
H A DWebWheelEvent.cpp36 WebWheelEvent::WebWheelEvent(Type type, const IntPoint& position, const IntPoint& globalPosition, const FloatSize& delta, const FloatSize& wheelTicks, Granularity granularity, Modifiers modifiers, double timestamp) argument
42 , m_granularity(granularity)
52 WebWheelEvent::WebWheelEvent(Type type, const IntPoint& position, const IntPoint& globalPosition, const FloatSize& delta, const FloatSize& wheelTicks, Granularity granularity, Phase phase, Phase momentumPhase, bool hasPreciseScrollingDeltas, Modifiers modifiers, double timestamp) argument
58 , m_granularity(granularity)
H A DWebEvent.h187 Granularity granularity() const { return static_cast<Granularity>(m_granularity); } function in class:WebKit::WebWheelEvent
/external/webkit/Source/WebCore/dom/
H A DWheelEvent.cpp44 Granularity granularity, PassRefPtr<AbstractView> view,
54 , m_granularity(granularity)
98 inline static WheelEvent::Granularity granularity(const PlatformWheelEvent& event) function in namespace:WebCore
100 return event.granularity() == ScrollByPageWheelEvent ? WheelEvent::Page : WheelEvent::Pixel;
108 setEvent(WheelEvent::create(event.wheelTicksX(), event.wheelTicksY(), event.deltaX(), event.deltaY(), granularity(event),
43 WheelEvent(float wheelTicksX, float wheelTicksY, float rawDeltaX, float rawDeltaY, Granularity granularity, PassRefPtr<AbstractView> view, int screenX, int screenY, int pageX, int pageY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) argument
H A DWheelEvent.h41 float rawDeltaX, float rawDeltaY, Granularity granularity, PassRefPtr<AbstractView> view,
46 granularity, view, screenX, screenY, pageX, pageY,
63 Granularity granularity() const { return m_granularity; } function in class:WebCore::WheelEvent
71 Granularity granularity, PassRefPtr<AbstractView>,
40 create(float wheelTicksX, float wheelTicksY, float rawDeltaX, float rawDeltaY, Granularity granularity, PassRefPtr<AbstractView> view, int screenX, int screenY, int pageX, int pageY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) argument
H A DElement.cpp299 void Element::scrollByUnits(int units, ScrollGranularity granularity) argument
309 toRenderBox(rend)->layer()->scroll(direction, granularity, units);
/external/ant-glob/src/org/apache/tools/ant/types/selectors/
H A DSelectorUtils.java602 * @param granularity the amount in seconds of slack we will give in
606 public static boolean isOutOfDate(File src, File target, int granularity) { argument
613 if ((src.lastModified() - granularity) > target.lastModified()) {
/external/webkit/Source/WebCore/platform/
H A DScrollAnimatorWin.cpp77 bool ScrollAnimatorWin::scroll(ScrollbarOrientation orientation, ScrollGranularity granularity, float step, float multiplier) argument
80 if (granularity == ScrollByDocument)
81 return ScrollAnimator::scroll(orientation, granularity, step, multiplier);
H A DScrollableArea.cpp58 bool ScrollableArea::scroll(ScrollDirection direction, ScrollGranularity granularity, float multiplier) argument
74 switch (granularity) {
92 return m_scrollAnimator->scroll(orientation, granularity, step, multiplier);
H A DPlatformWheelEvent.h118 PlatformWheelEventGranularity granularity() const { return m_granularity; } function in class:WebCore::PlatformWheelEvent
/external/webkit/Source/JavaScriptCore/jit/
H A DExecutableAllocator.h82 inline size_t roundUpAllocationSize(size_t request, size_t granularity) argument
84 if ((std::numeric_limits<size_t>::max() - granularity) <= request)
88 size_t size = request + (granularity - 1);
89 size = size & ~(granularity - 1);
/external/webkit/Source/WebCore/editing/
H A DVisibleSelection.cpp185 bool VisibleSelection::expandUsingGranularity(TextGranularity granularity) argument
190 validate(granularity);
267 void VisibleSelection::setStartAndEndFromBaseAndExtentRespectingGranularity(TextGranularity granularity) argument
277 switch (granularity) {
409 void VisibleSelection::validate(TextGranularity granularity) argument
412 setStartAndEndFromBaseAndExtentRespectingGranularity(granularity);
H A DSelectionController.h80 void setSelection(const VisibleSelection& selection, TextGranularity granularity, DirectionalityPolicy directionality = MakeDirectionalSelection) { setSelection(selection, CloseTyping | ClearTypingStyle, AlignCursorOnScrollIfNeeded, granularity, directionality); } argument
96 TextGranularity granularity() const { return m_granularity; } function in class:WebCore::SelectionController
H A DTypingCommand.cpp63 TypingCommand::TypingCommand(Document *document, ETypingCommand commandType, const String &textToInsert, Options options, TextGranularity granularity, TextCompositionType compositionType) argument
70 , m_granularity(granularity)
101 void TypingCommand::deleteKeyPressed(Document *document, Options options, TextGranularity granularity) argument
109 if (granularity == CharacterGranularity && isOpenForMoreTypingCommand(lastEditCommand)) {
113 lastTypingCommand->deleteKeyPressed(granularity, options & KillRing);
117 TypingCommand::create(document, DeleteKey, "", options, granularity)->apply();
120 void TypingCommand::forwardDeleteKeyPressed(Document *document, Options options, TextGranularity granularity) argument
129 if (granularity == CharacterGranularity && isOpenForMoreTypingCommand(lastEditCommand)) {
133 lastTypingCommand->forwardDeleteKeyPressed(granularity, options & KillRing);
137 TypingCommand::create(document, ForwardDeleteKey, "", options, granularity)
468 deleteKeyPressed(TextGranularity granularity, bool killRing) argument
566 forwardDeleteKeyPressed(TextGranularity granularity, bool killRing) argument
[all...]
/external/webkit/Source/WebKit/chromium/src/
H A DWebScrollbarImpl.cpp108 void WebScrollbarImpl::scroll(ScrollDirection direction, ScrollGranularity granularity, float multiplier) argument
117 WebCore::ScrollableArea::scroll(dir, static_cast<WebCore::ScrollGranularity>(granularity), multiplier);
/external/webkit/Source/WebKit/win/
H A DWebScrollBar.cpp245 WebScrollGranularity granularity,
249 ScrollGranularity webCoreGranularity = (ScrollGranularity) granularity;
243 scroll( WebScrollDirection direction, WebScrollGranularity granularity, float multiplier) argument
/external/webkit/Source/WebKit2/Shared/qt/
H A DWebEventFactoryQt.cpp118 WebWheelEvent::Granularity granularity = WebWheelEvent::ScrollByPixelWheelEvent; local
143 return WebWheelEvent(WebEvent::Wheel, e->pos().toPoint(), e->screenPos(), FloatSize(deltaX, deltaY), FloatSize(wheelTicksX, wheelTicksY), granularity, modifiers, timestamp);
/external/webkit/Source/WebKit2/Shared/win/
H A DWebEventFactory.cpp407 WebWheelEvent::Granularity granularity = WebWheelEvent::ScrollByPixelWheelEvent; local
430 granularity = WebWheelEvent::ScrollByPixelWheelEvent;
436 granularity = WebWheelEvent::ScrollByPageWheelEvent;
438 granularity = WebWheelEvent::ScrollByPixelWheelEvent;
443 return WebWheelEvent(WebEvent::Wheel, position, globalPosition, FloatSize(deltaX, deltaY), FloatSize(wheelTicksX, wheelTicksY), granularity, modifiers, timestamp);
/external/webkit/Source/WebKit2/WebProcess/WebPage/qt/
H A DWebPageQt.cpp212 static inline void scroll(Page* page, ScrollDirection direction, ScrollGranularity granularity) argument
214 page->focusController()->focusedOrMainFrame()->eventHandler()->scrollRecursively(direction, granularity);
217 static inline void logicalScroll(Page* page, ScrollLogicalDirection direction, ScrollGranularity granularity) argument
219 page->focusController()->focusedOrMainFrame()->eventHandler()->logicalScrollRecursively(direction, granularity);
/external/compiler-rt/lib/asan/tests/
H A Dasan_noinst_test.cc607 // Make sure that each aligned block of size "2^granularity" doesn't have
609 static void MakeShadowValid(bool *shadow, int length, int granularity) { argument
616 if (i % (1 << granularity) == 0) {
636 MakeShadowValid(expected, kSize, /*granularity*/ 3);
638 MakeShadowValid(expected, kSize, /*granularity*/ 3);
648 MakeShadowValid(expected, kSize, /*granularity*/ 3);
650 MakeShadowValid(expected, kSize, /*granularity*/ 3);
/external/quake/quake/src/WinQuake/
H A Dvid_ext.cpp78 int granularity; // how finely i can set the window in vid mem (+4) member in struct:__anon11872
532 modeinfo.granularity = *(short*)(infobuf+4) * 1024;
560 printf(" win granularity = %d\n", modeinfo.granularity);
/external/qemu/block/
H A Dvmdk.c37 uint32_t granularity; member in struct:__anon10349
50 int64_t granularity; member in struct:__anon10350
281 gt_size = (int64_t)header.num_gtes_per_gte * header.granularity * SECTOR_SIZE;
377 s->cluster_sectors = le32_to_cpu(header.granularity);
390 s->cluster_sectors = le64_to_cpu(header.granularity);
723 header.granularity = cpu_to_le64(128);
726 grains = (total_size + header.granularity - 1) / header.granularity;
737 header.granularity - 1) / header.granularity) *
[all...]
/external/webkit/Source/WebCore/rendering/
H A DRenderListBox.cpp576 bool RenderListBox::scroll(ScrollDirection direction, ScrollGranularity granularity, float multiplier, Node**) argument
578 return ScrollableArea::scroll(direction, granularity, multiplier);
581 bool RenderListBox::logicalScroll(ScrollLogicalDirection direction, ScrollGranularity granularity, float multiplier, Node**) argument
583 return ScrollableArea::scroll(logicalToPhysical(direction, style()->isHorizontalWritingMode(), style()->isFlippedBlocksWritingMode()), granularity, multiplier);
H A DRenderTextControlSingleLine.cpp1081 bool RenderTextControlSingleLine::scroll(ScrollDirection direction, ScrollGranularity granularity, float multiplier, Node** stopNode) argument
1084 if (layer && layer->scroll(direction, granularity, multiplier))
1086 return RenderBlock::scroll(direction, granularity, multiplier, stopNode);
1089 bool RenderTextControlSingleLine::logicalScroll(ScrollLogicalDirection direction, ScrollGranularity granularity, float multiplier, Node** stopNode) argument
1092 if (layer && layer->scroll(logicalToPhysical(direction, style()->isHorizontalWritingMode(), style()->isFlippedBlocksWritingMode()), granularity, multiplier))
1094 return RenderBlock::logicalScroll(direction, granularity, multiplier, stopNode);
/external/qemu/target-i386/
H A Dhax-interface.h101 uint32 granularity : 1; member in struct:segment_desc_t::__anon11109::__anon11110

Completed in 665 milliseconds

12