/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--) {
|
ListWithScreenOfNoSelectablesTest.java | 44 final int numItems = mListView.getCount(); 45 for (int i = 1; i < numItems; 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);
|
ListOfItemsTallerThanScreenTest.java | 130 final int numItems = mListView.getAdapter().getCount(); 133 while (mListView.getSelectedItemPosition() < (numItems - 1)) { 151 assertEquals(numItems - 1, mListView.getSelectedItemPosition());
|
/external/sonivox/arm-wt-22k/lib_src/ |
eas_xmf.c | 546 EAS_I32 numItems; 561 if ((result = XMF_ReadVLQ(hwInstData, pXMFData->fileHandle, &numItems)) != EAS_SUCCESS) 589 if (numItems == 0) 635 for ( ; numItems > 0; numItems--) 677 EAS_I32 numItems; 706 if ((result = XMF_ReadVLQ(pEASData, fileHandle, &numItems)) != EAS_SUCCESS) 729 while (numItems > 0) 793 numItems--; 796 if (numItems >0 [all...] |
/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;
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
UniscribeController.cpp | 186 int numItems = 0; 187 while (ScriptItemize(cp, length, m_items.size() - 1, &m_control, &m_state, m_items.data(), &numItems) == E_OUTOFMEMORY) { 191 m_items.resize(numItems + 1);
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
ListOfInternalSelectionViews.java | 37 public static final String BUNDLE_PARAM_NUM_ITEMS = "com.google.test.numItems"; 97 * @param numItems The number of items in the list. 102 public static Bundle getBundleFor(int numItems, int numRowsPerItem, double itemScreenHeightFactor) { 104 bundle.putInt(BUNDLE_PARAM_NUM_ITEMS, numItems); 132 int numItems = icicle.getInt(BUNDLE_PARAM_NUM_ITEMS, -1); 133 if (numItems != -1) { 134 mNumItems = numItems;
|
/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) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/ |
PolicySerializationTestActivity.java | 186 int numItems = mAdapter.getCount(); 187 for (int i = 0; i < numItems; i++) {
|
/external/webkit/Source/WebCore/rendering/ |
RenderListBox.cpp | 102 int size = numItems(); 208 return min(max(minSize, numItems()), maxDefaultSize); 217 int RenderListBox::numItems() const 224 return itemHeight() * numItems() - rowSpacing; 237 bool enabled = numVisibleItems() < numItems(); 240 m_vBar->setProportion(numVisibleItems(), numItems()); 263 int listItemsSize = numItems(); 316 int size = numItems(); 453 if (!numItems()) 464 return newOffset < numItems() ? newOffset : -1 [all...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
ComponentTest.java | [all...] |
/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...] |
/packages/apps/Gallery/src/com/android/camera/ |
GalleryPicker.java | 487 int numItems = mAdapter.mItems.size(); 488 if (numItems == 0) { 490 } else if (numItems == 1) {
|
/dalvik/vm/ |
Debugger.cpp | [all...] |
/external/webkit/Source/WebCore/platform/chromium/ |
PopupMenuChromium.cpp | 129 // [0, numItems), and non-option items will be skipped. 133 int numItems() const { return static_cast<int>(m_items.size()); } 714 if (numItems() == 0 && event.windowsVirtualKeyCode() != VKEY_ESCAPE) 840 int itemCount = numItems(); 869 for (int i = 0; i < numItems(); ++i) 873 if (numItems() == 0) [all...] |
/frameworks/base/core/java/android/widget/ |
Gallery.java | 679 int numItems = mItemCount; 781 int numItems = mItemCount; 797 while (curLeftEdge < galleryRight && curPosition < numItems) { [all...] |