/external/chromium_org/third_party/WebKit/Source/core/platform/ |
ScrollAnimator.cpp | 90 ScrollGranularity granularity = e.hasPreciseScrollingDeltas() ? ScrollByPrecisePixel : ScrollByPixel; local 92 ScrollGranularity granularity = ScrollByPixel; local 104 if (e.granularity() == ScrollByPageWheelEvent) { 111 scroll(VerticalScrollbar, granularity, m_scrollableArea->pixelStep(VerticalScrollbar), -deltaY); 115 if (e.granularity() == ScrollByPageWheelEvent) { 122 scroll(HorizontalScrollbar, granularity, m_scrollableArea->pixelStep(HorizontalScrollbar), -deltaX);
|
PlatformWheelEvent.h | 80 PlatformWheelEvent(IntPoint position, IntPoint globalPosition, float deltaX, float deltaY, float wheelTicksX, float wheelTicksY, PlatformWheelEventGranularity granularity, bool shiftKey, bool ctrlKey, bool altKey, bool metaKey) 88 , m_granularity(granularity) 122 PlatformWheelEventGranularity granularity() const { return m_granularity; } function in class:WebCore::PlatformWheelEvent
|
ScrollAnimatorNone.cpp | 384 ScrollAnimatorNone::Parameters ScrollAnimatorNone::parametersForScrollGranularity(ScrollGranularity granularity) const 386 switch (granularity) { 401 bool ScrollAnimatorNone::scroll(ScrollbarOrientation orientation, ScrollGranularity granularity, float step, float multiplier) 404 return ScrollAnimator::scroll(orientation, granularity, step, multiplier); 411 switch (granularity) { 416 parameters = parametersForScrollGranularity(granularity); 419 return ScrollAnimator::scroll(orientation, granularity, step, multiplier); 424 return ScrollAnimator::scroll(orientation, granularity, step, multiplier);
|
ScrollableArea.cpp | 103 bool ScrollableArea::scroll(ScrollDirection direction, ScrollGranularity granularity, float multiplier) 116 switch (granularity) { 135 return scrollAnimator()->scroll(orientation, granularity, step, multiplier);
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
MemoryInfo.cpp | 105 size_t granularity = nextPowerOfTen / 1000; // We want 3 signficant digits. local 109 bucketSizeList[i] = currentBucketSize - (currentBucketSize % granularity); 117 granularity *= 10;
|
DOMSelection.cpp | 311 TextGranularity granularity; 313 granularity = CharacterGranularity; 315 granularity = WordGranularity; 317 granularity = SentenceGranularity; 319 granularity = LineGranularity; 321 granularity = ParagraphGranularity; 323 granularity = LineBoundary; 325 granularity = SentenceBoundary; 327 granularity = ParagraphBoundary; 329 granularity = DocumentBoundary [all...] |
DOMSelection.h | 65 void modify(const String& alter, const String& direction, const String& granularity);
|
Selection.idl | 74 [Default=Undefined] optional DOMString granularity);
|
EventHandler.cpp | 250 static inline bool scrollNode(float delta, ScrollGranularity granularity, ScrollDirection positiveDirection, ScrollDirection negativeDirection, Node* node, Node** stopNode) 258 return enclosingBox->scroll(delta < 0 ? negativeDirection : positiveDirection, granularity, absDelta, stopNode); 397 bool EventHandler::updateSelectionForMouseDownDispatchingSelectStart(Node* targetNode, const VisibleSelection& selection, TextGranularity granularity) 408 granularity = CharacterGranularity; 412 m_frame->selection()->setNonDirectionalSelectionIfNeeded(selection, granularity); 565 TextGranularity granularity = CharacterGranularity; local 590 if (m_frame->selection()->granularity() != CharacterGranularity) { 591 granularity = m_frame->selection()->granularity(); 592 newSelection.expandUsingGranularity(m_frame->selection()->granularity()); 2192 ScrollGranularity granularity = wheelGranularityToScrollGranularity(wheelEvent->deltaMode()); local 2548 ScrollGranularity granularity = ScrollByPixel; local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
TypingCommand.cpp | 76 TypingCommand::TypingCommand(Document *document, ETypingCommand commandType, const String &textToInsert, Options options, TextGranularity granularity, TextCompositionType compositionType) 83 , m_granularity(granularity) 112 void TypingCommand::deleteKeyPressed(Document *document, Options options, TextGranularity granularity) 115 if (granularity == CharacterGranularity) { 119 lastTypingCommand->deleteKeyPressed(granularity, options & KillRing); 124 TypingCommand::create(document, DeleteKey, "", options, granularity)->apply(); 127 void TypingCommand::forwardDeleteKeyPressed(Document *document, Options options, TextGranularity granularity) 132 if (granularity == CharacterGranularity) { 136 lastTypingCommand->forwardDeleteKeyPressed(granularity, options & KillRing); 141 TypingCommand::create(document, ForwardDeleteKey, "", options, granularity)->apply() [all...] |
FrameSelection.cpp | 196 void FrameSelection::setNonDirectionalSelectionIfNeeded(const VisibleSelection& passedNewSelection, TextGranularity granularity, 222 setSelection(newSelection, granularity); 225 void FrameSelection::setSelection(const VisibleSelection& newSelection, SetSelectionOptions options, CursorAlignOnScroll align, TextGranularity granularity) 246 document->frame()->selection()->setSelection(s, options, align, granularity); 256 m_granularity = granularity; 566 VisiblePosition FrameSelection::modifyExtendingRight(TextGranularity granularity) 575 switch (granularity) { 590 pos = modifyExtendingForward(granularity); 592 pos = modifyExtendingBackward(granularity); 601 pos = modifyExtendingForward(granularity); [all...] |
TypingCommand.h | 81 static PassRefPtr<TypingCommand> create(Document* document, ETypingCommand command, const String& text = "", Options options = 0, TextGranularity granularity = CharacterGranularity) 83 return adoptRef(new TypingCommand(document, command, text, options, granularity, TextCompositionNone));
|
FrameSelection.h | 98 void setSelection(const VisibleSelection& selection, TextGranularity granularity) { setSelection(selection, CloseTyping | ClearTypingStyle, AlignCursorOnScrollIfNeeded, granularity); } 117 TextGranularity granularity() const { return m_granularity; } function in class:WebCore::FrameSelection
|
VisibleSelection.cpp | 195 bool VisibleSelection::expandUsingGranularity(TextGranularity granularity) 200 validate(granularity); 277 void VisibleSelection::setStartAndEndFromBaseAndExtentRespectingGranularity(TextGranularity granularity) 287 switch (granularity) { 417 void VisibleSelection::validate(TextGranularity granularity) 420 setStartAndEndFromBaseAndExtentRespectingGranularity(granularity);
|
VisibleSelection.h | 91 bool expandUsingGranularity(TextGranularity granularity); 137 Position m_start; // Leftmost position when expanded to respect granularity 138 Position m_end; // Rightmost position when expanded to respect granularity
|
/external/chromium_org/content/renderer/pepper/ |
ppb_scrollbar_impl.cc | 118 WebScrollbar::ScrollGranularity granularity; local 120 granularity = WebScrollbar::ScrollByLine; 122 granularity = WebScrollbar::ScrollByPage; 124 granularity = WebScrollbar::ScrollByDocument; 126 granularity = WebScrollbar::ScrollByPixel; 131 scrollbar_->scroll(direction, granularity, fmultiplier);
|
/external/chromium_org/chrome/browser/extensions/api/alarms/ |
alarm_manager.cc | 32 const char kAlarmGranularity[] = "granularity"; 70 base::GetValueAsTimeDelta(*time_value, &alarm.granularity); 83 base::CreateTimeDeltaValue(alarms[i].granularity)); 271 // granularity of any alarm. 284 if (l_it->granularity < min_granularity) 285 min_granularity = l_it->granularity; 377 granularity = base::Time::FromJsTime(js_alarm->scheduled_time) - now; 388 granularity = delay; 391 if (granularity < min_granularity) 392 granularity = min_granularity [all...] |
alarm_manager.h | 39 // The granularity isn't exposed to the extension's javascript, but we poll at 40 // least as often as the shortest alarm's granularity. It's initialized as 44 base::TimeDelta granularity; member in struct:extensions::Alarm 138 // but not more often than the minimum granularity of all alarms.
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderTextControlSingleLine.cpp | 453 bool RenderTextControlSingleLine::scroll(ScrollDirection direction, ScrollGranularity granularity, float multiplier, Node** stopNode) 459 if (layer && layer->scroll(direction, granularity, multiplier)) 461 return RenderBlock::scroll(direction, granularity, multiplier, stopNode); 464 bool RenderTextControlSingleLine::logicalScroll(ScrollLogicalDirection direction, ScrollGranularity granularity, float multiplier, Node** stopNode) 467 if (layer && layer->scroll(logicalToPhysical(direction, style()->isHorizontalWritingMode(), style()->isFlippedBlocksWritingMode()), granularity, multiplier)) 469 return RenderBlock::logicalScroll(direction, granularity, multiplier, stopNode);
|
RenderEmbeddedObject.cpp | 281 bool RenderEmbeddedObject::scroll(ScrollDirection direction, ScrollGranularity granularity, float, Node**) 286 bool RenderEmbeddedObject::logicalScroll(ScrollLogicalDirection direction, ScrollGranularity granularity, float multiplier, Node** stopNode)
|
/hardware/ti/omap3/omx/system/src/openmax_il/perf/inc/ |
perf_rt.h | 105 long granularity; member in struct:PERF_RT_Private
|
/external/qemu/block/ |
vmdk.c | 37 uint32_t granularity; member in struct:__anon26589 50 int64_t granularity; member in struct:__anon26590 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...] |
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/accessibility/ |
JellyBeanAccessibilityInjector.java | 130 final int granularity = arguments.getInt(AccessibilityNodeInfo. local 132 mAccessibilityJSONObject.accumulate("granularity", granularity);
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
WheelEvent.cpp | 115 return event.granularity() == ScrollByPageWheelEvent ? WheelEvent::DOM_DELTA_PAGE : WheelEvent::DOM_DELTA_PIXEL;
|