Home
last modified time | relevance | path

Searched refs:mNumItems (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/media/libstagefright/foundation/
DAMessage.cpp58 mNumItems(0) { in AMessage()
63 mNumItems(0) { in AMessage()
92 for (size_t i = 0; i < mNumItems; ++i) { in clear()
98 mNumItems = 0; in clear()
160 for (; i < mNumItems; i++) { in findItemIndex()
175 gAverageNumItems += mNumItems; in findItemIndex()
196 if (i < mNumItems) { in allocateItem()
200 CHECK(mNumItems < kMaxNumItems); in allocateItem()
201 i = mNumItems++; in allocateItem()
213 if (i < mNumItems) { in findItem()
[all …]
/frameworks/base/core/tests/coretests/src/android/util/
DGridScenario.java44 private int mNumItems; field in GridScenario
75 return mNumItems; in getInitialNumItems()
89 private int mNumItems = 4; field in GridScenario.Params
107 mNumItems = numItems; in setNumItems()
287 for (int i = 0; i < params.mNumItems; i++) { in readAndValidateParams()
296 "the height of the screen. this is not the case with " + params.mNumItems in readAndValidateParams()
302 mNumItems = params.mNumItems; in readAndValidateParams()
345 return mNumItems; in getCount()
DListScenario.java50 private int mNumItems; field in ListScenario
99 private int mNumItems = 4; field in ListScenario.Params
123 mNumItems = numItems; in setNumItems()
463 for (int i = 0; i < params.mNumItems; i++) { in readAndValidateParams()
472 "the height of the screen. this is not the case with " + params.mNumItems in readAndValidateParams()
478 mNumItems = params.mNumItems; in readAndValidateParams()
613 return mNumItems; in getCount()
636 if (position >= mNumItems || position < 0) { in getView()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DScrollingThroughListOfFocusablesTest.java39 private int mNumItems = 4; field in ScrollingThroughListOfFocusablesTest
49 mNumItems, // 4 items in setUp()
73 assertEquals(mNumItems, mActivity.getNumItems()); in testPreconditions()
134 for (int i = 0; i < mNumItems; i++) { in testNoFadingEdgeAtBottomOfLastItem()
136 if (i < mNumItems - 1 || j < mNumRowsPerItem - 1) { in testNoFadingEdgeAtBottomOfLastItem()
143 assertEquals(mNumItems - 1, mListView.getSelectedItemPosition()); in testNoFadingEdgeAtBottomOfLastItem()
DListOfInternalSelectionViews.java44 private int mNumItems = 5; field in ListOfInternalSelectionViews
70 return mNumItems; in getNumItems()
138 mNumItems = numItems; in initFromBundle()
153 return mNumItems; in getCount()
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DAMessage.h300 size_t mNumItems; member