/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/share/ |
H A D | ShareDialogAdapter.java | 43 public View getView(int position, View convertView, ViewGroup parent) { argument 53 text.setText(getItem(position).loadLabel(mManager)); 54 icon.setImageDrawable(loadIconForResolveInfo(getItem(position)));
|
/external/chromium_org/chrome/browser/download/ |
H A D | download_dir_policy_handler.cc | 75 size_t position = string_value.find(kDriveNamePolicyVariableName); local 76 if (position != base::FilePath::StringType::npos) { 86 position,
|
/external/chromium_org/chrome/browser/ui/autofill/ |
H A D | loading_animation.cc | 64 double position; local 66 position = kAnimationFrames[i].position; 71 position = gfx::Tween::FloatValueBetween(inter_frame_value, 72 kAnimationFrames[i - 1].position, 73 kAnimationFrames[i].position); 75 return position * font_height_ / 2.0;
|
/external/chromium_org/chrome/browser/ui/views/infobars/ |
H A D | infobar_container_view.cc | 57 size_t position) { 59 static_cast<int>(position)); 55 PlatformSpecificAddInfoBar( infobars::InfoBar* infobar, size_t position) argument
|
/external/chromium_org/components/enhanced_bookmarks/ |
H A D | item_position.cc | 20 ItemPosition::ItemPosition(const PositionVector& position) argument 21 : position_(position) { 29 PositionVector position(1, kPositionBase / 2); 30 return ItemPosition(position); 93 // Instead of splitting the position with infinity, increment the last digit
|
/external/chromium_org/content/child/fileapi/ |
H A D | webfilewriter_base.cc | 34 long long position, 39 DoWrite(path_, id.utf8(), position); 33 write( long long position, const blink::WebString& id) argument
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/ |
H A D | SelectPopupAdapter.java | 49 public View getView(int position, View convertView, ViewGroup parent) { argument 50 if (position < 0 || position >= getCount()) return null; 56 convertView = super.getView(position, null, parent); 57 ((TextView) convertView).setText(mItems.get(position).getLabel()); 59 if (mItems.get(position).getType() != PopupItemType.ENABLED) { 60 if (mItems.get(position).getType() == PopupItemType.GROUP) { 82 public boolean isEnabled(int position) { argument 83 if (position < 0 || position > [all...] |
/external/chromium_org/courgette/ |
H A D | ensemble.cc | 38 size_t position = 0; local 39 while (position < length) { 43 Status result = DetectExecutableType(start + position, 44 length - position, 48 Region region(start + position, detected_length); 53 position += region.length(); 55 position++;
|
/external/chromium_org/media/blink/ |
H A D | buffered_data_source_host_impl.cc | 26 double position = static_cast<double>(byte_offset) / total_bytes; local 28 if (position < 0.01) 30 if (position > 0.99) 33 static_cast<int64>(position * duration.InMilliseconds()));
|
/external/chromium_org/media/filters/ |
H A D | file_data_source.cc | 32 void FileDataSource::Read(int64 position, int size, uint8* data, argument 42 CHECK_GE(position, 0); 45 // Cap position and size within bounds. 46 position = std::min(position, file_size); 47 int64 clamped_size = std::min(static_cast<int64>(size), file_size - position); 49 memcpy(data, file_.data() + position, clamped_size);
|
/external/chromium_org/media/tools/player_x11/ |
H A D | data_source_logger.cc | 10 int64 position, int size, 12 VLOG(1) << "Read(" << position << ", " << size << ") -> " << result; 29 int64 position, int size, uint8* data, 31 VLOG(1) << "Read(" << position << ", " << size << ")"; 32 data_source_->Read(position, size, data, base::Bind( 33 &LogAndRunReadCB, position, size, read_cb)); 9 LogAndRunReadCB( int64 position, int size, const media::DataSource::ReadCB& read_cb, int result) argument 28 Read( int64 position, int size, uint8* data, const media::DataSource::ReadCB& read_cb) argument
|
/external/chromium_org/mojo/public/cpp/bindings/lib/ |
H A D | bounds_checker.cc | 38 bool BoundsChecker::ClaimMemory(const void* position, uint32_t num_bytes) { argument 39 uintptr_t begin = reinterpret_cast<uintptr_t>(position); 63 bool BoundsChecker::IsValidRange(const void* position, argument 65 uintptr_t begin = reinterpret_cast<uintptr_t>(position);
|
/external/chromium_org/ppapi/examples/font/ |
H A D | simple_font.cc | 25 virtual void DidChangeView(const pp::Rect& position, const pp::Rect& clip) { argument 26 if (position.size() == last_size_) 28 last_size_ = position.size(); 40 pp::Rect text_clip(position.size()); // Use entire bounds for clip.
|
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
H A D | V8LazyEventListener.h | 51 static PassRefPtr<V8LazyEventListener> create(const AtomicString& functionName, const AtomicString& eventParameterName, const String& code, const String& sourceURL, const TextPosition& position, Node* node, v8::Isolate* isolate) argument 53 return adoptRef(new V8LazyEventListener(functionName, eventParameterName, code, sourceURL, position, node, isolate));
|
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
H A D | InterpolableValue.h | 101 void set(size_t position, PassOwnPtrWillBeRawPtr<InterpolableValue> value) argument 103 ASSERT(position < m_size); 104 m_values[position] = value; 106 const InterpolableValue* get(size_t position) const 108 ASSERT(position < m_size); 109 return m_values[position].get();
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
H A D | EditCommand.cpp | 86 void EditCommand::setStartingSelection(const VisiblePosition& position) argument 88 setStartingSelection(VisibleSelection(position)); 102 void EditCommand::setEndingSelection(const VisiblePosition& position) argument 104 setEndingSelection(VisibleSelection(position));
|
H A D | SurroundingText.cpp | 49 SurroundingText::SurroundingText(const Position& position, unsigned maxLength) argument 53 initialize(position, position, maxLength); 63 // The position will have no document if it is null (as in no position).
|
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
H A D | HTMLParserIdioms.cpp | 143 static bool parseHTMLIntegerInternal(const CharacterType* position, const CharacterType* end, int& value) argument 149 while (position < end) { 150 if (!isHTMLSpace<CharacterType>(*position)) 152 ++position; 156 if (position == end) 158 ASSERT(position < end); 161 if (*position == '-') { 163 ++position; 164 } else if (*position == '+') 165 ++position; [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
H A D | SVGTextMetrics.cpp | 63 TextRun SVGTextMetrics::constructTextRun(RenderSVGInlineText* text, unsigned position, unsigned length) argument 66 return constructTextRun(text, position, length, text->style()->direction()); 69 TextRun SVGTextMetrics::constructTextRun(RenderSVGInlineText* text, unsigned position, unsigned length, TextDirection textDirection) argument 84 run.setText(text->characters8() + position, length); 86 run.setText(text->characters16() + position, length); 96 run.setCharactersLength(text->textLength() - position); 101 SVGTextMetrics SVGTextMetrics::measureCharacterRange(RenderSVGInlineText* text, unsigned position, unsigned length, TextDirection textDirection) argument 104 return SVGTextMetrics(text, constructTextRun(text, position, length, textDirection)); 107 SVGTextMetrics SVGTextMetrics::measureCharacterRange(RenderSVGInlineText* text, unsigned position, unsigned length) argument 110 return SVGTextMetrics(text, constructTextRun(text, position, lengt 113 SVGTextMetrics(RenderSVGInlineText* text, unsigned position, unsigned length, float width, Glyph glyphNameGlyphId) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
H A D | SVGFELightElement.cpp | 65 FloatPoint3D SVGFELightElement::position() const function in class:blink::SVGFELightElement
|
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/ |
H A D | FileWriterSync.cpp | 53 writer()->write(position(), data->uuid()); 59 setPosition(position() + data->size()); 60 if (position() > length()) 61 setLength(position()); 64 void FileWriterSync::seek(long long position, ExceptionState& exceptionState) argument 68 seekInternal(position); 86 if (offset < position())
|
/external/chromium_org/third_party/WebKit/Source/modules/geolocation/ |
H A D | GeoNotifier.cpp | 57 void GeoNotifier::runSuccessCallback(Geoposition* position) argument 59 m_successCallback->handleEvent(position); 92 // Clear the cached position flag in case this is a watch request, which
|
H A D | GeolocationInspectorAgent.cpp | 55 GeolocationPosition* position = (*m_controllers.begin())->lastPosition(); local 56 if (!m_geolocationOverridden && position) 57 m_platformGeolocationPosition = position; 82 GeolocationPosition* GeolocationInspectorAgent::overrideGeolocationPosition(GeolocationPosition* position) argument 85 if (position) 86 m_platformGeolocationPosition = position; 89 return position;
|
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
H A D | TextBoundaries.cpp | 62 int findNextWordFromIndex(const UChar* chars, int len, int position, bool forward) argument 67 position = it->following(position); 68 while (position != TextBreakDone) { 71 if (position < len && isAlphanumeric(chars[position - 1])) 72 return position; 74 position = it->following(position); 79 position 93 findWordBoundary(const UChar* chars, int len, int position, int* start, int* end) argument 102 findWordEndBoundary(const UChar* chars, int len, int position) argument [all...] |
/external/chromium_org/third_party/WebKit/public/web/ |
H A D | WebTouchPoint.h | 63 WebFloatPoint position; member in class:blink::WebTouchPoint
|