/external/chromium_org/third_party/WebKit/Source/platform/scroll/ |
ScrollAnimator.cpp | 89 ScrollGranularity granularity = e.hasPreciseScrollingDeltas() ? ScrollByPrecisePixel : ScrollByPixel; local 91 ScrollGranularity granularity = ScrollByPixel; local 103 if (e.granularity() == ScrollByPageWheelEvent) { 110 scroll(VerticalScrollbar, granularity, m_scrollableArea->pixelStep(VerticalScrollbar), -deltaY); 114 if (e.granularity() == ScrollByPageWheelEvent) { 121 scroll(HorizontalScrollbar, granularity, m_scrollableArea->pixelStep(HorizontalScrollbar), -deltaX);
|
ScrollAnimatorNone.cpp | 381 ScrollAnimatorNone::Parameters ScrollAnimatorNone::parametersForScrollGranularity(ScrollGranularity granularity) const 383 switch (granularity) { 398 bool ScrollAnimatorNone::scroll(ScrollbarOrientation orientation, ScrollGranularity granularity, float step, float multiplier) 401 return ScrollAnimator::scroll(orientation, granularity, step, multiplier); 408 switch (granularity) { 413 parameters = parametersForScrollGranularity(granularity); 416 return ScrollAnimator::scroll(orientation, granularity, step, multiplier); 421 return ScrollAnimator::scroll(orientation, granularity, step, multiplier);
|
ScrollableArea.cpp | 102 bool ScrollableArea::scroll(ScrollDirection direction, ScrollGranularity granularity, float multiplier) 115 switch (granularity) { 134 return scrollAnimator()->scroll(orientation, granularity, step, multiplier);
|
/external/chromium_org/third_party/WebKit/Source/core/timing/ |
MemoryInfo.cpp | 104 size_t granularity = nextPowerOfTen / 1000; // We want 3 signficant digits. local 108 bucketSizeList[i] = currentBucketSize - (currentBucketSize % granularity); 116 granularity *= 10;
|
/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) 110 void TypingCommand::deleteKeyPressed(Document& document, Options options, TextGranularity granularity) 112 if (granularity == CharacterGranularity) { 120 lastTypingCommand->deleteKeyPressed(granularity, options & KillRing); 126 TypingCommand::create(document, DeleteKey, "", options, granularity)->apply(); 129 void TypingCommand::forwardDeleteKeyPressed(Document& document, Options options, TextGranularity granularity) 132 if (granularity == CharacterGranularity) { 137 lastTypingCommand->forwardDeleteKeyPressed(granularity, options & KillRing); 142 TypingCommand::create(document, ForwardDeleteKey, "", options, granularity)->apply() [all...] |
FrameSelection.cpp | 191 void FrameSelection::setNonDirectionalSelectionIfNeeded(const VisibleSelection& passedNewSelection, TextGranularity granularity, 218 setSelection(newSelection, granularity); 221 void FrameSelection::setSelection(const VisibleSelection& newSelection, SetSelectionOptions options, CursorAlignOnScroll align, TextGranularity granularity) 242 document.frame()->selection().setSelection(s, options, align, granularity); 252 m_granularity = granularity; 604 VisiblePosition FrameSelection::modifyExtendingRight(TextGranularity granularity) 613 switch (granularity) { 628 pos = modifyExtendingForward(granularity); 630 pos = modifyExtendingBackward(granularity); 639 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 | 197 bool VisibleSelection::expandUsingGranularity(TextGranularity granularity) 202 validate(granularity); 279 void VisibleSelection::setStartAndEndFromBaseAndExtentRespectingGranularity(TextGranularity granularity) 289 switch (granularity) { 419 void VisibleSelection::validate(TextGranularity granularity) 422 setStartAndEndFromBaseAndExtentRespectingGranularity(granularity);
|
VisibleSelection.h | 90 bool expandUsingGranularity(TextGranularity granularity); 136 Position m_start; // Leftmost position when expanded to respect granularity 137 Position m_end; // Rightmost position when expanded to respect granularity
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
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
|
/external/chromium_org/third_party/WebKit/Source/core/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 | 65 void modify(const String& alter, const String& direction, const String& granularity);
|
Selection.idl | 74 [Default=Undefined] optional DOMString granularity);
|
EventHandler.cpp | 258 static inline bool scrollNode(float delta, ScrollGranularity granularity, ScrollDirection direction, Node* node, Node** stopNode, IntPoint absolutePoint = IntPoint()) 271 if (curBox->scroll(physicalDirection, granularity, delta)) { 439 bool EventHandler::updateSelectionForMouseDownDispatchingSelectStart(Node* targetNode, const VisibleSelection& selection, TextGranularity granularity) 450 granularity = CharacterGranularity; 454 m_frame->selection().setNonDirectionalSelectionIfNeeded(selection, granularity); 606 TextGranularity granularity = CharacterGranularity; local 631 if (m_frame->selection().granularity() != CharacterGranularity) { 632 granularity = m_frame->selection().granularity(); 633 newSelection.expandUsingGranularity(m_frame->selection().granularity()); 2223 ScrollGranularity granularity = wheelGranularityToScrollGranularity(wheelEvent->deltaMode()); local 2628 ScrollGranularity granularity = ScrollByPixel; local [all...] |
/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 | 33 const char kAlarmGranularity[] = "granularity"; 74 base::GetValueAsTimeDelta(*time_value, &alarm.granularity); 87 base::CreateTimeDeltaValue(alarms[i].granularity)); 316 // granularity of any alarm. 329 if (l_it->granularity < min_granularity) 330 min_granularity = l_it->granularity; 443 granularity = base::Time::FromJsTime(js_alarm->scheduled_time) - now; 454 granularity = delay; 457 if (granularity < min_granularity) 458 granularity = min_granularity [all...] |
alarm_manager.h | 41 // The granularity isn't exposed to the extension's javascript, but we poll at 42 // least as often as the shortest alarm's granularity. It's initialized as 46 base::TimeDelta granularity; member in struct:extensions::Alarm 47 // The minimum granularity is the minimum allowed polling rate. This stops 184 // but not more often than the minimum granularity of all alarms.
|
/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:__anon24821 50 int64_t granularity; member in struct:__anon24822 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/events/ |
WheelEvent.cpp | 131 return event.granularity() == ScrollByPageWheelEvent ? WheelEvent::DOM_DELTA_PAGE : WheelEvent::DOM_DELTA_PIXEL;
|
/external/ant-glob/src/org/apache/tools/ant/types/selectors/ |
SelectorUtils.java | 602 * @param granularity the amount in seconds of slack we will give in 606 public static boolean isOutOfDate(File src, File target, int granularity) { 613 if ((src.lastModified() - granularity) > target.lastModified()) {
|
/external/chromium_org/third_party/WebKit/Source/web/ |
WebPluginScrollbarImpl.cpp | 226 void WebPluginScrollbarImpl::scroll(ScrollDirection direction, ScrollGranularity granularity, float multiplier) 235 m_group->scroll(dir, static_cast<WebCore::ScrollGranularity>(granularity), multiplier);
|