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

123

/external/chromium_org/third_party/WebKit/Source/platform/scroll/
H A DScrollAnimator.cpp85 ScrollGranularity granularity = e.hasPreciseScrollingDeltas() ? ScrollByPrecisePixel : ScrollByPixel; local
87 ScrollGranularity granularity = ScrollByPixel; local
99 if (e.granularity() == ScrollByPageWheelEvent) {
106 scroll(VerticalScrollbar, granularity, m_scrollableArea->pixelStep(VerticalScrollbar), -deltaY);
110 if (e.granularity() == ScrollByPageWheelEvent) {
117 scroll(HorizontalScrollbar, granularity, m_scrollableArea->pixelStep(HorizontalScrollbar), -deltaX);
H A DScrollAnimatorNone.cpp380 ScrollAnimatorNone::Parameters ScrollAnimatorNone::parametersForScrollGranularity(ScrollGranularity granularity) const
382 switch (granularity) {
397 bool ScrollAnimatorNone::scroll(ScrollbarOrientation orientation, ScrollGranularity granularity, float step, float delta) argument
400 return ScrollAnimator::scroll(orientation, granularity, step, delta);
407 switch (granularity) {
412 parameters = parametersForScrollGranularity(granularity);
415 return ScrollAnimator::scroll(orientation, granularity, step, delta);
420 return ScrollAnimator::scroll(orientation, granularity, step, delta);
H A DScrollableArea.cpp125 bool ScrollableArea::scroll(ScrollDirection direction, ScrollGranularity granularity, float delta) argument
140 switch (granularity) {
159 return scrollAnimator()->scroll(orientation, granularity, step, delta);
/external/chromium_org/net/quic/
H A Dquic_alarm.cc30 void QuicAlarm::Update(QuicTime deadline, QuicTime::Delta granularity) { argument
36 granularity.ToMicroseconds()) {
H A Dquic_alarm.h46 // deadline than |granularity|, and otherwise does nothing. If |deadline| is
48 void Update(QuicTime deadline, QuicTime::Delta granularity);
/external/lldb/source/Core/
H A DInputReader.cpp45 lldb::InputReaderGranularity granularity,
54 m_granularity = granularity;
67 if (end_token != NULL && granularity != eInputReaderGranularityInvalid)
69 if (granularity == eInputReaderGranularityByte)
78 else if (granularity == eInputReaderGranularityWord)
361 InputReader::GranularityAsCString (lldb::InputReaderGranularity granularity) argument
363 switch (granularity)
373 snprintf(unknown_state_string, sizeof (unknown_state_string), "InputReaderGranularity = %i", granularity);
41 Initialize( Callback callback, void *baton, lldb::InputReaderGranularity granularity, const char *end_token, const char *prompt, bool echo ) argument
/external/chromium_org/third_party/WebKit/Source/core/timing/
H A DMemoryInfo.cpp103 size_t granularity = nextPowerOfTen / 1000; // We want 3 signficant digits. local
107 bucketSizeList[i] = currentBucketSize - (currentBucketSize % granularity);
115 granularity *= 10;
/external/chromium_org/third_party/WebKit/Source/platform/
H A DPlatformWheelEvent.h78 PlatformWheelEvent(IntPoint position, IntPoint globalPosition, float deltaX, float deltaY, float wheelTicksX, float wheelTicksY, PlatformWheelEventGranularity granularity, bool shiftKey, bool ctrlKey, bool altKey, bool metaKey) argument
86 , m_granularity(granularity)
109 PlatformWheelEventGranularity granularity() const { return m_granularity; } function in class:blink::PlatformWheelEvent
/external/lldb/scripts/Python/interface/
H A DSBInputReader.i32 lldb::InputReaderGranularity granularity,
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DTypingCommand.cpp78 TypingCommand::TypingCommand(Document& document, ETypingCommand commandType, const String &textToInsert, Options options, TextGranularity granularity, TextCompositionType compositionType) argument
85 , m_granularity(granularity)
112 void TypingCommand::deleteKeyPressed(Document& document, Options options, TextGranularity granularity) argument
114 if (granularity == CharacterGranularity) {
122 lastTypingCommand->deleteKeyPressed(granularity, options & KillRing);
128 TypingCommand::create(document, DeleteKey, "", options, granularity)->apply();
131 void TypingCommand::forwardDeleteKeyPressed(Document& document, Options options, TextGranularity granularity) argument
134 if (granularity == CharacterGranularity) {
139 lastTypingCommand->forwardDeleteKeyPressed(granularity, options & KillRing);
144 TypingCommand::create(document, ForwardDeleteKey, "", options, granularity)
409 deleteKeyPressed(TextGranularity granularity, bool killRing) argument
513 forwardDeleteKeyPressed(TextGranularity granularity, bool killRing) argument
[all...]
H A DFrameSelection.cpp191 void FrameSelection::setNonDirectionalSelectionIfNeeded(const VisibleSelection& passedNewSelection, TextGranularity granularity, argument
218 setSelection(newSelection, granularity);
221 void FrameSelection::setSelection(const VisibleSelection& newSelection, SetSelectionOptions options, CursorAlignOnScroll align, TextGranularity granularity) argument
242 document.frame()->selection().setSelection(s, options, align, granularity);
252 m_granularity = granularity;
607 VisiblePosition FrameSelection::modifyExtendingRight(TextGranularity granularity) argument
616 switch (granularity) {
631 pos = modifyExtendingForward(granularity);
633 pos = modifyExtendingBackward(granularity);
642 pos = modifyExtendingForward(granularity);
649 modifyExtendingForward(TextGranularity granularity) argument
689 modifyMovingRight(TextGranularity granularity) argument
723 modifyMovingForward(TextGranularity granularity) argument
771 modifyExtendingLeft(TextGranularity granularity) argument
812 modifyExtendingBackward(TextGranularity granularity) argument
857 modifyMovingLeft(TextGranularity granularity) argument
891 modifyMovingBackward(TextGranularity granularity) argument
933 isBoundary(TextGranularity granularity) argument
938 modify(EAlteration alter, SelectionDirection direction, TextGranularity granularity, EUserTriggered userTriggered) argument
[all...]
H A DDOMSelection.cpp311 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
[all...]
H A DTypingCommand.h81 static PassRefPtrWillBeRawPtr<TypingCommand> create(Document& document, ETypingCommand command, const String& text = "", Options options = 0, TextGranularity granularity = CharacterGranularity)
83 return adoptRefWillBeNoop(new TypingCommand(document, command, text, options, granularity, TextCompositionNone));
H A DDOMSelection.h69 void modify(const String& alter, const String& direction, const String& granularity);
H A DSelection.idl83 [Default=Undefined] optional DOMString granularity);
H A DFrameSelection.h107 void setSelection(const VisibleSelection& selection, TextGranularity granularity) { setSelection(selection, CloseTyping | ClearTypingStyle, AlignCursorOnScrollIfNeeded, granularity); } argument
126 TextGranularity granularity() const { return m_granularity; } function in class:blink::FINAL
H A DVisibleSelection.h94 bool expandUsingGranularity(TextGranularity granularity);
164 Position m_start; // Leftmost position when expanded to respect granularity
165 Position m_end; // Rightmost position when expanded to respect granularity
/external/chromium_org/content/renderer/pepper/
H A Dppb_scrollbar_impl.cc107 WebScrollbar::ScrollGranularity granularity; local
109 granularity = WebScrollbar::ScrollByLine;
111 granularity = WebScrollbar::ScrollByPage;
113 granularity = WebScrollbar::ScrollByDocument;
115 granularity = WebScrollbar::ScrollByPixel;
120 scrollbar_->scroll(direction, granularity, fmultiplier);
/external/compiler-rt/lib/asan/
H A Dasan_poisoning.cc276 uptr granularity = SHADOW_GRANULARITY; local
278 IsAligned(beg, granularity))) {
286 uptr a = RoundDownTo(Min(old_mid, new_mid), granularity);
287 uptr c = RoundUpTo(Max(old_mid, new_mid), granularity);
288 uptr d1 = RoundDownTo(old_mid, granularity);
289 // uptr d2 = RoundUpTo(old_mid, granularity);
298 if (a + granularity <= d1)
300 // if (d2 + granularity <= c && c <= end)
301 // CHECK_EQ(*(u8 *)MemToShadow(c - granularity),
304 uptr b1 = RoundDownTo(new_mid, granularity);
[all...]
/external/lldb/source/API/
H A DSBInputReader.cpp81 lldb::InputReaderGranularity granularity,
91 "granularity=%s, end_token=\"%s\", prompt=\"%s\", echo=%i)",
96 InputReader::GranularityAsCString (granularity), end_token, prompt,
109 granularity,
76 Initialize( SBDebugger &debugger, Callback callback_function, void *callback_baton, lldb::InputReaderGranularity granularity, const char *end_token, const char *prompt, bool echo ) argument
/external/lldb/include/lldb/API/
H A DSBInputReader.h40 lldb::InputReaderGranularity granularity,
/external/chromium_org/chrome/browser/extensions/api/alarms/
H A Dalarm_manager.cc31 const char kAlarmGranularity[] = "granularity";
73 base::GetValueAsTimeDelta(*time_value, &alarm.granularity);
86 base::CreateTimeDeltaValue(alarms[i].granularity));
334 // granularity of any alarm.
347 if (l_it->granularity < min_granularity)
348 min_granularity = l_it->granularity;
444 granularity = base::Time::FromJsTime(js_alarm->scheduled_time) - now;
455 granularity = delay;
458 if (granularity < min_granularity)
459 granularity
[all...]
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/injected/
H A Dnavigation_shifter.js22 * increasing "granularity". This means (with a few exceptions), that if
28 * Note that while any callers may assume the granularity chain exists (after
91 store['granularity'] = this.getGranularity();
101 this.setGranularity(store['granularity']);
190 * Shift to a specified granularity.
192 * @param {number} granularity The granularity to shift to.
194 cvox.NavigationShifter.prototype.setGranularity = function(granularity) {
196 this.currentWalkerIndex_ = granularity;
201 * Gets the granularity
[all...]
/external/chromium_org/third_party/WebKit/Source/core/events/
H A DWheelEvent.cpp97 return event.granularity() == ScrollByPageWheelEvent ? WheelEvent::DOM_DELTA_PAGE : WheelEvent::DOM_DELTA_PIXEL;
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/accessibility/
H A DJellyBeanAccessibilityInjector.java131 final int granularity = arguments.getInt(AccessibilityNodeInfo.
133 mAccessibilityJSONObject.accumulate("granularity", granularity);

Completed in 1105 milliseconds

123