Home
last modified time | relevance | path

Searched refs:normalized (Results 1 – 25 of 79) sorted by relevance

1234

/aosp12/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DSuggestionUtils.java101 String normalized; in normalizeUrl() local
107 normalized = DEFAULT_SCHEME + SCHEME_SEPARATOR + url; in normalizeUrl()
110 normalized = url; in normalizeUrl()
113 int end = normalized.length(); in normalizeUrl()
114 if (normalized.indexOf('/', start) == end - 1) { in normalizeUrl()
117 return normalized.substring(0, end); in normalizeUrl()
/aosp12/frameworks/rs/driver/
H A DrsdVertexArray.cpp49 normalized = false; in clear()
54 bool normalized, size_t offset, in set() argument
60 this->normalized = normalized; in set()
77 mAttribs[idx].normalized, in logAttrib()
112 mAttribs[ct].normalized, in setup()
H A DrsdVertexArray.h43 bool normalized; variable
48 …void set(uint32_t type, uint32_t size, uint32_t stride, bool normalized, size_t offset, const char…
/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DPhotoProcessorTest.java43 final Bitmap normalized = PhotoProcessor.getNormalizedBitmap(sourceBitmap, 50, false); in testTransparency() local
46 assertEquals(10, normalized.getWidth()); in testTransparency()
47 assertEquals(10, normalized.getHeight()); in testTransparency()
50 assertEquals(Color.argb(255, 255, 255, 255), normalized.getPixel(0, 0)); in testTransparency()
/aosp12/frameworks/base/graphics/java/android/graphics/drawable/
H A DTransitionDrawable.java195 float normalized = (float) in draw() local
197 done = normalized >= 1.0f; in draw()
198 normalized = Math.min(normalized, 1.0f); in draw()
199 mAlpha = (int) (mFrom + (mTo - mFrom) * normalized); in draw()
/aosp12/frameworks/compile/slang/
H A Dslang_rs_export_element.cpp37 bool normalized; member
61 EI->normalized = DataElementInfoTable[i].normalized; in Init()
97 EI->normalized); in Create()
112 EI->normalized); in Create()
H A Dslang_rs_export_element.h45 bool normalized; member
/aosp12/frameworks/base/core/java/com/android/internal/graphics/cam/
H A DCamUtils.java157 float normalized = (float) rgbComponent / 255.0f; in linearized() local
159 if (normalized <= 0.04045f) { in linearized()
160 return (normalized / 12.92f) * 100.0f; in linearized()
162 return (float) Math.pow(((normalized + 0.055f) / 1.055f), 2.4f) * 100.0f; in linearized()
/aosp12/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/
H A DIndexData.java129 final String normalized = Normalizer.normalize(nohyphen, Normalizer.Form.NFD); in normalizeString() local
131 return REMOVE_DIACRITICALS_PATTERN.matcher(normalized).replaceAll("").toLowerCase(); in normalizeString()
136 final String normalized = Normalizer.normalize(nohyphen, Normalizer.Form.NFKD); in normalizeJapaneseString() local
138 final int length = normalized.length(); in normalizeJapaneseString()
140 char c = normalized.charAt(i); in normalizeJapaneseString()
/aosp12/frameworks/native/libs/vr/libdvrcommon/tests/
H A Dpose_test.cpp32 FT(M_PI / 3.0), vec3_t(FT(3.0), FT(4.0), FT(5.0)).normalized())); in TYPED_TEST()
75 FT(M_PI / 6.0), vec3_t(FT(3.0), FT(4.0), FT(5.0)).normalized())); in TYPED_TEST()
102 FT(M_PI / 3.0), vec3_t(FT(1.0), FT(-1.0), FT(0.0)).normalized())); in TYPED_TEST()
130 FT(M_PI / 2.0), vec3_t(FT(4.0), FT(-2.0), FT(-1.0)).normalized())); in TYPED_TEST()
/aosp12/hardware/interfaces/input/common/1.0/
H A Dtypes.hal34 * The value is normalized to a range from -1.0 (left) to 1.0 (right).
36 * The value is normalized to a range from -1.0 (left) to 1.0 (right).
49 * The value is normalized to a range from -1.0 (up) to 1.0 (down).
51 * The value is normalized to a range from -1.0 (up or far) to 1.0 (down or near).
58 * by a finger or other tool. The value is normalized to a range from
154 * The value is normalized to a range from -1.0 (down) to 1.0 (up).
163 * The value is normalized to a range from -1.0 (left) to 1.0 (right).
172 * The value is normalized to a range from -1.0 (high) to 1.0 (low).
204 * The value is normalized to a range from -1.0 (left) to 1.0 (right).
211 * The value is normalized to a range from -1.0 (up) to 1.0 (down).
[all …]
/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DNameSplitter.java755 String normalized = lastToken.toUpperCase(); in parseSuffix() local
756 if (mSuffixesSet.contains(normalized)) { in parseSuffix()
765 normalized += "."; in parseSuffix()
769 while (normalized.length() <= mMaxSuffixLength) { in parseSuffix()
771 if (mSuffixesSet.contains(normalized)) { in parseSuffix()
788 normalized = tokens.mTokens[pos].toUpperCase() + "." + normalized; in parseSuffix()
840 final String normalized = word.toUpperCase(); in isFamilyNamePrefix() local
842 return mLastNamePrefixesSet.contains(normalized) in isFamilyNamePrefix()
843 || mLastNamePrefixesSet.contains(normalized + "."); in isFamilyNamePrefix()
/aosp12/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DRecurrenceProcessor.java1284 private static final long normDateTimeComparisonValue(Time normalized) { in normDateTimeComparisonValue() argument
1287 return ((long)normalized.getYear() << 26) + (normalized.getMonth() << 22) in normDateTimeComparisonValue()
1288 + (normalized.getDay() << 17) + (normalized.getHour() << 12) in normDateTimeComparisonValue()
1289 + (normalized.getMinute() << 6) + normalized.getSecond(); in normDateTimeComparisonValue()
/aosp12/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecMessageBuilder.java117 String normalized = language.toLowerCase(); in buildSetMenuLanguageCommand() local
119 (byte) (normalized.charAt(0) & 0xFF), in buildSetMenuLanguageCommand()
120 (byte) (normalized.charAt(1) & 0xFF), in buildSetMenuLanguageCommand()
121 (byte) (normalized.charAt(2) & 0xFF), in buildSetMenuLanguageCommand()
/aosp12/hardware/interfaces/graphics/common/1.1/
H A Dtypes.hal33 * The component values are unsigned normalized to the range [0, 1], whose
42 * The component values are unsigned normalized to the range [0, 1], whose
51 * The depth component values are unsigned normalized to the range [0, 1],
106 * The component values are unsigned normalized to the range [0, 1], whose
193 * Inverse Gamma Correction (IGC): V represents normalized (with [0 to 1]
/aosp12/frameworks/base/media/mca/filterfw/native/core/
H A Dshader_program.cpp59 normalized(false), in VertexAttrib()
959 attrib.normalized = normalize; in SetAttributeValues()
985 attrib.normalized = normalize; in SetAttributeValues()
1025 attrib.normalized = false; in SetAttributeValues()
1075 attrib.normalized, in PushAttributes()
1085 attrib.normalized, in PushAttributes()
/aosp12/frameworks/base/apex/jobscheduler/service/java/com/android/server/
H A DAnyMotionDetector.java270 Vector3 previousGravityVectorNormalized = mPreviousGravityVector.normalized(); in getStationaryStatus()
271 Vector3 currentGravityVectorNormalized = mCurrentGravityVector.normalized(); in getStationaryStatus()
386 public Vector3 normalized() { in normalized() method in AnyMotionDetector.Vector3
/aosp12/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
H A Dnumeric.h84 vec2 normalized((pt - vec2(from.p1)).array() / vec2(from.GetSize()).array()); in MapPoint()
85 return (normalized * vec2(to.GetSize())) + vec2(to.p1); in MapPoint()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DVector3Test.java106 AnyMotionDetector.Vector3 unitXAxisNormalized = unitXAxis.normalized();
112 AnyMotionDetector.Vector3 x3Normalized = x3.normalized();
/aosp12/packages/apps/Dialer/java/com/android/dialer/phonenumberproto/
H A Ddialer_phone_number.proto24 // consists of a normalized number string and a two-letter country code.
29 // A dialer-normalized version of the number. Here are some general rules:
/aosp12/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutTest.java675 String normalized; in buildTestMessage() local
677 normalized = "NFC"; in buildTestMessage()
679 normalized = "NFD"; in buildTestMessage()
681 normalized = "NFKC"; in buildTestMessage()
683 normalized = "NFKD"; in buildTestMessage()
695 + ", Normalization: " + normalized; in buildTestMessage()
/aosp12/frameworks/base/services/core/java/com/android/server/power/
H A DThermalManagerService.java1236 float normalized = normalizeTemperature(currentTemperature, threshold); in getForecast() local
1237 if (Float.isNaN(maxNormalized) || normalized > maxNormalized) { in getForecast()
1238 maxNormalized = normalized; in getForecast()
1244 float normalized = normalizeTemperature( in getForecast() local
1246 if (Float.isNaN(maxNormalized) || normalized > maxNormalized) { in getForecast()
1247 maxNormalized = normalized; in getForecast()
/aosp12/frameworks/base/opengl/java/android/opengl/
H A DGLES20.java1885 boolean normalized, in glVertexAttribPointer() argument
1896 boolean normalized, in glVertexAttribPointerBounds() argument
1906 boolean normalized, in glVertexAttribPointer() argument
1914 normalized, in glVertexAttribPointer()
/aosp12/packages/apps/Dialer/java/com/android/dialer/blockreportspam/
H A Dblock_report_spam_dialog_info.proto16 // A dialer-normalized version of the number used in the dialogs.
/aosp12/packages/apps/TV/tests/unit/src/com/android/tv/data/
H A DChannelImplTest.java361 private void assertNormalizedDisplayNumber(String displayNumber, String normalized) { in assertNormalizedDisplayNumber() argument
362 assertThat(ChannelImpl.normalizeDisplayNumber(displayNumber)).isEqualTo(normalized); in assertNormalizedDisplayNumber()

1234