Home
last modified time | relevance | path

Searched refs:granularity (Results 1 – 25 of 51) sorted by relevance

123

/external/webkit/WebCore/editing/
DSelectionController.cpp262 VisiblePosition SelectionController::modifyExtendingRight(TextGranularity granularity) in modifyExtendingRight() argument
271 switch (granularity) { in modifyExtendingRight()
292 pos = modifyExtendingForward(granularity); in modifyExtendingRight()
297 VisiblePosition SelectionController::modifyExtendingForward(TextGranularity granularity) in modifyExtendingForward() argument
300 switch (granularity) { in modifyExtendingForward()
337 VisiblePosition SelectionController::modifyMovingRight(TextGranularity granularity) in modifyMovingRight() argument
340 switch (granularity) { in modifyMovingRight()
356 pos = modifyMovingForward(granularity); in modifyMovingRight()
362 VisiblePosition SelectionController::modifyMovingForward(TextGranularity granularity) in modifyMovingForward() argument
366 switch (granularity) { in modifyMovingForward()
[all …]
DTypingCommand.cpp50 …e, const String &textToInsert, bool selectInsertedText, TextGranularity granularity, bool killRing) in TypingCommand() argument
57 m_granularity(granularity), in TypingCommand()
85 …:deleteKeyPressed(Document *document, bool smartDelete, TextGranularity granularity, bool killRing) in deleteKeyPressed() argument
94 static_cast<TypingCommand*>(lastEditCommand)->deleteKeyPressed(granularity, killRing); in deleteKeyPressed()
98 …mand> typingCommand = TypingCommand::create(document, DeleteKey, "", false, granularity, killRing); in deleteKeyPressed()
103 …dDeleteKeyPressed(Document *document, bool smartDelete, TextGranularity granularity, bool killRing) in forwardDeleteKeyPressed() argument
113 … static_cast<TypingCommand*>(lastEditCommand)->forwardDeleteKeyPressed(granularity, killRing); in forwardDeleteKeyPressed()
117 …ypingCommand = TypingCommand::create(document, ForwardDeleteKey, "", false, granularity, killRing); in forwardDeleteKeyPressed()
415 void TypingCommand::deleteKeyPressed(TextGranularity granularity, bool killRing) in deleteKeyPressed() argument
435 … selection.modify(SelectionController::EXTEND, SelectionController::BACKWARD, granularity); in deleteKeyPressed()
[all …]
DVisibleSelection.h83 bool expandUsingGranularity(TextGranularity granularity);
84 TextGranularity granularity() const { return m_granularity; } in granularity() function
133 …) && a.end() == b.end() && a.affinity() == b.affinity() && a.granularity() == b.granularity() && a…
DTypingCommand.h69 …st String& text = "", bool selectInsertedText = false, TextGranularity granularity = CharacterGran…
71 …return adoptRef(new TypingCommand(document, command, text, selectInsertedText, granularity, killRi…
DVisibleSelection.cpp188 bool VisibleSelection::expandUsingGranularity(TextGranularity granularity) in expandUsingGranularity() argument
193 m_granularity = granularity; in expandUsingGranularity()
/external/webkit/WebCore/page/
DDOMSelection.cpp289 TextGranularity granularity; in modify() local
291 granularity = CharacterGranularity; in modify()
293 granularity = WordGranularity; in modify()
295 granularity = SentenceGranularity; in modify()
297 granularity = LineGranularity; in modify()
299 granularity = ParagraphGranularity; in modify()
301 granularity = LineBoundary; in modify()
303 granularity = SentenceBoundary; in modify()
305 granularity = ParagraphBoundary; in modify()
307 granularity = DocumentBoundary; in modify()
[all …]
DDOMSelection.h63 void modify(const String& alter, const String& direction, const String& granularity);
DDOMSelection.idl75 void modify(in DOMString alter, in DOMString direction, in DOMString granularity);
DEventHandler.cpp120 if (e.granularity() == ScrollByPageWheelEvent) { in scrollAndAcceptEvent()
878 bool EventHandler::scrollOverflow(ScrollDirection direction, ScrollGranularity granularity) in scrollOverflow() argument
887 return r->enclosingBox()->scroll(direction, granularity); in scrollOverflow()
893 bool EventHandler::scrollRecursively(ScrollDirection direction, ScrollGranularity granularity) in scrollRecursively() argument
895 bool handled = scrollOverflow(direction, granularity); in scrollRecursively()
900 handled = view ? view->scroll(direction, granularity) : false; in scrollRecursively()
/external/webkit/JavaScriptCore/jit/
DExecutableAllocator.h54 inline size_t roundUpAllocationSize(size_t request, size_t granularity) in roundUpAllocationSize() argument
56 if ((std::numeric_limits<size_t>::max() - granularity) <= request) in roundUpAllocationSize()
60 size_t size = request + (granularity - 1); in roundUpAllocationSize()
61 size = size & ~(granularity - 1); in roundUpAllocationSize()
/external/qemu/block/
Dvmdk.c37 uint32_t granularity; member
50 int64_t granularity; member
272 gt_size = (int64_t)header.num_gtes_per_gte * header.granularity * SECTOR_SIZE; in vmdk_snapshot_create()
390 s->cluster_sectors = le32_to_cpu(header.granularity); in vmdk_open()
403 s->cluster_sectors = le64_to_cpu(header.granularity); in vmdk_open()
745 header.granularity = cpu_to_le64(128); in vmdk_create()
748 grains = (total_size + header.granularity - 1) / header.granularity; in vmdk_create()
759 header.granularity - 1) / header.granularity) * in vmdk_create()
760 header.granularity; in vmdk_create()
/external/webkit/WebCore/platform/
DScrollbar.cpp118 bool Scrollbar::scroll(ScrollDirection direction, ScrollGranularity granularity, float multiplier) in scroll() argument
126 if (granularity == ScrollByLine) in scroll()
128 else if (granularity == ScrollByPage) in scroll()
130 else if (granularity == ScrollByDocument) in scroll()
132 else if (granularity == ScrollByPixel) in scroll()
DScrollView.cpp313 bool ScrollView::scroll(ScrollDirection direction, ScrollGranularity granularity) in scroll() argument
316 return platformScroll(direction, granularity); in scroll()
320 return m_verticalScrollbar->scroll(direction, granularity); in scroll()
323 return m_horizontalScrollbar->scroll(direction, granularity); in scroll()
682 if (e.granularity() == ScrollByPageWheelEvent) { in wheelEvent()
DPlatformWheelEvent.h75 PlatformWheelEventGranularity granularity() const { return m_granularity; } in granularity() function
/external/webkit/WebKit/win/
DWebScrollBar.cpp245 WebScrollGranularity granularity, in scroll() argument
249 ScrollGranularity webCoreGranularity = (ScrollGranularity) granularity; in scroll()
DWebScrollBar.h114 /* [in] */ WebScrollGranularity granularity,
/external/webkit/WebKit/mac/WebView/
DWebFrameInternal.h140 …(WebCore::SelectionController::EDirection)direction granularity:(WebCore::TextGranularity)granular…
DWebFrameView.mm517 …OL)_scrollOverflowInDirection:(ScrollDirection)direction granularity:(ScrollGranularity)granularity
525 return frame->eventHandler()->scrollOverflow(direction, granularity);
530 if ([self _scrollOverflowInDirection:ScrollUp granularity:ScrollByDocument])
540 if ([self _scrollOverflowInDirection:ScrollDown granularity:ScrollByDocument])
617 if ([self _scrollOverflowInDirection:up ? ScrollUp : ScrollDown granularity:ScrollByPage])
629 if ([self _scrollOverflowInDirection:left ? ScrollLeft : ScrollRight granularity:ScrollByPage])
641 if ([self _scrollOverflowInDirection:up ? ScrollUp : ScrollDown granularity:ScrollByLine])
653 if ([self _scrollOverflowInDirection:left ? ScrollLeft : ScrollRight granularity:ScrollByLine])
/external/webkit/WebKit/qt/Api/
Dqwebpage.cpp1021 ScrollGranularity granularity; in handleScrolling() local
1026 granularity = ScrollByPage; in handleScrolling()
1030 granularity = ScrollByPage; in handleScrolling()
1036 granularity = ScrollByDocument; in handleScrolling()
1040 granularity = ScrollByDocument; in handleScrolling()
1045 granularity = ScrollByLine; in handleScrolling()
1049 granularity = ScrollByLine; in handleScrolling()
1053 granularity = ScrollByLine; in handleScrolling()
1057 granularity = ScrollByLine; in handleScrolling()
1065 return frame->eventHandler()->scrollRecursively(direction, granularity); in handleScrolling()
/external/webkit/WebCore/rendering/
DRenderTextControlSingleLine.cpp835 bool RenderTextControlSingleLine::scroll(ScrollDirection direction, ScrollGranularity granularity, … in scroll() argument
838 if (layer && layer->scroll(direction, granularity, multiplier)) in scroll()
840 return RenderBlock::scroll(direction, granularity, multiplier); in scroll()
DRenderListBox.cpp511 bool RenderListBox::scroll(ScrollDirection direction, ScrollGranularity granularity, float multipli… in scroll() argument
513 return m_vBar && m_vBar->scroll(direction, granularity, multiplier); in scroll()
/external/libffi/src/
Ddlmalloc.c2046 size_t granularity; member
2086 (((S) + (mparams.granularity)) & ~(mparams.granularity - SIZE_T_ONE))
2091 (((size_t)(S) & (mparams.granularity - SIZE_T_ONE)) == 0)
2497 mparams.granularity = ((DEFAULT_GRANULARITY != 0)? in init_mparams()
2504 mparams.granularity = system_info.dwAllocationGranularity; in init_mparams()
2520 ((mparams.granularity & (mparams.granularity-SIZE_T_ONE)) != 0) || in init_mparams()
2537 mparams.granularity = val; in change_mparam()
3186 (oldsize - nb) <= (mparams.granularity << 1)) in mmap_resize()
3600 size_t unit = mparams.granularity; in sys_trim()
4432 size_t rs = ((capacity == 0)? mparams.granularity : in create_mspace()
/external/qemu/distrib/sdl-1.2.12/src/stdlib/
DSDL_malloc.c2056 size_t granularity; member
2096 (((S) + (mparams.granularity)) & ~(mparams.granularity - SIZE_T_ONE))
2101 (((size_t)(S) & (mparams.granularity - SIZE_T_ONE)) == 0)
2507 mparams.granularity = ((DEFAULT_GRANULARITY != 0)? in init_mparams()
2514 mparams.granularity = system_info.dwAllocationGranularity; in init_mparams()
2530 ((mparams.granularity & (mparams.granularity-SIZE_T_ONE)) != 0) || in init_mparams()
2547 mparams.granularity = val; in change_mparam()
3198 (oldsize - nb) <= (mparams.granularity << 1)) in mmap_resize()
3610 size_t unit = mparams.granularity; in sys_trim()
4442 size_t rs = ((capacity == 0)? mparams.granularity : in create_mspace()
/external/webkit/WebKit/win/Interfaces/
DIWebScrollBarPrivate.idl71 …HRESULT scroll([in] WebScrollDirection direction, [in] WebScrollGranularity granularity, [in] floa…
/external/webkit/WebKit/gtk/webkit/
Dwebkitwebview.cpp879 ScrollGranularity granularity; in webkit_web_view_real_move_cursor() local
883 granularity = ScrollByLine; in webkit_web_view_real_move_cursor()
890 granularity = ScrollByLine; in webkit_web_view_real_move_cursor()
897 granularity = ScrollByPage; in webkit_web_view_real_move_cursor()
904 granularity = ScrollByDocument; in webkit_web_view_real_move_cursor()
916 if (!frame->eventHandler()->scrollOverflow(direction, granularity)) in webkit_web_view_real_move_cursor()
917 frame->view()->scroll(direction, granularity); in webkit_web_view_real_move_cursor()

123