Searched refs:count (Results 126 - 150 of 525) sorted by relevance

1234567891011>>

/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DOtherSettingsPopup.java121 int count = mSettingList.getChildCount();
125 for (int j = 0; j < count; j++) {
146 int count = mSettingList.getChildCount();
147 for (int i = 0; i < count; i++) {
/packages/apps/OMA-DM/engine/dmlib/dmengine/dm_persist/hdr/
H A DdmBufferWriter.h145 * \param count [in] - count of bytes to write
150 SYNCML_DM_RET_STATUS_T Write(UINT8 * pBuffer, UINT32 count);
/packages/apps/Settings/src/com/android/settings/inputmethod/
H A DInputMethodSettingValuesWrapper.java156 int count = 0;
163 ++count;
166 if (count == 0) {
169 return count;
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
H A DEditTextFragment.java129 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
131 mTextWatcher.beforeTextChanged(s, start, count, after);
136 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
138 mTextWatcher.onTextChanged(s, start, before, count);
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/
H A Dnjx_lib.h50 NJ_UINT8 count; member in struct:__anon222
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DSmsProvider.java303 final int count = messages.size();
304 MatrixCursor cursor = new MatrixCursor(ICC_COLUMNS, count);
305 for (int i = 0; i < count; i++) {
552 int count;
557 count = db.delete(TABLE_SMS, where, whereArgs);
558 if (count != 0) {
567 count = MmsSmsDatabaseHelper.deleteOneSms(db, message_id);
587 count = db.delete(TABLE_SMS, where, whereArgs);
592 count = db.delete("raw", where, whereArgs);
596 count
[all...]
/packages/services/Telephony/src/com/android/phone/
H A DCallTime.java133 int count = connections.size();
136 if (count == 1) {
142 for (int i = 0; i < count; i++) {
153 if (DBG) log("updateElapsedTime, count=" + count + ", duration=" + duration);
H A DPhoneSearchIndexablesProvider.java53 final int count = INDEXABLE_RES.length;
54 for (int n = 0; n < count; n++) {
/packages/apps/OMA-DM/engine/dmlib/tool-src/db_wizard_tool/com/mot/dm/dbtool/
H A DUtil.java20 int count = 0;
28 // add count to the end of id to make it unique.
35 tmp_id = id + ++count;
157 int count = 0;
160 Generator.arraySortedRecords[count] = record;
161 count++;
194 int count = 0;
196 count++;
202 throw new Exception("Error: The line#" + count +
209 throw new Exception("Error: The line#" + count
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/widget/
H A DEllipsizeLayout.java70 final int count = getChildCount();
75 for (int ii = 0; ii < count && !outOfSpec; ++ii) {
/packages/apps/Dialer/src/com/android/dialer/list/
H A DPhoneFavoriteSquareTileView.java87 final int count = getChildCount();
88 for (int i = 0; i < count; i++) {
/packages/apps/Email/tests/src/com/android/email/provider/
H A DPolicyTests.java95 assertEquals(0, EmailContent.count(mMockContext, Policy.CONTENT_URI));
112 assertEquals(0, EmailContent.count(mMockContext, Policy.CONTENT_URI));
148 assertEquals(4, EmailContent.count(mMockContext, Attachment.CONTENT_URI));
150 assertEquals(0, EmailContent.count(mMockContext, Attachment.CONTENT_URI,
155 assertEquals(4, EmailContent.count(mMockContext, Attachment.CONTENT_URI,
163 assertEquals(2, EmailContent.count(mMockContext, Attachment.CONTENT_URI,
176 assertEquals(3, EmailContent.count(mMockContext, Attachment.CONTENT_URI,
186 assertEquals(0, EmailContent.count(mMockContext, Attachment.CONTENT_URI,
/packages/apps/Mms/src/com/android/mms/ui/
H A DConversationListAdapter.java90 int count = getCount();
91 for (int i = 0; i < count; i++) {
/packages/apps/Settings/src/com/android/settings/
H A DManagedProfileSetup.java65 final int count = resolvedIntents.size();
66 for (int i = 0; i < count; i++) {
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
H A DCodePointUtils.java88 final int count = 1 + (Math.abs(random.nextInt()) % 5)
96 while (builder.length() < count) {
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDbModifierWithNotification.java143 int count = mDb.update(table, values, whereClause, whereArgs);
144 if (count > 0 && packagesModified.size() != 0) {
147 if (count > 0 && mIsCallsTable) {
150 return count;
156 int count = mDb.delete(table, whereClause, whereArgs);
157 if (count > 0 && packagesModified.size() != 0) {
160 if (count > 0 && mIsCallsTable) {
163 return count;
/packages/apps/Calendar/src/com/android/calendar/
H A DEventRecurrenceFormatter.java51 if (recurrence.count > 0) {
52 sb.append(r.getQuantityString(R.plurals.endByCount, recurrence.count,
53 recurrence.count));
80 int count = recurrence.bydayCount - 1;
81 for (int i = 0 ; i < count ; i++) {
85 days.append(dayToString(recurrence.byday[count], dayOfWeekLength));
/packages/apps/Camera/src/com/android/camera/ui/
H A DMoreSettingPopup.java143 int count = mEnabled == null ? 0 : mEnabled.length;
144 for (int j = 0; j < count; j++) {
161 int count = mEnabled == null ? 0 : mEnabled.length;
165 for (int j = 0; j < count; j++) {
193 int count = mSettingList.getChildCount();
194 for (int i = 0; i < count; i++) {
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
H A DMessageMove.java191 * @param count The number of messages.
194 final int count) {
195 deleteRowsForMessages(cr, CONTENT_URI, messageKeys, count);
202 * @param count The number of messages.
205 final int count) {
206 retryMessages(cr, CONTENT_URI, messageKeys, count);
213 * @param count The number of messages.
216 final int count) {
217 failMessages(cr, CONTENT_URI, messageKeys, count);
193 upsyncSuccessful(final ContentResolver cr, final long[] messageKeys, final int count) argument
204 upsyncRetry(final ContentResolver cr, final long[] messageKeys, final int count) argument
215 upsyncFail(final ContentResolver cr, final long[] messageKeys, final int count) argument
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
H A DLocalPhotoSource.java53 private static final String[] COUNT_PROJECTION = {"count(*)"};
107 private int[] getExponentialIndice(int total, int count) { argument
109 if (count > total) count = total;
110 HashSet<Integer> selected = new HashSet<Integer>(count);
111 while (selected.size() < count) {
115 int values[] = new int[count];
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DAlbumLabelMaker.java118 String title, String count, int sourceType) {
119 return new AlbumLabelJob(title, count, sourceType);
137 public AlbumLabelJob(String title, String count, int sourceType) { argument
139 mCount = count;
148 String count = mCount;
182 // draw count
186 drawText(canvas, x, y, count,
117 requestLabel( String title, String count, int sourceType) argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DPointerTrackerQueue.java119 int count = 0;
123 count++;
124 if (count > 1) {
154 int newIndex = 0, count = 0;
158 count++;
159 if (count > 1) {
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/
H A Dforgetting_curve_utils.cpp50 const int count = clampToValidCountRange(newHistoricalInfo->getCount(), headerPolicy); local
51 return HistoricalInfo(timestamp, level, count);
58 const int count = clampToValidCountRange(newHistoricalInfo->getCount(), headerPolicy); local
59 return HistoricalInfo(timestamp, level, count);
63 // The count exceeds the max value the level can be incremented.
71 originalHistoricalInfo->getLevel() + 1, 0 /* count */);
130 originalHistoricalInfo->getLevel() - levelDownAmount, 0 /* count */);
136 // Unigram count exceeds the limit.
139 // Bigram count exceeds the limit.
171 /* static */ int ForgettingCurveUtils::clampToValidCountRange(const int count, argument
[all...]
/packages/apps/OMA-DM/engine/dmlib/dmengine/oma_toolkit/hdr/
H A Dsml.h298 SML_API_DEF void *smlLibMemset(void *pObject, int value, MemSize_t count);
299 SML_API_DEF void *smlLibMemcpy(void *pTarget, const void *pSource, MemSize_t count);
300 SML_API_DEF int smlLibMemcmp(const void *pTarget, const void *pSource, MemSize_t count);
312 SML_API_DEF String_t smlLibStrncpy(const char *pTarget, const char *pSource, int count);
313 SML_API_DEF int smlLibStrncmp(const char *pTarget, const char *pSource, int count);
318 SML_API_DEF void *smlLibMemmove(void *pTarget, const void *pSource, MemSize_t count);
320 SML_API_DEF String_t smlLibStrncat(const char *pTarget, const char *pSource, int count);
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DGroupMembershipView.java322 int count = mAdapter.getCount();
323 for (int i = 0; i < count; i++) {
340 int count = mAdapter.getCount();
342 if (list.isItemChecked(count - 1)) {
343 list.setItemChecked(count - 1, false);
348 for (int i = 0; i < count; i++) {
368 for (int i = 0; i < count; i++) {
383 int count = mAdapter.getCount();
384 for (int i = 0; i < count; i++) {

Completed in 816 milliseconds

1234567891011>>