Searched refs:granularity (Results 1 - 25 of 68) sorted by relevance

123

/external/webkit/Source/WebCore/dom/
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 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
/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)
/external/webkit/Source/WebCore/editing/
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...]
H A DSelectionController.cpp133 void SelectionController::setSelection(const VisibleSelection& s, SetSelectionOptions options, CursorAlignOnScroll align, TextGranularity granularity, DirectionalityPolicy directionalityPolicy) argument
135 m_granularity = granularity;
417 VisiblePosition SelectionController::modifyExtendingRight(TextGranularity granularity) argument
426 switch (granularity) {
441 pos = modifyExtendingForward(granularity);
443 pos = modifyExtendingBackward(granularity);
452 pos = modifyExtendingForward(granularity);
460 VisiblePosition SelectionController::modifyExtendingForward(TextGranularity granularity) argument
463 switch (granularity) {
502 VisiblePosition SelectionController::modifyMovingRight(TextGranularity granularity) argument
535 modifyMovingForward(TextGranularity granularity) argument
585 modifyExtendingLeft(TextGranularity granularity) argument
627 modifyExtendingBackward(TextGranularity granularity) argument
673 modifyMovingLeft(TextGranularity granularity) argument
706 modifyMovingBackward(TextGranularity granularity) argument
750 isBoundary(TextGranularity granularity) argument
755 modify(EAlteration alter, SelectionDirection direction, TextGranularity granularity, bool userTriggered) argument
[all...]
H A DTypingCommand.h85 static PassRefPtr<TypingCommand> create(Document* document, ETypingCommand command, const String& text = "", Options options = 0, TextGranularity granularity = CharacterGranularity)
87 return adoptRef(new TypingCommand(document, command, text, options, granularity, TextCompositionNone));
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 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 DVisibleSelection.h86 bool expandUsingGranularity(TextGranularity granularity);
125 Position m_start; // Leftmost position when expanded to respect granularity
126 Position m_end; // Rightmost position when expanded to respect granularity
/external/webkit/Source/WebCore/page/
H A DDOMSelection.cpp316 TextGranularity granularity;
318 granularity = CharacterGranularity;
320 granularity = WordGranularity;
322 granularity = SentenceGranularity;
324 granularity = LineGranularity;
326 granularity = ParagraphGranularity;
328 granularity = LineBoundary;
330 granularity = SentenceBoundary;
332 granularity = ParagraphBoundary;
334 granularity
[all...]
H A DDOMSelection.h62 void modify(const String& alter, const String& direction, const String& granularity);
H A DDOMSelection.idl77 void modify(in DOMString alter, in DOMString direction, in DOMString granularity);
H A DEventHandler.cpp137 static inline bool scrollNode(float delta, WheelEvent::Granularity granularity, ScrollDirection positiveDirection, ScrollDirection negativeDirection, Node* node, Node** stopNode) argument
150 if (granularity == WheelEvent::Page)
153 if (granularity == WheelEvent::Line)
156 if (granularity == WheelEvent::Pixel)
276 static void setNonDirectionalSelectionIfNeeded(SelectionController* selection, const VisibleSelection& newSelection, TextGranularity granularity) argument
280 selection->setSelection(newSelection, granularity, MakeNonDirectionalSelection);
290 TextGranularity granularity = CharacterGranularity; local
297 granularity = WordGranularity;
303 setNonDirectionalSelectionIfNeeded(m_frame->selection(), newSelection, granularity);
321 TextGranularity granularity local
365 TextGranularity granularity = CharacterGranularity; local
407 TextGranularity granularity = CharacterGranularity; local
1033 scrollOverflow(ScrollDirection direction, ScrollGranularity granularity, Node* startingNode) argument
1054 logicalScrollOverflow(ScrollLogicalDirection direction, ScrollGranularity granularity, Node* startingNode) argument
1075 scrollRecursively(ScrollDirection direction, ScrollGranularity granularity, Node* startingNode) argument
1092 logicalScrollRecursively(ScrollLogicalDirection direction, ScrollGranularity granularity, Node* startingNode) argument
[all...]
/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/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
H A DScrollAnimator.cpp101 if (e.granularity() == ScrollByPageWheelEvent) {
/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/webkit/Source/WebKit/win/Interfaces/
H A DIWebScrollBarPrivate.idl71 HRESULT scroll([in] WebScrollDirection direction, [in] WebScrollGranularity granularity, [in] float multiplier);
/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/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/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/WebKit/mac/WebView/
H A DWebFrameView.mm526 - (BOOL)_scrollOverflowInDirection:(ScrollDirection)direction granularity:(ScrollGranularity)granularity
534 return frame->eventHandler()->scrollOverflow(direction, granularity);
568 if ([self _scrollOverflowInDirection:ScrollUp granularity:ScrollByDocument])
580 if ([self _scrollOverflowInDirection:ScrollDown granularity:ScrollByDocument])
677 if ([self _scrollOverflowInDirection:up ? ScrollUp : ScrollDown granularity:ScrollByPage])
689 if ([self _scrollOverflowInDirection:left ? ScrollLeft : ScrollRight granularity:ScrollByPage])
711 if ([self _scrollOverflowInDirection:up ? ScrollUp : ScrollDown granularity:ScrollByLine])
723 if ([self _scrollOverflowInDirection:left ? ScrollLeft : ScrollRight granularity:ScrollByLine])
/external/webkit/Source/WebKit/win/
H A DWebScrollBar.h109 /* [in] */ WebScrollGranularity granularity,

Completed in 275 milliseconds

123