/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
PhotoProcessorTest.java | 44 final Bitmap normalized = PhotoProcessor.getNormalizedBitmap(sourceBitmap, 50, false); local 47 assertEquals(10, normalized.getWidth()); 48 assertEquals(10, normalized.getHeight()); 51 assertEquals(Color.argb(255, 255, 255, 255), normalized.getPixel(0, 0));
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
CalendarDate.java | 51 * <code>CalendarDate</code> to <I>not normalized</I>. The 80 private boolean normalized; field in class:CalendarDate 118 normalized = false; 129 normalized = false; 137 normalized = false; 148 * <p>If this <code>CalendarDate</code> hasn't been normalized, 153 * normalized and the year of this <code>CalendarDate</code> is a 172 normalized = false; 180 normalized = false; 192 normalized = false 417 int normalized = isNormalized() ? 1 : 0; local [all...] |
/external/harfbuzz_ng/src/ |
hb-icu.cc | 190 UChar utf16[4], normalized[5]; local 203 len = unorm_normalize (utf16, len, UNORM_NFC, 0, normalized, ARRAY_LENGTH (normalized), &icu_err); 206 if (u_countChar32 (normalized, len) == 1) { 207 U16_GET_UNSAFE (normalized, 0, *ab); 249 UChar utf16[2], normalized[2 * HB_UNICODE_MAX_DECOMPOSITION_LEN + 1]; local 264 len = unorm_normalize (utf16, len, UNORM_NFD, 0, normalized, ARRAY_LENGTH (normalized), &icu_err); 268 len = u_countChar32 (normalized, len); 271 U16_GET_UNSAFE (normalized, 0, *a) 319 UChar utf16[2], normalized[2 * HB_UNICODE_MAX_DECOMPOSITION_LEN + 1]; local [all...] |
hb-glib.cc | 254 gchar *normalized; local 260 normalized = g_utf8_normalize (utf8, len, G_NORMALIZE_NFC); 261 len = g_utf8_strlen (normalized, -1); 266 *ab = g_utf8_get_char (normalized); 272 g_free (normalized); 291 gchar *normalized; local 296 normalized = g_utf8_normalize (utf8, len, G_NORMALIZE_NFD); 297 len = g_utf8_strlen (normalized, -1); 302 *a = g_utf8_get_char (normalized); 306 *a = g_utf8_get_char (normalized); [all...] |
/external/eigen/test/ |
geo_quaternion.cpp | 80 q1 = AngleAxisx(a, v0.normalized()); 81 q2 = AngleAxisx(a, v1.normalized()); 112 && (aa.axis() - v1.normalized()).norm() < 1.99 113 && (aa.axis() + v1.normalized()).norm() < 1.99) 119 VERIFY_IS_APPROX( v2.normalized(),(q2.setFromTwoVectors(v1, v2)*v1).normalized()); 120 VERIFY_IS_APPROX( v1.normalized(),(q2.setFromTwoVectors(v1, v1)*v1).normalized()); 121 VERIFY_IS_APPROX(-v1.normalized(),(q2.setFromTwoVectors(v1,-v1)*v1).normalized()); [all...] |
/frameworks/rs/driver/ |
rsdVertexArray.cpp | 50 normalized = false; 55 bool normalized, size_t offset, 61 this->normalized = normalized; 78 mAttribs[idx].normalized, 113 mAttribs[ct].normalized,
|
rsdVertexArray.h | 41 bool normalized; member in class:RsdVertexArray::Attrib 46 void set(uint32_t type, uint32_t size, uint32_t stride, bool normalized, size_t offset, const char *name);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
SuggestionUtils.java | 101 String normalized; local 107 normalized = DEFAULT_SCHEME + SCHEME_SEPARATOR + url; 110 normalized = url; 113 int end = normalized.length(); 114 if (normalized.indexOf('/', start) == end - 1) { 117 return normalized.substring(0, end);
|
/external/icu/icu4c/source/i18n/ |
nortrans.cpp | 113 * must not be normalized. 118 UnicodeString input, normalized; 124 fNorm2.normalize(input, normalized, status); 126 text.handleReplaceBetween(start, limit, normalized); 128 int32_t delta = normalized.length() - length; 136 UnicodeString normalized; local 154 fNorm2.normalize(segment, normalized, errorCode); 158 if(segment != normalized) { 159 // replace the input chunk with its normalized form 160 text.handleReplaceBetween(prev, start, normalized); [all...] |
uitercollationiterator.cpp | 131 } else if(state >= IN_NORM_ITER_AT_LIMIT && pos != normalized.length()) { 132 c = normalized[pos++]; 152 U_ASSERT(pos < normalized.length()); 154 if(U16_IS_TRAIL(trail = normalized[pos])) { ++pos; } 192 } else if(state >= IN_NORM_ITER_AT_LIMIT && pos != normalized.length()) { 193 c = normalized.char32At(pos); 246 c = normalized.char32At(pos - 1); 277 (state >= IN_NORM_ITER_AT_LIMIT && pos == normalized.length())); 291 // The input text segment needed to be normalized. 308 // Collect the characters being checked, in case they need to be normalized [all...] |
/external/chromium-trace/catapult/dashboard/dashboard/ |
find_step_test.py | 153 # A list with a standard deviation of zero cannot be normalized because 155 normalized = find_step._Normalize([5.0]) 156 self.assertEqual(1, len(normalized)) 157 self.assertTrue(math.isnan(normalized[0])) 159 normalized = find_step._Normalize([5.0, 5.0]) 160 self.assertEqual(2, len(normalized)) 161 self.assertTrue(math.isnan(normalized[0])) 162 self.assertTrue(math.isnan(normalized[1])) 171 # When a data series is normalized, it is guaranteed that the result 174 normalized = find_step._Normalize(y_values [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
FCDIterCollationIterator.java | 85 pos != normalized.length()) { 86 c = normalized.codePointAt(pos); 139 c = normalized.codePointBefore(pos); 175 pos != normalized.length()) { 176 c = normalized.charAt(pos++); 196 assert(pos < normalized.length()); 198 if(Character.isLowSurrogate(trail = normalized.charAt(pos))) { ++pos; } 227 (state.compareTo(State.IN_NORM_ITER_AT_LIMIT) >= 0 && pos == normalized.length())); 241 // The input text segment needed to be normalized. 260 // Collect the characters being checked, in case they need to be normalized 450 private StringBuilder normalized; local [all...] |
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
FCDIterCollationIterator.java | 83 pos != normalized.length()) { 84 c = normalized.codePointAt(pos); 137 c = normalized.codePointBefore(pos); 173 pos != normalized.length()) { 174 c = normalized.charAt(pos++); 194 assert(pos < normalized.length()); 196 if(Character.isLowSurrogate(trail = normalized.charAt(pos))) { ++pos; } 225 (state.compareTo(State.IN_NORM_ITER_AT_LIMIT) >= 0 && pos == normalized.length())); 239 // The input text segment needed to be normalized. 258 // Collect the characters being checked, in case they need to be normalized 448 private StringBuilder normalized; local [all...] |
/external/eigen/unsupported/test/ |
alignedvector3.cpp | 45 VERIFY_IS_APPROX(f2.normalized(),r2.normalized()); 47 VERIFY_IS_APPROX((f2+f1).normalized(),(r2+r1).normalized());
|
/frameworks/compile/slang/ |
slang_rs_export_element.h | 45 bool normalized; member in struct:slang::RSExportElement::__anon28956
|
slang_rs_export_element.cpp | 37 bool normalized; member in struct:slang::DataElementInfo 61 EI->normalized = DataElementInfoTable[i].normalized; 97 EI->normalized); 112 EI->normalized);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/ |
CorrelatedRandomVectorGenerator.java | 41 * {@link NormalizedRandomGenerator normalized values} like {@link 72 /** Storage for the normalized vector. */ 73 private final double[] normalized; field in class:CorrelatedRandomVectorGenerator 88 * @param generator underlying generator for uncorrelated normalized 111 normalized = new double[rank]; 121 * @param generator underlying generator for uncorrelated normalized 139 normalized = new double[rank]; 143 /** Get the underlying normalized components generator. 288 normalized[i] = generator.nextNormalizedDouble(); 296 correlated[i] += root.getEntry(i, j) * normalized[j] [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
NormalizationTransliterator.java | 89 * must not be normalized. 96 StringBuilder normalized = new StringBuilder(); local 114 norm2.normalize(segment, normalized); 115 if(!Normalizer2Impl.UTF16Plus.equal(segment, normalized)) { 116 // replace the input chunk with its normalized form 117 text.replace(prev, start, normalized.toString()); 120 int delta = normalized.length() - (start - prev);
|
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
NormalizationTransliterator.java | 88 * must not be normalized. 95 StringBuilder normalized = new StringBuilder(); local 113 norm2.normalize(segment, normalized); 114 if(!Normalizer2Impl.UTF16Plus.equal(segment, normalized)) { 115 // replace the input chunk with its normalized form 116 text.replace(prev, start, normalized.toString()); 119 int delta = normalized.length() - (start - prev);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
TransitionDrawable.java | 179 float normalized = (float) local 181 done = normalized >= 1.0f; 182 normalized = Math.min(normalized, 1.0f); 183 mAlpha = (int) (mFrom + (mTo - mFrom) * normalized);
|
/external/deqp/framework/delibs/debase/ |
deInt32.c | 152 deUint32 normalized = (deUint32)a << shift; /* Highest bit is always 1. */ local 153 int lookupNdx = (normalized >> (31 - RCP_LUT_BITS)) & ((1<<RCP_LUT_BITS)-1); /* Discard high bit, leave 8 next highest bits to lowest bits of normalized. */ 165 tmp = deSafeMuluAsr32(result, normalized, 31); 169 tmp = deSafeMuluAsr32(result, normalized, 31);
|
/external/mesa3d/src/mesa/state_tracker/ |
st_atom.h | 77 GLboolean normalized, GLboolean integer);
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
HdmiUtils.java | 303 String normalized = language.toLowerCase(); local 304 return ((normalized.charAt(0) & 0xFF) << 16) 305 | ((normalized.charAt(1) & 0xFF) << 8) 306 | (normalized.charAt(2) & 0xFF);
|
/external/opencv3/3rdparty/openexr/Imath/ |
ImathVec.cpp | 167 Vec2<short>::normalized () const function in class:Imath::Vec2 236 Vec2<int>::normalized () const function in class:Imath::Vec2 305 Vec3<short>::normalized () const function in class:Imath::Vec3 374 Vec3<int>::normalized () const function in class:Imath::Vec3 443 Vec4<short>::normalized () const function in class:Imath::Vec4 512 Vec4<int>::normalized () const function in class:Imath::Vec4
|
/libcore/ojluni/src/main/java/sun/util/locale/ |
BaseLocale.java | 171 private final boolean normalized; field in class:BaseLocale.Key 175 * Creates a Key. language and region must be normalized 186 this.normalized = true; 203 String variant, boolean normalized) { 242 this.normalized = normalized; 277 if (key.normalized) {
|