Searched refs:count (Results 451 - 475 of 642) sorted by relevance

<<11121314151617181920>>

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
H A DEditorDraw.java170 int count = menu.size();
171 for (int i = 0; i < count; i++) {
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/
H A DExportDialog.java79 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
83 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncherProvider.java345 int count = db.delete(args.table, args.where, args.args);
346 if (count > 0) {
350 return count;
360 int count = db.update(args.table, values, args.where, args.args);
361 if (count > 0) notifyListeners();
364 return count;
1082 int count = loader.loadLayout(db, screenIds);
1103 return count;
H A DCellLayout.java579 final int count = getChildCount();
580 for (int i = 0; i < count; i++) {
669 public void removeViews(int start, int count) { argument
670 for (int i = start; i < start + count; i++) {
673 mShortcutsAndWidgets.removeViews(start, count);
677 public void removeViewsInLayout(int start, int count) { argument
678 for (int i = start; i < start + count; i++) {
681 mShortcutsAndWidgets.removeViewsInLayout(start, count);
1379 int count = views.size();
1380 for (int i = 0; i < count;
[all...]
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DSharePopup.java201 int count = mShareList.getChildCount();
202 for (int i = 0; i < count; i++) {
/packages/apps/Messaging/src/com/android/messaging/datamodel/
H A DMessageNotificationState.java291 public ConversationInfoList(final int count, final List<ConversationLineInfo> infos) { argument
292 mMessageCount = count;
616 final Integer count = map.get(firstName);
617 if (count != null) {
618 return count > 1;
914 final Integer count = firstNames.get(authorFirstName);
915 if (count != null && count > 1) {
/packages/apps/Messaging/src/com/android/messaging/ui/
H A DVideoThumbnailView.java337 final int count = getChildCount();
338 for (int i = 0; i < count; i++) {
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothPairingDialogFragment.java85 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
89 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
/packages/apps/Settings/src/com/android/settings/wifi/
H A DWriteWifiConfigToNfcDialog.java228 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
292 public void beforeTextChanged(CharSequence s, int start, int count, int after) {} argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
H A DCustomInputStyleSettingsFragment.java271 final int count = group.getPreferenceCount();
272 for (int i = 0; i < count; i++) {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
H A DMoreSuggestions.java197 final int count = mParams.layout(suggestedWords, fromIndex, maxWidth, minWidth, maxRow,
200 mToIndex = fromIndex + count;
H A DSuggestionStripLayoutHelper.java497 int count = 0;
500 && count < maxSuggestionInStrip; indexInSuggestedWords++) {
516 count++;
632 final int count;
636 count = paint.getTextWidths(text, 0, length, widths);
641 for (int i = 0; i < count; i++) {
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
H A DBinaryDictDecoderUtils.java297 * Reads and returns the PtNode count out of a buffer and forwards the pointer.
330 final int count = dictDecoder.readPtNodeCount();
336 for (int i = count - 1; i >= 0; --i) {
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDataRowHandlerForStructuredName.java98 int count = super.delete(db, txContext, c);
103 return count;
/packages/services/Telecomm/src/com/android/server/telecom/settings/
H A DBlockedNumbersActivity.java263 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
268 public void onTextChanged(CharSequence text, int start, int before, int count) { argument
/packages/apps/Calendar/tests/src/com/android/calendar/
H A DAsyncQueryServiceTest.java505 * So just compare the count which will be unique in our TestCursor;
563 assertEquals(expected[i].count, results[i].count);
573 int count = 0;
575 while (count < mWork.length) {
579 count++;
583 return count;
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DGLES20Canvas.java491 private void draw(int type, int offset, int count, float x, float y, float width, float height, argument
493 draw(type, offset, count, x, y, width, height, paint.getColor(), paint.getLineWidth());
496 private void draw(int type, int offset, int count, float x, float y, float width, float height, argument
499 draw(mDrawParameters, type, count, x, y, width, height);
554 private void draw(ShaderParameter[] params, int type, int count, float x, float y, float width, argument
560 GLES20.glDrawArrays(type, 0, count);
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMediaProvider.java479 int count = databases.length;
488 count--;
500 count--;
507 while (count > limit) {
526 count--;
620 sArtistAlbumsMap.put(MediaStore.Audio.Albums.NUMBER_OF_SONGS, "count(*) AS " +
878 + " count(*) AS numsongs,album_art._data AS album_art FROM audio"
988 c1 = db.query("audio_meta", new String[] {"count(*)"},
990 c2 = db.query("audio_meta", new String[] {"count(distinct _data)"},
1370 && projectionIn[0].equalsIgnoreCase("count(*)")
[all...]
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
H A Ddocument.h1683 void SetArrayRaw(GenericValue* values, SizeType count, Allocator& allocator) { argument
1685 if (count) {
1686 data_.a.elements = (GenericValue*)allocator.Malloc(count * sizeof(GenericValue));
1687 std::memcpy(data_.a.elements, values, count * sizeof(GenericValue));
1691 data_.a.size = data_.a.capacity = count;
1695 void SetObjectRaw(Member* members, SizeType count, Allocator& allocator) { argument
1697 if (count) {
1698 data_.o.members = (Member*)allocator.Malloc(count * sizeof(Member));
1699 std::memcpy(data_.o.members, members, count * sizeof(Member));
1703 data_.o.size = data_.o.capacity = count;
[all...]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadProvider.java1124 int count;
1177 count = 0;
1182 count = db.update(DB_TABLE, filteredValues, selection.getSelection(),
1212 return count;
1265 int count;
1321 count = db.delete(DB_TABLE, selection.getSelection(), selection.getParameters());
1335 return count;
1367 int count = (cursor != null) ? cursor.getCount() : 0;
1368 if (count != 1) {
1370 if (count
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapContentObserver.java158 // Text only MMS converted to SMS if sms parts less than or equal to defined count
2361 int count = 0;
2381 count = mResolver.update(uri, contentValues, null, null);
2382 if (D) Log.d(TAG, " -> "+count +" rows updated!");
2395 count = mResolver.update(uri, contentValues, null, null);
2396 if (D) Log.d(TAG, " -> "+count +" rows updated!");
2409 count = mProviderClient.update(uri, contentValues, null, null);
2412 return (count > 0);
2480 Log.v(TAG, "pushMessage: messages count=" + messages.length);
2813 int count
2924 writeMmsDataPart(long handle, MimePart part, int count) argument
[all...]
H A DBluetoothMapbMessageMime.java449 int count = 0;
464 count++;
465 part.encode(sb, getBoundary(), (count == parts.size()));
492 if(D) Log.d(TAG,"Header count=" + headers.length);
585 if(D) Log.d(TAG, "parseMimePart: headers count=" + headers.length);
715 if(D) Log.d(TAG, "mimePart count=" + mimeParts.length);
/packages/apps/Email/tests/src/com/android/email/provider/
H A DAttachmentProviderTests.java224 // count all attachments with an empty URI, regardless of mailbox location
235 // count all attachments with an empty URI, only in an inbox
648 for (int count = 0; count < numAttachments; count++) {
650 "file" + count, 100 * count, true, mMockContext);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DCellLayout.java592 final int count = getChildCount();
593 for (int i = 0; i < count; i++) {
690 public void removeViews(int start, int count) { argument
691 for (int i = start; i < start + count; i++) {
694 mShortcutsAndWidgets.removeViews(start, count);
698 public void removeViewsInLayout(int start, int count) { argument
699 for (int i = start; i < start + count; i++) {
702 mShortcutsAndWidgets.removeViewsInLayout(start, count);
716 final int count = mShortcutsAndWidgets.getChildCount();
719 for (int i = count
[all...]
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/
H A DProviderPerfActivity.java252 Log.w(TAG, "Invalid iteration count", e);
507 int count = 0;
511 int expectByte = count & 0xff;
523 count++;
525 return count == 0 ? 0.0f : ((float) sumNanos / (float) count / 1000000.0f);

Completed in 6445 milliseconds

<<11121314151617181920>>