Searched refs:count (Results 176 - 200 of 362) sorted by relevance

1234567891011>>

/packages/apps/Launcher2/src/com/android/launcher2/
H A DAppsCustomizePagedView.java451 // Temp hack for now: only use the max cell count Y for widget layout
975 int count = getChildCount();
976 for (int i = 0; i < count; i++) {
1506 int count = items.size();
1507 for (int i = 0; i < count; ++i) {
1546 int count = items.size();
1547 for (int i = 0; i < count; ++i) {
1735 int count = list.size();
1736 for (int i = 0; i < count; ++i) {
1883 final int count
[all...]
H A DPagedView.java391 final int count = getPageCount();
392 for (int i = 0; i < count; i++) {
694 int count = getChildCount();
695 if (count == 0) {
702 mChildOffsets = new int[count];
703 mChildRelativeOffsets = new int[count];
704 mChildOffsetsWithLayoutScale = new int[count];
705 for (int i = 0; i < count; i++) {
1570 int count = getChildCount();
1571 for (int i = 0; i < count;
[all...]
H A DAllAppsList.java138 int count = matches.size();
139 for (int i = 0; i < count; i++) {
/packages/apps/Settings/src/com/android/settings/inputmethod/
H A DInputMethodAndLanguageSettings.java342 int count = 0;
346 count++;
347 if (count > 1) {
352 return count == 1;
475 final int count = mHardKeyboardPreferenceList.size();
476 for (int i = 0; i < count; i++) {
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
H A DEntityDelta.java223 int count = 0;
227 count++;
229 return count;
266 int count = 0;
268 count += getMimeEntriesCount(mimeType, onlyVisible);
270 return count;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DAdditionalSubtypeSettings.java97 final int count = imi.getSubtypeCount();
98 for (int i = 0; i < count; i++) {
253 final int count = adapter.getCount();
254 for (int i = 0; i < count; i++) {
547 final int count = group.getPreferenceCount();
548 for (int i = 0; i < count; i++) {
/packages/apps/Browser/src/com/android/browser/view/
H A DScrollerView.java989 int count = focusables.size();
990 for (int i = 0; i < count; i++) {
1064 int count = getChildCount();
1065 if (count > 0) {
1066 View view = getChildAt(count - 1);
1102 int count = getChildCount();
1103 if (count > 0) {
1104 View view = getChildAt(count - 1);
1327 final int count = getChildCount();
1329 if (count
[all...]
/packages/apps/Email/tests/src/com/android/email/service/
H A DMailServiceTests.java131 assertEquals(3, EmailContent.count(mMockContext, Account.CONTENT_URI, null, null));
151 assertEquals(2, EmailContent.count(mMockContext, Account.CONTENT_URI, null, null));
157 assertEquals(1, EmailContent.count(mMockContext, Account.CONTENT_URI, null, null));
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
H A DAbstractSyncAdapter.java306 int count = 0;
316 offset = count + 1; // Remember to add 1 for the separator!
325 count++;
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
H A DContactMatcher.java163 * Captures the max score and match count for a specific contact. Used in an
439 int count = 0;
443 count++;
449 return matches.subList(0, count);
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppManager.java228 for (int i = 0, count = mUrisOfSendingFiles.size(); i < count; i++) {
425 int count = mUris.size();
427 for (int i = 0; i < count; i++) {
/packages/apps/Gallery2/tests/src/com/android/gallery3d/common/
H A DBlobCacheTest.java647 int count = 0;
652 count += data.length;
656 Log.v(TAG, "write bandwidth = " + (count / delta) + " M/s");
660 count = 0;
666 count += req.length;
671 Log.v(TAG, "copy over bandwidth = " + (count / delta) + " M/s");
674 count = 0;
680 count += req.length;
685 Log.v(TAG, "read bandwidth = " + (count / delta) + " M/s");
/packages/apps/Settings/src/com/android/settings/
H A DRingerVolumePreference.java337 VolumeStore[] getVolumeStore(int count) { argument
338 if (mVolumeStore == null || mVolumeStore.length != count) {
339 mVolumeStore = new VolumeStore[count];
340 for (int i = 0; i < count; i++) {
/packages/apps/Settings/src/com/android/settings/accounts/
H A DManageAccountsSettings.java194 int count = getPreferenceScreen().getPreferenceCount();
196 for (int i = 0; i < count; i++) {
236 for (int i = 0, count = getPreferenceScreen().getPreferenceCount(); i < count; i++) {
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DCallLogProviderTest.java140 int count = mResolver.update(uri, values, null, null);
141 assertEquals(1, count);
154 int count = mResolver.delete(Calls.CONTENT_URI, Calls._ID + "="
156 assertEquals(1, count);
/packages/apps/Calendar/src/com/android/calendar/
H A DUtils.java698 int count; field in class:Utils.DNAStrand
881 strands.get(rhs.color).count++;
900 strands.get(lhs.color).count++;
914 strands.get(currSegment.color).count--;
927 strands.get(currSegment.color).count--;
935 // if we're still not black, decrement the count for the
937 // the black count
939 strands.get(currSegment.color).count--;
941 strands.get(CONFLICT_COLOR).count++;
986 if (strand.count <
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DNavigationBarBase.java266 public void beforeTextChanged(CharSequence s, int start, int count, int after) { } argument
269 public void onTextChanged(CharSequence s, int start, int before, int count) { } argument
/packages/apps/Contacts/tests/src/com/android/contacts/activities/
H A DPeopleActivityTest.java196 private void expectContactListQuery(int count) { argument
207 for (int i = 1; i <= count; i++) {
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/
H A DTargetDrawable.java82 * container. The framework version relies on private api's to get the count from
87 * @param count The number of drawables in the resource.
89 public TargetDrawable(Resources res, int resId, int count) { argument
92 mNumDrawables = count;
/packages/apps/Email/src/com/android/email/activity/
H A DMailboxListFragment.java267 final int count = list.getChildCount();
268 for (int i = count - 1; i >= 0; i--) {
775 Log.d(Logging.LOG_TAG, MailboxListFragment.this + " onLoadFinished count="
906 final int count = lv.getCount();
907 for (int i = 0; i < count; i++) {
1134 int count = clipData.getItemCount();
1136 Log.d(TAG, "=== Dropping " + count + " items.");
1139 final long[] messageIds = new long[count];
1140 for (int i = 0; i < count; i++) {
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAccountSetupNames.java83 public void beforeTextChanged(CharSequence s, int start, int count, int after) {
87 public void onTextChanged(CharSequence s, int start, int before, int count) {
/packages/apps/Email/tests/src/com/android/email/
H A DDBTestHelper.java136 public EasyMockCursor(int count) { argument
137 mCount = count;
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DMtpDevice.java121 public ArrayList<MediaItem> getMediaItem(int start, int count) { argument
124 int end = Math.min(start + count, mJpegChildren.size());
H A DSecureAlbum.java87 public ArrayList<MediaItem> getMediaItem(int start, int count) { argument
94 int end = Math.min(start + count, existingCount);
/packages/apps/Mms/apptests/src/com/android/mms/tests/
H A DSmsSendIntentTestActivity.java136 private void sendMessage(int count, int dupeCount) { argument
158 for (int i = 0; i < count; i++) {

Completed in 744 milliseconds

1234567891011>>