HomeSort by relevance Sort by last modified time
    Searched refs:granularity (Results 1 - 25 of 69) sorted by null

1 2 3

  /external/webkit/Source/WebCore/dom/
WheelEvent.h 34 enum Granularity { Pixel, Line, Page };
41 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>,
82 Granularity m_granularity;
WheelEvent.cpp 44 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),
  /external/webkit/Source/WebKit2/Shared/
WebWheelEvent.cpp 36 WebWheelEvent::WebWheelEvent(Type type, const IntPoint& position, const IntPoint& globalPosition, const FloatSize& delta, const FloatSize& wheelTicks, Granularity granularity, Modifiers modifiers, double timestamp)
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)
58 , m_granularity(granularity)
  /external/webkit/Source/WebCore/editing/
TypingCommand.cpp 63 TypingCommand::TypingCommand(Document *document, ETypingCommand commandType, const String &textToInsert, Options options, TextGranularity granularity, TextCompositionType compositionType)
70 , m_granularity(granularity)
101 void TypingCommand::deleteKeyPressed(Document *document, Options options, TextGranularity granularity)
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)
129 if (granularity == CharacterGranularity && isOpenForMoreTypingCommand(lastEditCommand)) {
133 lastTypingCommand->forwardDeleteKeyPressed(granularity, options & KillRing);
137 TypingCommand::create(document, ForwardDeleteKey, "", options, granularity)->apply()
    [all...]
SelectionController.cpp 133 void SelectionController::setSelection(const VisibleSelection& s, SetSelectionOptions options, CursorAlignOnScroll align, TextGranularity granularity, DirectionalityPolicy directionalityPolicy)
135 m_granularity = granularity;
417 VisiblePosition SelectionController::modifyExtendingRight(TextGranularity granularity)
426 switch (granularity) {
441 pos = modifyExtendingForward(granularity);
443 pos = modifyExtendingBackward(granularity);
452 pos = modifyExtendingForward(granularity);
460 VisiblePosition SelectionController::modifyExtendingForward(TextGranularity granularity)
463 switch (granularity) {
502 VisiblePosition SelectionController::modifyMovingRight(TextGranularity granularity)
    [all...]
TypingCommand.h 85 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));
SelectionController.h 80 void setSelection(const VisibleSelection& selection, TextGranularity granularity, DirectionalityPolicy directionality = MakeDirectionalSelection) { setSelection(selection, CloseTyping | ClearTypingStyle, AlignCursorOnScrollIfNeeded, granularity, directionality); }
96 TextGranularity granularity() const { return m_granularity; } function in class:WebCore::SelectionController
VisibleSelection.cpp 185 bool VisibleSelection::expandUsingGranularity(TextGranularity granularity)
190 validate(granularity);
267 void VisibleSelection::setStartAndEndFromBaseAndExtentRespectingGranularity(TextGranularity granularity)
277 switch (granularity) {
409 void VisibleSelection::validate(TextGranularity granularity)
412 setStartAndEndFromBaseAndExtentRespectingGranularity(granularity);
  /external/webkit/Source/WebCore/page/
DOMSelection.cpp 316 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 = DocumentBoundary
    [all...]
DOMSelection.h 62 void modify(const String& alter, const String& direction, const String& granularity);
DOMSelection.idl 77 void modify(in DOMString alter, in DOMString direction, in DOMString granularity);
EventHandler.cpp 137 static inline bool scrollNode(float delta, WheelEvent::Granularity granularity, ScrollDirection positiveDirection, ScrollDirection negativeDirection, Node* node, Node** stopNode)
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)
280 selection->setSelection(newSelection, granularity, MakeNonDirectionalSelection);
290 TextGranularity granularity = CharacterGranularity; local
297 granularity = WordGranularity;
303 setNonDirectionalSelectionIfNeeded(m_frame->selection(), newSelection, granularity);
321 TextGranularity granularity = CharacterGranularity; local
365 TextGranularity granularity = CharacterGranularity; local
407 TextGranularity granularity = CharacterGranularity; local
    [all...]
  /external/webkit/Source/WebKit2/WebProcess/WebPage/gtk/
WebPageGtk.cpp 55 static inline void scroll(Page* page, ScrollDirection direction, ScrollGranularity granularity)
57 page->focusController()->focusedOrMainFrame()->eventHandler()->scrollRecursively(direction, granularity);
  /external/webkit/Source/WebCore/platform/
ScrollAnimatorWin.cpp 77 bool ScrollAnimatorWin::scroll(ScrollbarOrientation orientation, ScrollGranularity granularity, float step, float multiplier)
80 if (granularity == ScrollByDocument)
81 return ScrollAnimator::scroll(orientation, granularity, step, multiplier);
ScrollableArea.cpp 58 bool ScrollableArea::scroll(ScrollDirection direction, ScrollGranularity granularity, float multiplier)
74 switch (granularity) {
92 return m_scrollAnimator->scroll(orientation, granularity, step, multiplier);
  /external/webkit/Source/WebKit2/WebProcess/WebPage/qt/
WebPageQt.cpp 212 static inline void scroll(Page* page, ScrollDirection direction, ScrollGranularity granularity)
214 page->focusController()->focusedOrMainFrame()->eventHandler()->scrollRecursively(direction, granularity);
217 static inline void logicalScroll(Page* page, ScrollLogicalDirection direction, ScrollGranularity granularity)
219 page->focusController()->focusedOrMainFrame()->eventHandler()->logicalScrollRecursively(direction, granularity);
  /external/webkit/Source/WebKit/mac/WebView/
WebFrameInternal.h 141 - (DOMRange *)_rangeByAlteringCurrentSelection:(WebCore::SelectionController::EAlteration)alteration direction:(WebCore::SelectionDirection)direction granularity:(WebCore::TextGranularity)granularity;
WebFrameView.mm 526 - (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])
    [all...]
  /external/webkit/Source/WebKit/win/Interfaces/
IWebScrollBarPrivate.idl 71 HRESULT scroll([in] WebScrollDirection direction, [in] WebScrollGranularity granularity, [in] float multiplier);
  /external/webkit/Source/JavaScriptCore/jit/
ExecutableAllocator.h 82 inline size_t roundUpAllocationSize(size_t request, size_t granularity)
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/WebKit/win/
WebScrollBar.h 109 /* [in] */ WebScrollGranularity granularity,
  /hardware/ti/omap3/omx/system/src/openmax_il/perf/inc/
perf_rt.h 105 long granularity; member in struct:PERF_RT_Private
  /external/webkit/Source/WebKit2/Shared/win/
WebEventFactory.cpp 407 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/
vmdk.c 37 uint32_t granularity; member in struct:__anon9534
50 int64_t granularity; member in struct:__anon9535
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...]
  /hardware/ti/omap3/omx/system/src/openmax_il/perf/src/
perf_rt.c 136 me->granularity = (config->rt_granularity < 1) ? 1 :
139 me->granularity *= 1000000; /* convert to microsecs */
546 /* see if we passed our granularity */
548 if (steps >= me->granularity)
550 steps /= me->granularity;
558 (me->dRate[i].tn < me->granularity * steps))
568 TIME_INCREASE(me->dRate[i].last_reporting, me->granularity * steps);
578 /* see if we surpassed our granularity. if yes, calculate
585 TIME_INCREASE(me->dRate[i].last_reporting, me->granularity);
721 /* see if we passed our granularity. if yes, calculate uptime *
    [all...]

Completed in 515 milliseconds

1 2 3