/external/lzma/CPP/7zip/UI/Common/ |
SortUtils.cpp | 17 int numItems = strings.Size();
18 indices.Reserve(numItems);
19 for(int i = 0; i < numItems; i++)
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
ListWithNoFadingEdgeTest.java | 52 final int numItems = mListView.getCount(); 54 for (int i = 0; i < numItems; i++) { 58 assertEquals("selected position", numItems - 1, mListView.getSelectedItemPosition()); 63 final int numItems = mListView.getCount(); 67 mListView.setSelection(numItems - 1); 72 for (int i = numItems - 1; i >=0; i--) {
|
ListOfThinItemsTest.java | 51 final int numItems = mListView.getAdapter().getCount(); 53 for (int i = 0; i < numItems; i++) { 79 final int numItems = mListView.getAdapter().getCount(); 81 for (int i = 0; i < numItems - 1; i++) { 85 numItems - 1, mListView.getSelectedItemPosition()); 90 for (int i = 0; i < numItems; i++) { 91 int expectedPostion = numItems - (i + 1);
|
ListWithScreenOfNoSelectablesTest.java | 44 final int numItems = mListView.getCount(); 45 for (int i = 1; i < numItems; i++) {
|
ListOfItemsTallerThanScreenTest.java | 130 final int numItems = mListView.getAdapter().getCount(); 133 while (mListView.getSelectedItemPosition() < (numItems - 1)) { 151 assertEquals(numItems - 1, mListView.getSelectedItemPosition());
|
/frameworks/base/core/tests/coretests/src/android/view/menu/ |
MenuScenario.java | 54 mItems = new MenuItem[mParams.numItems]; 55 mWasItemClicked = new boolean[mParams.numItems]; 66 for (int i = 0; i < mParams.numItems; i++) { 140 for (int i = 0; i < mParams.numItems; i++) { 150 private int numItems = 10; 159 public Params setNumItems(int numItems) { 160 this.numItems = numItems;
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
ListOfInternalSelectionViews.java | 38 public static final String BUNDLE_PARAM_NUM_ITEMS = "com.google.test.numItems"; 98 * @param numItems The number of items in the list. 103 public static Bundle getBundleFor(int numItems, int numRowsPerItem, double itemScreenHeightFactor) { 105 bundle.putInt(BUNDLE_PARAM_NUM_ITEMS, numItems); 136 int numItems = icicle.getInt(BUNDLE_PARAM_NUM_ITEMS, -1); 137 if (numItems != -1) { 138 mNumItems = numItems;
|
/frameworks/base/libs/hwui/utils/ |
SortedListImpl.h | 56 ssize_t insertAt(size_t where, size_t numItems = 1); 57 ssize_t insertAt(const void* item, size_t where, size_t numItems = 1);
|
/system/core/include/utils/ |
VectorImpl.h | 76 ssize_t insertAt(size_t where, size_t numItems = 1); 77 ssize_t insertAt(const void* item, size_t where, size_t numItems = 1); 172 ssize_t insertAt(size_t where, size_t numItems = 1); 173 ssize_t insertAt(const void* item, size_t where, size_t numItems = 1);
|
Vector.h | 140 inline ssize_t insertAt(size_t index, size_t numItems = 1); 142 ssize_t insertAt(const TYPE& prototype_item, size_t index, size_t numItems = 1); 327 ssize_t Vector<TYPE>::insertAt(const TYPE& item, size_t index, size_t numItems) { 328 return VectorImpl::insertAt(&item, index, numItems); 347 ssize_t Vector<TYPE>::insertAt(size_t index, size_t numItems) { 348 return VectorImpl::insertAt(index, numItems);
|
/system/core/libpixelflinger/codeflinger/tinyutils/ |
VectorImpl.h | 74 ssize_t insertAt(size_t where, size_t numItems = 1); 75 ssize_t insertAt(const void* item, size_t where, size_t numItems = 1); 183 ssize_t insertAt(size_t where, size_t numItems = 1); 184 ssize_t insertAt(const void* item, size_t where, size_t numItems = 1);
|
Vector.h | 125 inline ssize_t insertAt(size_t index, size_t numItems = 1); 127 ssize_t insertAt(const TYPE& prototype_item, size_t index, size_t numItems = 1); 266 ssize_t Vector<TYPE>::insertAt(const TYPE& item, size_t index, size_t numItems) { 267 return VectorImpl::insertAt(&item, index, numItems); 286 ssize_t Vector<TYPE>::insertAt(size_t index, size_t numItems) { 287 return VectorImpl::insertAt(index, numItems);
|
VectorImpl.cpp | 128 ssize_t VectorImpl::insertAt(size_t index, size_t numItems) 130 return insertAt(0, index, numItems); 133 ssize_t VectorImpl::insertAt(const void* item, size_t index, size_t numItems) 137 void* where = _grow(index, numItems); 140 _do_splat(where, item, numItems); 142 _do_construct(where, numItems);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
IconMenuView.java | 182 int numItems = getChildCount(); 183 if (numItems == 0) { 190 Math.min((int) Math.ceil(numItems / (float) mMaxItemsPerRow), mMaxRows); 197 layoutItemsUsingGravity(curNumRows, numItems); 199 if (curNumRows >= numItems) { 216 * @param numItems The total number of items (across all rows) contained in 220 private void layoutItemsUsingGravity(int numRows, int numItems) { 221 int numBaseItemsPerRow = numItems / numRows; 222 int numLeftoverItems = numItems % numRows; 659 int numItems = getChildCount() [all...] |
/external/lzma/CPP/7zip/Archive/7z/ |
7zExtract.cpp | 46 STDMETHODIMP CHandler::Extract(const UInt32 *indices, UInt32 numItems,
54 bool allFilesMode = (numItems == (UInt32)-1);
56 numItems =
63 if(numItems == 0)
75 for (UInt32 ii = 0; ii < numItems; ii++)
|
/external/harfbuzz/src/ |
harfbuzz-shaper.h | 151 const HB_ScriptItem *items, hb_uint32 numItems, 156 const HB_ScriptItem *items, hb_uint32 numItems, 161 const HB_ScriptItem *items, hb_uint32 numItems,
|
/external/lzma/CPP/7zip/Archive/ |
LzmaHandler.cpp | 220 STDMETHODIMP CHandler::GetNumberOfItems(UInt32 *numItems)
222 *numItems = 1;
321 STDMETHODIMP CHandler::Extract(const UInt32 *indices, UInt32 numItems,
325 if (numItems == 0)
327 if (numItems != (UInt32)-1 && (numItems != 1 || indices[0] != 0))
|
SplitHandler.cpp | 276 STDMETHODIMP CHandler::GetNumberOfItems(UInt32 *numItems)
278 *numItems = _streams.IsEmpty() ? 0 : 1;
297 STDMETHODIMP CHandler::Extract(const UInt32 *indices, UInt32 numItems,
301 if (numItems == 0)
303 if (numItems != (UInt32)-1 && (numItems != 1 || indices[0] != 0))
|
XzHandler.cpp | 270 STDMETHODIMP CHandler::GetNumberOfItems(UInt32 *numItems)
272 *numItems = 1;
451 STDMETHODIMP CHandler::Extract(const UInt32 *indices, UInt32 numItems,
455 if (numItems == 0)
457 if (numItems != (UInt32)-1 && (numItems != 1 || indices[0] != 0))
589 STDMETHODIMP CHandler::UpdateItems(ISequentialOutStream *outStream, UInt32 numItems,
594 if (numItems == 0)
600 if (numItems != 1)
|
/external/chromium_org/third_party/WebKit/Source/web/ |
PopupListBox.cpp | 211 if (!numItems() && event.windowsVirtualKeyCode() != VKEY_ESCAPE) 345 int itemCount = numItems(); 374 for (int i = 0; i < numItems(); ++i) 378 if (!numItems()) 569 for (int i = 0; i < numItems(); ++i) { 587 if (index >= numItems()) 615 if (index < 0 || index >= numItems()) 695 ASSERT(index >= 0 && index < numItems()); 710 if (!m_settings.loopSelectionNavigation || m_selectedIndex != numItems() - 1) { 733 selectIndex(numItems() - 1) [all...] |
/cts/tests/src/android/widget/cts/util/ |
ExpandableListScenario.java | 106 int numItems = 0; 110 numItems += mNumChildren[i]; 114 super.setNumItems(numItems); 120 public Params setNumItems(int numItems) {
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
AMutableDictionary.h | 39 - (id) initWithCapacity:(NSUInteger)numItems;
|
/external/chromium_org/chrome/renderer/resources/extensions/ |
app_runtime_custom_bindings.js | 25 var numItems = launchData.items.length; 32 if (--numItems === 0) {
|
/external/sonivox/arm-wt-22k/lib_src/ |
eas_xmf.c | 557 EAS_I32 numItems; 572 if ((result = XMF_ReadVLQ(hwInstData, pXMFData->fileHandle, &numItems)) != EAS_SUCCESS) 600 if (numItems == 0) 646 for ( ; numItems > 0; numItems--) 688 EAS_I32 numItems; 717 if ((result = XMF_ReadVLQ(pEASData, fileHandle, &numItems)) != EAS_SUCCESS) 740 while (numItems > 0) 804 numItems--; 807 if (numItems >0 [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderListBox.cpp | 117 int size = numItems(); 177 bool enabled = numVisibleItems() < numItems(); 179 m_vBar->setProportion(numVisibleItems(), numItems()); 256 int RenderListBox::numItems() const 263 return itemHeight() * numItems() - rowSpacing; 289 int listItemsSize = numItems(); 342 int size = numItems(); 480 if (!numItems()) 491 return newOffset < numItems() ? newOffset : -1; 589 if (index < 0 || index >= numItems() || listIndexIsVisible(index) [all...] |