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

/external/webkit/WebCore/editing/
H A DVisibleSelection.h83 bool expandUsingGranularity(TextGranularity granularity);
84 TextGranularity granularity() const { return m_granularity; } function in class:WebCore::VisibleSelection
124 Position m_start; // Leftmost position when expanded to respect granularity
125 Position m_end; // Rightmost position when expanded to respect granularity
128 TextGranularity m_granularity; // granularity of start/end selection
137 return a.start() == b.start() && a.end() == b.end() && a.affinity() == b.affinity() && a.granularity() == b.granularity() && a.isBaseFirst() == b.isBaseFirst();
H A DTypingCommand.cpp50 TypingCommand::TypingCommand(Document *document, ETypingCommand commandType, const String &textToInsert, bool selectInsertedText, TextGranularity granularity, bool killRing) argument
57 m_granularity(granularity),
85 void TypingCommand::deleteKeyPressed(Document *document, bool smartDelete, TextGranularity granularity, bool killRing) argument
93 if (granularity == CharacterGranularity && isOpenForMoreTypingCommand(lastEditCommand)) {
94 static_cast<TypingCommand*>(lastEditCommand)->deleteKeyPressed(granularity, killRing);
98 RefPtr<TypingCommand> typingCommand = TypingCommand::create(document, DeleteKey, "", false, granularity, killRing);
103 void TypingCommand::forwardDeleteKeyPressed(Document *document, bool smartDelete, TextGranularity granularity, bool killRing) argument
112 if (granularity == CharacterGranularity && isOpenForMoreTypingCommand(lastEditCommand)) {
113 static_cast<TypingCommand*>(lastEditCommand)->forwardDeleteKeyPressed(granularity, killRing);
117 RefPtr<TypingCommand> typingCommand = TypingCommand::create(document, ForwardDeleteKey, "", false, granularity, killRin
415 deleteKeyPressed(TextGranularity granularity, bool killRing) argument
511 forwardDeleteKeyPressed(TextGranularity granularity, bool killRing) argument
[all...]
H A DVisibleSelection.cpp188 bool VisibleSelection::expandUsingGranularity(TextGranularity granularity) argument
193 m_granularity = granularity;
H A DSelectionController.cpp268 VisiblePosition SelectionController::modifyExtendingRight(TextGranularity granularity) argument
277 switch (granularity) {
298 pos = modifyExtendingForward(granularity);
303 VisiblePosition SelectionController::modifyExtendingForward(TextGranularity granularity) argument
306 switch (granularity) {
343 VisiblePosition SelectionController::modifyMovingRight(TextGranularity granularity) argument
346 switch (granularity) {
362 pos = modifyMovingForward(granularity);
368 VisiblePosition SelectionController::modifyMovingForward(TextGranularity granularity) argument
372 switch (granularity) {
417 modifyExtendingLeft(TextGranularity granularity) argument
451 modifyExtendingBackward(TextGranularity granularity) argument
495 modifyMovingLeft(TextGranularity granularity) argument
520 modifyMovingBackward(TextGranularity granularity) argument
562 modify(EAlteration alter, EDirection dir, TextGranularity granularity, bool userTriggered) argument
738 expandUsingGranularity(TextGranularity granularity) argument
[all...]
H A DEditorCommand.cpp212 static bool expandSelectionToGranularity(Frame* frame, TextGranularity granularity) argument
215 selection.expandUsingGranularity(granularity);
H A DEditor.cpp227 bool Editor::deleteWithDirection(SelectionController::EDirection direction, TextGranularity granularity, bool killRing, bool isTypingAction) argument
234 TypingCommand::deleteKeyPressed(m_frame->document(), canSmartCopyOrDelete(), granularity);
246 TypingCommand::forwardDeleteKeyPressed(m_frame->document(), canSmartCopyOrDelete(), granularity, killRing);
250 TypingCommand::deleteKeyPressed(m_frame->document(), canSmartCopyOrDelete(), granularity, killRing);
/external/webkit/JavaScriptCore/jit/
H A DExecutableAllocator.h65 inline size_t roundUpAllocationSize(size_t request, size_t granularity) argument
67 if ((std::numeric_limits<size_t>::max() - granularity) <= request)
71 size_t size = request + (granularity - 1);
72 size = size & ~(granularity - 1);
/external/webkit/WebCore/platform/
H A DPlatformWheelEvent.h94 PlatformWheelEventGranularity granularity() const { return m_granularity; } function in class:WebCore::PlatformWheelEvent
H A DScrollbar.cpp125 bool Scrollbar::scroll(ScrollDirection direction, ScrollGranularity granularity, float multiplier) argument
145 if (granularity == ScrollByLine)
147 else if (granularity == ScrollByPage)
149 else if (granularity == ScrollByDocument)
151 else if (granularity == ScrollByPixel)
H A DScrollView.cpp320 bool ScrollView::scroll(ScrollDirection direction, ScrollGranularity granularity) argument
323 return platformScroll(direction, granularity);
327 return m_verticalScrollbar->scroll(direction, granularity);
330 return m_horizontalScrollbar->scroll(direction, granularity);
667 if (e.granularity() == ScrollByPageWheelEvent) {
/external/webkit/WebKit/win/
H A DWebScrollBar.cpp245 WebScrollGranularity granularity,
249 ScrollGranularity webCoreGranularity = (ScrollGranularity) granularity;
243 scroll( WebScrollDirection direction, WebScrollGranularity granularity, float multiplier) argument
/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:__anon5653
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:__anon4349
50 int64_t granularity; member in struct:__anon4350
272 gt_size = (int64_t)header.num_gtes_per_gte * header.granularity * SECTOR_SIZE;
390 s->cluster_sectors = le32_to_cpu(header.granularity);
403 s->cluster_sectors = le64_to_cpu(header.granularity);
745 header.granularity = cpu_to_le64(128);
748 grains = (total_size + header.granularity - 1) / header.granularity;
759 header.granularity - 1) / header.granularity) *
[all...]
/external/webkit/WebCore/rendering/
H A DRenderListBox.cpp513 bool RenderListBox::scroll(ScrollDirection direction, ScrollGranularity granularity, float multiplier, Node**) argument
515 return m_vBar && m_vBar->scroll(direction, granularity, multiplier);
H A DRenderTextControlSingleLine.cpp826 bool RenderTextControlSingleLine::scroll(ScrollDirection direction, ScrollGranularity granularity, float multiplier, Node** stopNode) argument
829 if (layer && layer->scroll(direction, granularity, multiplier))
831 return RenderBlock::scroll(direction, granularity, multiplier, stopNode);
H A DRenderBox.cpp417 bool RenderBox::scroll(ScrollDirection direction, ScrollGranularity granularity, float multiplier, Node** stopNode) argument
420 if (l && l->scroll(direction, granularity, multiplier)) {
431 return b->scroll(direction, granularity, multiplier, stopNode);
H A DRenderLayer.cpp2119 bool RenderLayer::scroll(ScrollDirection direction, ScrollGranularity granularity, float multiplier) argument
2125 if (granularity == ScrollByDocument) {
2126 // Special-case for the ScrollByDocument granularity. A document scroll can only be up
2130 didHorizontalScroll = m_hBar->scroll(direction, granularity, multiplier);
2134 didVerticalScroll = m_vBar->scroll(direction, granularity, multiplier);
/external/webkit/WebCore/dom/
H A DElement.cpp220 void Element::scrollByUnits(int units, ScrollGranularity granularity) argument
230 toRenderBox(rend)->layer()->scroll(direction, granularity, units);
/external/webkit/WebCore/page/
H A DEventHandler.cpp123 if (e.granularity() == ScrollByPageWheelEvent) {
914 bool EventHandler::scrollOverflow(ScrollDirection direction, ScrollGranularity granularity) argument
922 if (r && !r->isListBox() && r->enclosingBox()->scroll(direction, granularity)) {
931 bool EventHandler::scrollRecursively(ScrollDirection direction, ScrollGranularity granularity) argument
933 bool handled = scrollOverflow(direction, granularity);
938 handled = view ? view->scroll(direction, granularity) : false;
H A DFrame.cpp372 void Frame::setSelectionGranularity(TextGranularity granularity) argument
374 m_selectionGranularity = granularity;
/external/webkit/WebKit/qt/Api/
H A Dqwebpage.cpp1337 ScrollGranularity granularity; local
1342 granularity = ScrollByPage;
1346 granularity = ScrollByPage;
1352 granularity = ScrollByDocument;
1356 granularity = ScrollByDocument;
1361 granularity = ScrollByLine;
1365 granularity = ScrollByLine;
1369 granularity = ScrollByLine;
1373 granularity = ScrollByLine;
1381 return frame->eventHandler()->scrollRecursively(direction, granularity);
[all...]
/external/bluetooth/glib/glib/
H A Dgmain.c184 guint granularity; member in struct:_GTimeoutSource
3134 if (timeout_source->granularity)
3140 gran = timeout_source->granularity * 1000;
3300 * The scheduling granularity/accuracy of this timeout source will be
3315 timeout_source->granularity = 1000;
3430 * Unlike g_timeout_add(), this function operates at whole second granularity.
/external/webkit/WebKit/gtk/webkit/
H A Dwebkitwebview.cpp958 ScrollGranularity granularity; local
962 granularity = ScrollByLine;
969 granularity = ScrollByLine;
976 granularity = ScrollByPage;
983 granularity = ScrollByDocument;
995 if (!frame->eventHandler()->scrollOverflow(direction, granularity))
996 frame->view()->scroll(direction, granularity);
/external/libffi/src/
H A Ddlmalloc.c1004 given initial capacity, or, if 0, the default granularity size. It
2046 size_t granularity; member in struct:malloc_params
2084 /* granularity-align a size */
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)?
2504 mparams.granularity = system_info.dwAllocationGranularity;
2520 ((mparams.granularity & (mparams.granularity
[all...]
/external/qemu/distrib/sdl-1.2.12/src/stdlib/
H A DSDL_malloc.c1048 given initial capacity, or, if 0, the default granularity size. It
2056 size_t granularity; member in struct:malloc_params
2094 /* granularity-align a size */
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)?
2514 mparams.granularity = system_info.dwAllocationGranularity;
2530 ((mparams.granularity & (mparams.granularity
[all...]

Completed in 459 milliseconds