Searched refs:adjustments (Results 1 - 25 of 37) sorted by relevance

12

/external/chromium_org/base/strings/
H A Dutf_offset_string_conversions.cc26 const Adjustments& adjustments,
28 if (!offsets_for_adjustment || adjustments.empty())
32 AdjustOffset(adjustments, &(*i));
36 void OffsetAdjuster::AdjustOffset(const Adjustments& adjustments, argument
41 for (Adjustments::const_iterator i = adjustments.begin();
42 i != adjustments.end(); ++i) {
56 const Adjustments& adjustments,
58 if (!offsets_for_unadjustment || adjustments.empty())
62 UnadjustOffset(adjustments, &(*i));
66 void OffsetAdjuster::UnadjustOffset(const Adjustments& adjustments, argument
25 AdjustOffsets( const Adjustments& adjustments, std::vector<size_t>* offsets_for_adjustment) argument
55 UnadjustOffsets( const Adjustments& adjustments, std::vector<size_t>* offsets_for_unadjustment) argument
183 ConvertUnicode(const SrcChar* src, size_t src_len, DestStdString* output, OffsetAdjuster::Adjustments* adjustments) argument
217 UTF8ToUTF16WithAdjustments( const char* src, size_t src_len, string16* output, base::OffsetAdjuster::Adjustments* adjustments) argument
226 UTF8ToUTF16WithAdjustments( const base::StringPiece& utf8, base::OffsetAdjuster::Adjustments* adjustments) argument
240 OffsetAdjuster::Adjustments adjustments; local
254 OffsetAdjuster::Adjustments adjustments; local
[all...]
H A Dutf_offset_string_conversions.h18 // string in response to various adjustments one might do to that string
34 // Adjusts all offsets in |offsets_for_adjustment| to reflect the adjustments
35 // recorded in |adjustments|.
44 static void AdjustOffsets(const Adjustments& adjustments,
47 // Adjusts the single |offset| to reflect the adjustments recorded in
48 // |adjustments|.
49 static void AdjustOffset(const Adjustments& adjustments,
53 // of the adjustments recorded in |adjustments|. In other words, the offsets
58 static void UnadjustOffsets(const Adjustments& adjustments,
[all...]
H A Dutf_offset_string_conversions_unittest.cc115 OffsetAdjuster::Adjustments adjustments; local
116 adjustments.push_back(OffsetAdjuster::Adjustment(3, 3, 1));
117 OffsetAdjuster::AdjustOffsets(adjustments, &offsets);
129 OffsetAdjuster::Adjustments adjustments; local
130 adjustments.push_back(OffsetAdjuster::Adjustment(0, 3, 1));
131 adjustments.push_back(OffsetAdjuster::Adjustment(4, 4, 2));
132 adjustments.push_back(OffsetAdjuster::Adjustment(10, 7, 4));
133 adjustments.push_back(OffsetAdjuster::Adjustment(20, 3, 1));
134 OffsetAdjuster::AdjustOffsets(adjustments, &offsets);
149 OffsetAdjuster::Adjustments adjustments; local
173 OffsetAdjuster::Adjustments adjustments; local
187 OffsetAdjuster::Adjustments adjustments; local
206 OffsetAdjuster::Adjustments adjustments; local
[all...]
/external/chromium_org/net/base/
H A Descape.cc124 // string. Fills in an |adjustments| parameter, if non-NULL, so it reflects
126 // character. The resulting |adjustments| will always be sorted by increasing
132 base::OffsetAdjuster::Adjustments* adjustments) {
133 if (adjustments)
134 adjustments->clear();
213 if (adjustments)
214 adjustments->push_back(base::OffsetAdjuster::Adjustment(i, 3, 1));
354 base::OffsetAdjuster::Adjustments* adjustments) {
361 &result, adjustments)) {
363 if (adjustments) {
129 UnescapeURLWithAdjustmentsImpl( const STR& escaped_text, UnescapeRule::Type rules, base::OffsetAdjuster::Adjustments* adjustments) argument
351 UnescapeAndDecodeUTF8URLComponentWithAdjustments( const std::string& text, UnescapeRule::Type rules, base::OffsetAdjuster::Adjustments* adjustments) argument
[all...]
H A Dnet_util_icu.cc368 base::OffsetAdjuster::Adjustments* adjustments) {
369 if (adjustments)
370 adjustments->clear();
398 if (converted_idn && adjustments) {
399 adjustments->push_back(base::OffsetAdjuster::Adjustment(
439 base::OffsetAdjuster::Adjustments* adjustments) {
444 // Format the underlying URL and record adjustments.
446 adjustments->clear();
450 new_parsed, prefix_end, adjustments)); local
451 // Revise |adjustments| b
365 IDNToUnicodeWithAdjustments( const std::string& host, const std::string& languages, base::OffsetAdjuster::Adjustments* adjustments) argument
432 FormatViewSourceUrl( const GURL& url, const std::string& languages, FormatUrlTypes format_types, UnescapeRule::Type unescape_rules, url::Parsed* new_parsed, size_t* prefix_end, base::OffsetAdjuster::Adjustments* adjustments) argument
529 AppendFormattedComponent(const std::string& spec, const url::Component& original_component, const AppendComponentTransform& transform, base::string16* output, url::Component* output_component, base::OffsetAdjuster::Adjustments* adjustments) argument
641 base::OffsetAdjuster::Adjustments adjustments; local
655 FormatUrlWithAdjustments( const GURL& url, const std::string& languages, FormatUrlTypes format_types, UnescapeRule::Type unescape_rules, url::Parsed* new_parsed, size_t* prefix_end, base::OffsetAdjuster::Adjustments* adjustments) argument
[all...]
H A Descape.h118 // be converted into a base::string16 and returned. |adjustments| provides
127 base::OffsetAdjuster::Adjustments* adjustments);
H A Descape_unittest.cc127 base::OffsetAdjuster::Adjustments adjustments; local
129 url, UnescapeRule::SPACES, &adjustments);
414 base::OffsetAdjuster::Adjustments adjustments; local
416 adjust_cases[i].input, UnescapeRule::NORMAL, &adjustments);
417 base::OffsetAdjuster::AdjustOffset(adjustments, &offset);
H A Dnet_util.h323 // This function is like those above except it takes |adjustments| rather
324 // than |offset[s]_for_adjustment|. |adjustments| will be set to reflect all
334 base::OffsetAdjuster::Adjustments* adjustments);
/external/icu/icu4c/source/layout/
H A DOpenTypeLayoutEngine.cpp463 GlyphPositionAdjustments *adjustments = new GlyphPositionAdjustments(glyphCount); local
466 if (adjustments == NULL) {
473 // the adjustments array w/ new...
475 adjustments->setXPlacement(i, 0);
476 adjustments->setYPlacement(i, 0);
478 adjustments->setXAdvance(i, 0);
479 adjustments->setYAdvance(i, 0);
481 adjustments->setBaseOffset(i, -1);
488 fGPOSTable->process(fGPOSTable, glyphStorage, adjustments, reverse, fScriptTagV2, fLangSysTag,
492 fGPOSTable->process(fGPOSTable, glyphStorage, adjustments, revers
[all...]
/external/chromium_org/third_party/skia/gm/
H A Dtypeface.cpp91 static void applyKerning(SkPoint pos[], const int32_t adjustments[], int count, argument
97 globalAdj += adjustments[i] * scale;
118 int32_t* adjustments = adjustmentStorage.get(); local
119 if (!face->getKerningPairAdjustments(glyphs, glyphCount, adjustments)) {
131 applyKerning(pos, adjustments, glyphCount, glyphPaint);
/external/skia/gm/
H A Dtypeface.cpp91 static void applyKerning(SkPoint pos[], const int32_t adjustments[], int count, argument
97 globalAdj += adjustments[i] * scale;
118 int32_t* adjustments = adjustmentStorage.get(); local
119 if (!face->getKerningPairAdjustments(glyphs, glyphCount, adjustments)) {
131 applyKerning(pos, adjustments, glyphCount, glyphPaint);
/external/skia/src/core/
H A DSkTypeface.cpp246 int32_t adjustments[]) const {
251 if (NULL == glyphs || NULL == adjustments) {
254 SkASSERT(NULL == adjustments);
256 return this->onGetKerningPairAdjustments(glyphs, count, adjustments);
301 int32_t adjustments[]) const {
/external/skia/src/ports/
H A DSkFontHost_FreeType_common.h62 int32_t adjustments[]) const SK_OVERRIDE;
/external/chromium_org/chrome/common/extensions/docs/examples/apps/calculator/tests/
H A Dutilities.js338 adjustExpectations_: function(expectations, adjustments, start) {
341 for (var i = 0; Array.isArray(adjustments[start + i]); ++i) {
342 adjustment = adjustments[start + i];
344 if (adjustments[start + i].length != 1) {
346 expectations.push(adjustments[start + i]);
/external/chromium_org/third_party/skia/src/core/
H A DSkTypeface.cpp245 int32_t adjustments[]) const {
250 if (NULL == glyphs || NULL == adjustments) {
253 SkASSERT(NULL == adjustments);
255 return this->onGetKerningPairAdjustments(glyphs, count, adjustments);
298 int32_t adjustments[]) const {
/external/chromium_org/third_party/skia/include/core/
H A DSkTypeface.h214 * Given a run of glyphs, return the associated horizontal adjustments.
226 * [count] valid glyph IDs, and the adjustments parameter must be
228 * [count-1] entries in the adjustments array will be set. If the method
229 * returns false, then no kerning should be applied, and the adjustments
234 int32_t adjustments[]) const;
313 int32_t adjustments[]) const;
/external/skia/include/core/
H A DSkTypeface.h214 * Given a run of glyphs, return the associated horizontal adjustments.
226 * [count] valid glyph IDs, and the adjustments parameter must be
228 * [count-1] entries in the adjustments array will be set. If the method
229 * returns false, then no kerning should be applied, and the adjustments
234 int32_t adjustments[]) const;
313 int32_t adjustments[]) const;
/external/chromium_org/third_party/skia/src/ports/
H A DSkFontHost_FreeType_common.h68 int32_t adjustments[]) const SK_OVERRIDE;
/external/chromium_org/chrome/browser/autocomplete/
H A Dhistory_quick_provider.cc248 base::OffsetAdjuster::Adjustments adjustments; local
251 NULL, &adjustments);
252 base::OffsetAdjuster::AdjustOffsets(adjustments, &offsets);
/external/chromium_org/components/bookmarks/browser/
H A Dbookmark_utils.h116 // result. |languages| is passed to net::FormatUrl(). |adjustments|, if
120 // |adjustments| to calculate the location of these offsets in the original
135 base::OffsetAdjuster::Adjustments* adjustments);
H A Dbookmark_index.cc214 base::OffsetAdjuster::Adjustments adjustments; local
216 CleanUpUrlForMatching(node->url(), languages_, &adjustments),
241 base::OffsetAdjuster::UnadjustOffsets(adjustments, &offsets);
H A Dbookmark_utils.cc428 base::OffsetAdjuster::Adjustments* adjustments) {
434 NULL, NULL, adjustments ? adjustments : &tmp_adjustments));
425 CleanUpUrlForMatching( const GURL& gurl, const std::string& languages, base::OffsetAdjuster::Adjustments* adjustments) argument
/external/chromium_org/chrome/browser/history/
H A Dscored_history_match.cc70 base::OffsetAdjuster::Adjustments adjustments;
72 bookmarks::CleanUpUrlForMatching(gurl, languages, &adjustments);
216 base::OffsetAdjuster::UnadjustOffsets(adjustments, &offsets);
/external/libvorbis/doc/
H A DVorbis_I_spec.tex35 % well as tons of other neat stuff (line numbers, formatting adjustments, ...)
H A Da1-encapsulation-ogg.tex165 adjustments before needing to return any PCM data from synthesis,

Completed in 3624 milliseconds

12