Home
last modified time | relevance | path

Searched refs:isInRange (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libstagefright/foundation/tests/
DUtils_test.cpp191 ASSERT_FALSE(isInRange(-43, 86u, -44)); in TEST_F()
192 ASSERT_TRUE(isInRange(-43, 87u, -43)); in TEST_F()
193 ASSERT_TRUE(isInRange(-43, 88u, -1)); in TEST_F()
194 ASSERT_TRUE(isInRange(-43, 89u, 0)); in TEST_F()
195 ASSERT_TRUE(isInRange(-43, 90u, 46)); in TEST_F()
196 ASSERT_FALSE(isInRange(-43, 91u, 48)); in TEST_F()
197 ASSERT_FALSE(isInRange(-43, 92u, 50)); in TEST_F()
199 ASSERT_FALSE(isInRange(43, 86u, 42)); in TEST_F()
200 ASSERT_TRUE(isInRange(43, 87u, 43)); in TEST_F()
201 ASSERT_TRUE(isInRange(43, 88u, 44)); in TEST_F()
[all …]
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DAUtils.h72 inline static bool isInRange(const T &hayStart, const U &haySize, const T &needle) { in isInRange() function
80 inline static bool isInRange( in isInRange() function
83 return isInRange(hayStart, haySize, needleStart) in isInRange()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskStackLayoutAlgorithm.java102 public boolean isInRange(float absX) { in isInRange() method in Range
736 if (!currentRange.isInRange(taskProgress)) { in computeStackVisibilityReport()
753 if (!currentRange.isInRange(taskProgress)) { in computeStackVisibilityReport()
861 boolean unfocusedVisible = mUnfocusedRange.isInRange(taskProgress); in getStackTransform()
862 boolean focusedVisible = mFocusedRange.isInRange(taskProgress); in getStackTransform()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp265 if (isInRange(mCachedOffset, mCachedSize, offset, size)) { in readAt()
5981 bool isMalFormed = !isInRange((size_t)0u, size, srcOffset, mNALLengthSize); in read()
5986 isMalFormed = !isInRange((size_t)0u, size, srcOffset, nalLength); in read()
6217 if (!isInRange((size_t)0u, mBuffer->size(), size)) { in fragmentedRead()
6280 || !isInRange((size_t)0u, (size_t)max_size, size)) { in fragmentedRead()
6309 isMalFormed = !isInRange((size_t)0u, size, srcOffset, mNALLengthSize); in fragmentedRead()
6314 isMalFormed = !isInRange((size_t)0u, size, srcOffset, nalLength) in fragmentedRead()
6315 || !isInRange((size_t)0u, mBuffer->size(), dstOffset, (size_t)4u) in fragmentedRead()
6316 || !isInRange((size_t)0u, mBuffer->size(), dstOffset + 4, nalLength); in fragmentedRead()