Home
last modified time | relevance | path

Searched refs:lt (Results 1 – 16 of 16) sorted by relevance

/frameworks/native/libs/ui/
DTransform.cpp252 vec2 lt( bounds.left, bounds.top ); in transform() local
257 lt = transform(lt); in transform()
263 r.left = static_cast<int32_t>(floorf(std::min({lt[0], rt[0], lb[0], rb[0]}))); in transform()
264 r.top = static_cast<int32_t>(floorf(std::min({lt[1], rt[1], lb[1], rb[1]}))); in transform()
265 r.right = static_cast<int32_t>(ceilf(std::max({lt[0], rt[0], lb[0], rb[0]}))); in transform()
266 r.bottom = static_cast<int32_t>(ceilf(std::max({lt[1], rt[1], lb[1], rb[1]}))); in transform()
268 r.left = static_cast<int32_t>(floorf(std::min({lt[0], rt[0], lb[0], rb[0]}) + 0.5f)); in transform()
269 r.top = static_cast<int32_t>(floorf(std::min({lt[1], rt[1], lb[1], rb[1]}) + 0.5f)); in transform()
270 r.right = static_cast<int32_t>(floorf(std::max({lt[0], rt[0], lb[0], rb[0]}) + 0.5f)); in transform()
271 r.bottom = static_cast<int32_t>(floorf(std::max({lt[1], rt[1], lb[1], rb[1]}) + 0.5f)); in transform()
[all …]
/frameworks/rs/script_api/
DUtilities.cpp102 size_t lt = in.find('<', start); in stripHtml() local
103 if (lt == string::npos) { in stripHtml()
107 out += in.substr(start, lt - start); in stripHtml()
108 if (isalpha(in[lt + 1]) || in[lt + 1] == '/') { in stripHtml()
110 start = in.find('>', lt + 1); in stripHtml()
Drs_math.spec505 if value &lt; min_value, max_value if value &gt; max_value, otherwise value.
947 Returns the maximum of a and b, i.e. <code>(a &lt; b ? b : a)</code>.
3054 if (v &lt; 0) return -1.f;
3195 Returns 0.f if v &lt; edge, 1.f otherwise.
3198 …instructions. For example, instead of computing <code>(a[i] &lt; b[i]) ? 0.f : @atan2(a[i], b[i])…
/frameworks/native/libs/ui/include/ui/
DRect.h69 inline Rect(const Point& lt, const Point& rb) { in Rect() argument
70 left = lt.x; in Rect()
71 top = lt.y; in Rect()
127 void setLeftTop(const Point& lt) { in setLeftTop() argument
128 left = lt.x; in setLeftTop()
129 top = lt.y; in setLeftTop()
/frameworks/native/include/ui/
DRect.h69 inline Rect(const Point& lt, const Point& rb) { in Rect() argument
70 left = lt.x; in Rect()
71 top = lt.y; in Rect()
127 void setLeftTop(const Point& lt) { in setLeftTop() argument
128 left = lt.x; in setLeftTop()
129 top = lt.y; in setLeftTop()
/frameworks/native/libs/ui/include_vndk/ui/
DRect.h69 inline Rect(const Point& lt, const Point& rb) { in Rect() argument
70 left = lt.x; in Rect()
71 top = lt.y; in Rect()
127 void setLeftTop(const Point& lt) { in setLeftTop() argument
128 left = lt.x; in setLeftTop()
129 top = lt.y; in setLeftTop()
/frameworks/base/tools/split-select/
DRuleGenerator.cpp60 sp<Rule> lt = new Rule(); in generateDensity() local
61 lt->op = Rule::LESS_THAN; in generateDensity()
62 lt->key = Rule::SCREEN_DENSITY; in generateDensity()
63 lt->longArgs.add(findMid(allDensities[index], allDensities[index + 1])); in generateDensity()
64 densityRule->subrules.add(lt); in generateDensity()
/frameworks/av/media/libeffects/downmix/
DEffectDownmix.cpp896 float lt, rt, centerPlusLfeContrib; // samples in Q19.12 format in Downmix_foldFrom5Point1() local
911 lt = pSrc[0] + centerPlusLfeContrib + pSrc[4]; in Downmix_foldFrom5Point1()
915 pDst[0] = clamp_float(pDst[0] + (lt / 2.0f)); in Downmix_foldFrom5Point1()
927 lt = pSrc[0] + centerPlusLfeContrib + pSrc[4]; in Downmix_foldFrom5Point1()
931 pDst[0] = clamp_float(lt / 2.0f); // differs from when accumulate is true above in Downmix_foldFrom5Point1()
958 float lt, rt, centerPlusLfeContrib; // samples in Q19.12 format in Downmix_foldFrom7Point1() local
975 lt = pSrc[0] + centerPlusLfeContrib + pSrc[6] + pSrc[4]; in Downmix_foldFrom7Point1()
979 pDst[0] = clamp_float(pDst[0] + (lt / 2.0f)); in Downmix_foldFrom7Point1()
991 lt = pSrc[0] + centerPlusLfeContrib + pSrc[6] + pSrc[4]; in Downmix_foldFrom7Point1()
995 pDst[0] = clamp_float(lt / 2.0f); // differs from when accumulate is true above in Downmix_foldFrom7Point1()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavigationBarView.java752 LayoutTransition lt = navButtons.getLayoutTransition(); in updateNavButtonIcons() local
753 if (lt != null) { in updateNavButtonIcons()
754 if (!lt.getTransitionListeners().contains(mTransitionListener)) { in updateNavButtonIcons()
755 lt.addTransitionListener(mTransitionListener); in updateNavButtonIcons()
791 LayoutTransition lt = navButtons.getLayoutTransition(); in updateLayoutTransitionsEnabled() local
792 if (lt != null) { in updateLayoutTransitionsEnabled()
794 lt.enableTransitionType(LayoutTransition.APPEARING); in updateLayoutTransitionsEnabled()
795 lt.enableTransitionType(LayoutTransition.DISAPPEARING); in updateLayoutTransitionsEnabled()
796 lt.enableTransitionType(LayoutTransition.CHANGE_APPEARING); in updateLayoutTransitionsEnabled()
797 lt.enableTransitionType(LayoutTransition.CHANGE_DISAPPEARING); in updateLayoutTransitionsEnabled()
[all …]
/frameworks/av/media/ndk/
DNdkImageReader.cpp449 Point lt = buffer->mCrop.leftTop(); in acquireImageLocked() local
450 if (lt.x != 0 || lt.y != 0) { in acquireImageLocked()
451 ALOGE("Crop left top corner [%d, %d] not at origin", lt.x, lt.y); in acquireImageLocked()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/
DEmergencyNumberTracker.java336 LocaleTracker lt = sst.getLocaleTracker(); in getInitialCountryIso() local
337 if (lt != null) { in getInitialCountryIso()
338 return lt.getCurrentCountry(); in getInitialCountryIso()
820 LocaleTracker lt = sst.getLocaleTracker(); in getCountryIsoForCachingDatabase() local
821 if (lt != null) { in getCountryIsoForCachingDatabase()
822 return lt.getLastKnownCountryIso(); in getCountryIsoForCachingDatabase()
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp565 Point lt = buffer->mCrop.leftTop(); in ImageReader_imageSetup() local
566 if (lt.x != 0 || lt.y != 0) { in ImageReader_imageSetup()
568 "crop left top corner [%d, %d] need to be at origin", lt.x, lt.y); in ImageReader_imageSetup()
/frameworks/base/tests/LegacyRestoreTest/
Dkk-fixed-encrypted-settings-abcd.ab12 �������� ���wz7-L-���|lt���=Ź��d�@Ɨ5�4$�s�+89��t�Fʹ�P{�r�������AE�l�]p�g ��<>��6�����w�p�;�i…
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
DMLand.java241 final LayoutTransition lt = new LayoutTransition(); in setScoreFieldHolder() local
242 lt.setDuration(250); in setScoreFieldHolder()
243 mScoreFields.setLayoutTransition(lt); in setScoreFieldHolder()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaCallTracker.java1889 LocaleTracker lt = sst.getLocaleTracker(); in getNetworkCountryIso() local
1890 if (lt != null) { in getNetworkCountryIso()
1891 countryIso = lt.getCurrentCountry(); in getNetworkCountryIso()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java5126 LocaleTracker lt = sst.getLocaleTracker(); in getNetworkCountryIso() local
5127 if (lt != null) { in getNetworkCountryIso()
5128 countryIso = lt.getCurrentCountry(); in getNetworkCountryIso()