/external/chromium_org/ui/gfx/range/ |
range.cc | 5 #include "ui/gfx/range/range.h" 16 Range::Range() 21 Range::Range(size_t start, size_t end) 26 Range::Range(size_t position) 32 const Range Range::InvalidRange() [all...] |
range.h | 29 // A Range contains two integer values that represent a numeric range, like the 30 // range of characters in a text selection. A range is made of a start and end 31 // position; when they are the same, the Range is akin to a caret. Note that 33 // range. 34 class GFX_EXPORT Range { 36 // Creates an empty range {0,0}. 37 Range(); 39 // Initializes the range with a start and end [all...] |
range_unittest.cc | 6 #include "ui/gfx/range/range.h" 9 gfx::Range r; 21 gfx::Range r(10, 15); 33 gfx::Range r(10, 5); 45 gfx::Range r(12); 57 gfx::Range r(gfx::Range::InvalidRange()); 66 gfx::Range r1(10, 4); 67 gfx::Range r2(10, 4) [all...] |
/external/chromium_org/ui/views/controls/ |
styled_label_listener.h | 11 class Range; 19 virtual void StyledLabelLinkClicked(const gfx::Range& range,
|
/sdk/emulator/opengl/host/libs/Translator/include/GLcommon/ |
RangeManip.h | 21 class Range { 24 Range():m_start(0),m_end(0),m_size(0){}; 25 Range(int start,int size):m_start(start),m_end(start+size),m_size(size){}; 26 Range(const Range& r):m_start(r.m_start),m_end(r.m_end),m_size(r.m_size){}; 31 Range& operator=(const Range& r) { 37 bool operator ==(const Range& r) const { 40 bool operator !=(const Range& r) const {return !((*this) == r);}; 41 bool rangeIntersection(const Range& r,Range& rOut) const [all...] |
/external/chromium_org/content/renderer/ |
render_view_impl_unittest.cc | 9 #include "ui/gfx/range/range.h" 17 gfx::Range selection_range; 21 { "test", 0, gfx::Range(0, 4), "test", false }, 22 { "zebestest", 0, gfx::Range(2, 6), "best", false }, 23 { "zebestest", 2, gfx::Range(2, 6), "best", true }, 24 { "test", 0, gfx::Range(0, 4), "hello", true }, 25 { "best test", 0, gfx::Range(0, 4), "best ", false }, 26 { "best test", 0, gfx::Range(0, 5), "best", false },
|
/external/lzma/Java/SevenZip/Compression/RangeCoder/ |
Decoder.java | 12 int Range;
30 Range = -1;
40 Range >>>= 1;
41 int t = ((Code - Range) >>> 31);
42 Code -= Range & (t - 1);
45 if ((Range & kTopMask) == 0)
48 Range <<= 8;
57 int newBound = (Range >>> kNumBitModelTotalBits) * prob;
60 Range = newBound;
62 if ((Range & kTopMask) == 0) [all...] |
/external/chromium_org/third_party/WebKit/Source/web/ |
FindInPageCoordinates.h | 37 class Range; 57 WebCore::FloatRect findInPageRectFromRange(WebCore::Range*);
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
SurroundingText.h | 38 class Range; 49 PassRefPtr<Range> rangeFromContentOffsets(unsigned startOffsetInContent, unsigned endOffsetInContent); 52 RefPtr<Range> m_contentRange;
|
TextCheckingHelper.h | 31 class Range; 39 explicit TextCheckingParagraph(PassRefPtr<Range> checkingRange); 40 TextCheckingParagraph(PassRefPtr<Range> checkingRange, PassRefPtr<Range> paragraphRange); 44 PassRefPtr<Range> subrange(int characterOffset, int characterCount) const; 63 PassRefPtr<Range> paragraphRange() const; 64 PassRefPtr<Range> checkingRange() const { return m_checkingRange; } 68 PassRefPtr<Range> offsetAsRange() const; 70 RefPtr<Range> m_checkingRange; 71 mutable RefPtr<Range> m_paragraphRange [all...] |
SpellingCorrectionCommand.h | 29 #include "core/dom/Range.h" 36 static PassRefPtr<SpellingCorrectionCommand> create(PassRefPtr<Range> rangeToBeCorrected, const String& correction) 41 SpellingCorrectionCommand(PassRefPtr<Range> rangeToBeCorrected, const String& correction); 45 RefPtr<Range> m_rangeToBeCorrected;
|
PlainTextRange.h | 36 class Range; 51 PassRefPtr<Range> createRange(const ContainerNode& scope) const; 52 PassRefPtr<Range> createRangeForSelection(const ContainerNode& scope) const; 54 static PlainTextRange create(const Node& scope, const Range&); 60 PassRefPtr<Range> createRangeFor(const ContainerNode& scope, GetRangeFor) const;
|
SpellCheckRequester.h | 30 #include "core/dom/Range.h" 48 static PassRefPtr<SpellCheckRequest> create(TextCheckingTypeMask, TextCheckingProcessType, PassRefPtr<Range> checkingRange, PassRefPtr<Range> paragraphRange, int requestNumber = 0); 51 PassRefPtr<Range> checkingRange() const { return m_checkingRange; } 52 PassRefPtr<Range> paragraphRange() const { return m_paragraphRange; } 66 SpellCheckRequest(PassRefPtr<Range> checkingRange, PassRefPtr<Range> paragraphRange, const String&, TextCheckingTypeMask, TextCheckingProcessType, const Vector<uint32_t>& documentMarkersInRange, const Vector<unsigned>& documentMarkerOffsets, int requestNumber); 69 RefPtr<Range> m_checkingRange; 70 RefPtr<Range> m_paragraphRange; 85 bool isCheckable(Range*) const [all...] |
/external/lzma/CPP/7zip/Compress/ |
RangeCoder.h | 22 UInt32 Range;
31 Range = 0xFFFFFFFF;
49 Low += start * (Range /= total);
50 Range *= size;
51 while (Range < kTopValue)
53 Range <<= 8;
79 Range >>= 1;
80 Low += Range & (0 - ((value >> numBits) & 1));
81 if (Range < kTopValue)
83 Range <<= 8; 152 UInt32 range = Range; local [all...] |
RangeCoderBit.h | 52 UInt32 newBound = (encoder->Range >> kNumBitModelTotalBits) * this->Prob;
55 encoder->Range = newBound;
61 encoder->Range -= newBound;
64 if (encoder->Range < kTopValue)
66 encoder->Range <<= 8;
85 UInt32 newBound = (decoder->Range >> kNumBitModelTotalBits) * this->Prob;
88 decoder->Range = newBound;
90 if (decoder->Range < kTopValue)
93 decoder->Range <<= 8;
99 decoder->Range -= newBound; [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
TimeRanges.h | 78 struct Range { 79 Range() { } 80 Range(double start, double end) 93 inline bool isOverlappingRange(const Range& range) const 95 return isPointInRange(range.m_start) || isPointInRange(range.m_end) || range.isPointInRange(m_start); 98 inline bool isContiguousWithRange(const Range& range) cons [all...] |
/external/chromium_org/ui/gfx/ |
break_list_unittest.cc | 9 #include "ui/gfx/range/range.h" 35 breaks.ApplyValue(true, Range::InvalidRange()); 38 breaks.ApplyValue(true, Range(i, i)); 42 // Apply a value to a valid range, check breaks; repeating should be no-op. 48 breaks.ApplyValue(true, Range(2, 3)); 57 breaks.ApplyValue(false, Range(0, max)); 61 breaks.ApplyValue(false, Range(0, 2)); 62 breaks.ApplyValue(false, Range(3, 6)); 63 breaks.ApplyValue(false, Range(7, max)) 143 Range range; member in struct:gfx::__anon17581 [all...] |
selection_model.h | 11 #include "ui/gfx/range/range.h" 69 // The caret position is the end of the range. 70 SelectionModel(const Range& selection, LogicalCursorDirection affinity); 72 const Range& selection() const { return selection_; } 90 Range selection_;
|
/external/chromium_org/ui/base/ime/ |
composition_text.cc | 18 selection = gfx::Range();
|
/external/lzma/CS/7zip/Compress/RangeCoder/ |
RangeCoder.cs | 12 public uint Range;
33 Range = 0xFFFFFFFF;
56 Low += start * (Range /= total);
57 Range *= size;
58 while (Range < kTopValue)
60 Range <<= 8;
86 Range >>= 1;
88 Low += Range;
89 if (Range < kTopValue)
91 Range <<= 8; [all...] |
/external/chromium_org/content/common/ |
text_input_client_messages.h | 8 #include "ui/gfx/range/range.h" 28 // Tells the renderer to send back the rectangle for a given character range. 30 gfx::Range) 32 // Tells the renderer to send back the text fragment in a given range. 34 gfx::Range)
|
/external/easymock/src/org/easymock/internal/ |
Results.java | 29 private final LinkedList<Range> ranges = new LinkedList<Range>();
33 public void add(Result result, Range range) {
35 Range lastRange = ranges.getLast();
41 ranges.add(range);
48 Range interval = ranges.get(i);
71 private Range getMainInterval() {
74 for (Range interval : ranges) {
83 return new Range(min, max); [all...] |
/external/chromium_org/ash/wm/workspace/ |
magnetism_matcher.h | 34 // MagnetismEdgeMatcher maintains a range of the visible portions of the 35 // edge. As ShouldAttach() is invoked the visible range is updated. 52 typedef std::pair<int,int> Range; 53 typedef std::vector<Range> Ranges; 55 // Removes |range| from |ranges_|. 56 void UpdateRanges(const Range& range); 88 Range GetPrimaryRange(const gfx::Rect& bounds) const { 92 return Range(bounds.y(), bounds.bottom()); 95 return Range(bounds.x(), bounds.right()) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
DateTimeNumericFieldElement.h | 54 struct Range { 55 Range(int minimum, int maximum) : minimum(minimum), maximum(maximum) { } 65 DateTimeNumericFieldElement(Document&, FieldOwner&, const Range&, const Range& hardLimits, const String& placeholder, const Step& = Step()); 70 const Range& range() const { return m_range; } function in class:WebCore::DateTimeNumericFieldElement 96 const Range m_range; 97 const Range m_hardLimits;
|
/external/clang/test/SemaCXX/ |
for-range-no-std.cpp | 12 struct Range {}; 13 int begin(Range); // expected-note {{not viable}} 14 int end(Range); 34 for (auto b : T()) {} // expected-error {{invalid range expression of type 'T'}} 37 for (int b : NS::NoADL()) {} // expected-error {{invalid range expression of type 'NS::NoADL'}}
|