Home
last modified time | relevance | path

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

/frameworks/native/libs/ui/
DTransform.cpp256 vec2 lt( bounds.left, bounds.top ); in transform() local
261 lt = transform(lt); in transform()
267 r.left = static_cast<int32_t>(floorf(std::min({lt[0], rt[0], lb[0], rb[0]}))); in transform()
268 r.top = static_cast<int32_t>(floorf(std::min({lt[1], rt[1], lb[1], rb[1]}))); in transform()
269 r.right = static_cast<int32_t>(ceilf(std::max({lt[0], rt[0], lb[0], rb[0]}))); in transform()
270 r.bottom = static_cast<int32_t>(ceilf(std::max({lt[1], rt[1], lb[1], rb[1]}))); in transform()
272 r.left = static_cast<int32_t>(floorf(std::min({lt[0], rt[0], lb[0], rb[0]}) + 0.5f)); in transform()
273 r.top = static_cast<int32_t>(floorf(std::min({lt[1], rt[1], lb[1], rb[1]}) + 0.5f)); in transform()
274 r.right = static_cast<int32_t>(floorf(std::max({lt[0], rt[0], lb[0], rb[0]}) + 0.5f)); in transform()
275 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/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/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/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/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavigationBarView.java658 LayoutTransition lt = navButtons.getLayoutTransition(); in updateNavButtonIcons() local
659 if (lt != null) { in updateNavButtonIcons()
660 if (!lt.getTransitionListeners().contains(mTransitionListener)) { in updateNavButtonIcons()
661 lt.addTransitionListener(mTransitionListener); in updateNavButtonIcons()
706 LayoutTransition lt = navButtons.getLayoutTransition(); in updateLayoutTransitionsEnabled() local
707 if (lt != null) { in updateLayoutTransitionsEnabled()
709 lt.enableTransitionType(LayoutTransition.APPEARING); in updateLayoutTransitionsEnabled()
710 lt.enableTransitionType(LayoutTransition.DISAPPEARING); in updateLayoutTransitionsEnabled()
711 lt.enableTransitionType(LayoutTransition.CHANGE_APPEARING); in updateLayoutTransitionsEnabled()
712 lt.enableTransitionType(LayoutTransition.CHANGE_DISAPPEARING); in updateLayoutTransitionsEnabled()
[all …]
/frameworks/av/media/ndk/
DNdkImageReader.cpp451 Point lt = buffer->mCrop.leftTop(); in acquireImageLocked() local
452 if (lt.x != 0 || lt.y != 0) { in acquireImageLocked()
453 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.java354 LocaleTracker lt = sst.getLocaleTracker(); in getInitialCountryIso() local
355 if (lt != null) { in getInitialCountryIso()
356 return lt.getCurrentCountry(); in getInitialCountryIso()
831 LocaleTracker lt = sst.getLocaleTracker(); in getCountryIsoForCachingDatabase() local
832 if (lt != null) { in getCountryIsoForCachingDatabase()
833 return lt.getLastKnownCountryIso(); in getCountryIsoForCachingDatabase()
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp569 Point lt = buffer->mCrop.leftTop(); in ImageReader_imageSetup() local
570 if (lt.x != 0 || lt.y != 0) { in ImageReader_imageSetup()
572 "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/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaCallTracker.java1895 LocaleTracker lt = sst.getLocaleTracker(); in getNetworkCountryIso() local
1896 if (lt != null) { in getNetworkCountryIso()
1897 countryIso = lt.getCurrentCountry(); in getNetworkCountryIso()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java5431 LocaleTracker lt = sst.getLocaleTracker(); in getNetworkCountryIso() local
5432 if (lt != null) { in getNetworkCountryIso()
5433 countryIso = lt.getCurrentCountry(); in getNetworkCountryIso()