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

1234567891011>>

/packages/apps/Settings/src/com/android/settings/
H A DHighlightingFragment.java106 final int count = group.getChildCount();
107 for (int n = 0; n < count; n++) {
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
H A DMimeMultipart.java93 for (int i = 0, count = mParts.size(); i < count; i++) {
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/
H A DAccountPreferences.java53 * The count reported last time the "X unseen in Outbox" tip was displayed.
55 public static final String LAST_SEEN_OUTBOX_COUNT = "last-seen-outbox-count";
144 public void setLastSeenOutboxCount(final int count) { argument
145 getEditor().putInt(PreferenceKeys.LAST_SEEN_OUTBOX_COUNT, count).apply();
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DSuppressNotificationReceiver.java152 final int count = intent.getIntExtra(
154 // If the count is zero we want to let the intent through so that the
156 // This will allow a server change, that modifies the unread count to 0, to be handled
158 if (count == 0) {
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/content/
H A Dprobability_entry.h103 const int count = readFromEncodedEntry(encodedEntry, local
105 const HistoricalInfo historicalInfo(timestamp, level, count);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDataRowHandlerForEmail.java78 int count = super.delete(db, txContext, c);
83 return count;
H A DDataRowHandlerForNickname.java80 int count = super.delete(db, txContext, c);
85 return count;
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DTelephonyProvider.java896 int count = 0;
921 count = db.delete(CARRIERS_TABLE, where, whereArgs);
940 count = db.delete(CARRIERS_TABLE, where, whereArgs);
946 count = db.delete(CARRIERS_TABLE, Telephony.Carriers._ID + "=?",
963 count = 1;
985 if ((match == URL_PREFERAPN) || (match == URL_PREFERAPN_USING_SUBID)) count = 1;
990 count = db.delete(SIMINFO_TABLE, where, whereArgs);
999 if (count > 0) {
1003 return count;
1009 int count
[all...]
/packages/apps/Dialer/src/com/android/dialer/
H A DPhoneCallDetailsHelper.java77 int count = details.callTypes.length;
79 for (int index = 0; index < count && index < MAX_CALL_TYPE_ICONS; ++index) {
92 // Show the total call count only if there are more than the maximum number of icons.
94 if (count > MAX_CALL_TYPE_ICONS) {
95 callCount = count;
102 // Set the call count, location and date.
236 /** Sets the call count and date. */
239 // Combine the count (if present) and the date.
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DFilterDeleteSet.java89 // start + count). Because we remove some of the MediaItems, the index need
113 public ArrayList<MediaItem> getMediaItem(int start, int count) { argument
114 if (count <= 0) return new ArrayList<MediaItem>();
116 int end = start + count - 1;
133 ArrayList<MediaItem> base = mBaseSet.getMediaItem(start + i, count + (j - i));
H A DMediaSet.java65 // Returns the media items in the range [start, start + count).
67 // The number of media items returned may be less than the specified count
72 public ArrayList<MediaItem> getMediaItem(int start, int count) { argument
206 int count = Math.min(MEDIAITEM_BATCH_FETCH_COUNT, total - start);
207 ArrayList<MediaItem> items = getMediaItem(start, count);
212 start += count;
/packages/apps/Gallery2/src/com/android/photos/
H A DAlbumFragment.java94 int count = mAdapter.getCount();
96 R.plurals.number_of_photos, count, count));
97 if (count > 0) {
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DIndicatorControl.java66 int count = getChildCount();
67 for (int i = 0 ; i < count ; ++i) {
197 final int count = getChildCount();
198 for (int i = 0; i < count; i++) {
/packages/apps/OMA-DM/engine/dmlib/dmengine/dm_ua/hdr/
H A DdmConstraints.h121 * \param count [in] - number constraints to read
128 UINT8 count,
/packages/apps/OMA-DM/engine/dmlib/dmengine/dm_util/src/
H A Ddmtoken.cc127 UINT32 count = 0; local
138 count++;
144 return count;
148 return count+1;
/packages/apps/PhoneCommon/src/com/android/phone/common/
H A DCallLogAsync.java93 int count = list.length;
/packages/apps/Settings/src/com/android/settings/inputmethod/
H A DSpellCheckersSettings.java73 final int count = (mEnabledScis == null) ? 0 : mEnabledScis.length;
74 for (int index = 0; index < count; ++index) {
113 final int count = screen.getPreferenceCount();
114 for (int index = 0; index < count; index++) {
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/
H A Dforgetting_curve_utils.h109 static int clampToValidCountRange(const int count, const HeaderPolicy *const headerPolicy);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
H A DBinaryDictIOUtils.java235 * @param ptNodeCount the count.
242 // the count must fit on one byte or two bytes.
261 * Compute the binary size of the node count
262 * @param count the node count
263 * @return the size of the node count, either 1 or 2 bytes.
265 public static int getPtNodeCountSize(final int count) { argument
266 if (FormatSpec.MAX_PTNODES_FOR_ONE_BYTE_PTNODE_COUNT >= count) {
268 } else if (FormatSpec.MAX_PTNODES_IN_A_PT_NODE_ARRAY >= count) {
273 + count
[all...]
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DUserDictionaryToolsEdit.java185 public void beforeTextChanged(CharSequence s, int start, int count, int after) {
187 public void onTextChanged(CharSequence s, int start, int before, int count) {
201 public void beforeTextChanged(CharSequence s, int start, int count, int after) {
203 public void onTextChanged(CharSequence s, int start, int before, int count) {
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppProvider.java393 int count;
417 count = db.update(DB_TABLE, values, myWhere, selectionArgs);
419 count = 0;
430 return count;
436 int count;
457 count = db.delete(DB_TABLE, myWhere, selectionArgs);
466 return count;
/packages/apps/Camera2/src/com/android/camera/exif/
H A DExifTag.java94 // If tag has defined count
96 // Actual data count in tag (should be number of elements in value array)
201 * Gets the component count of this tag.
210 * Sets the component count of this tag. Call this function before
211 * setValue() if the length of value does not match the component count.
213 protected void forceSetComponentCount(int count) { argument
214 mComponentCountActual = count;
232 * <li>The value.length does NOT match the component count in the definition
267 * <li>The component count in the definition of this tag is not 1.</li>
282 * <li>The value.length does NOT match the component count i
882 checkBadComponentCount(int count) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DAggregationSuggestionEngine.java318 int count = mSuggestedContactIds.length;
319 for (int i = 0; i < count; i++) {
339 final int count = cursor.getCount();
340 boolean changed = count != mSuggestedContactIds.length;
341 final ArrayList<Long> newIds = new ArrayList<Long>(count);
439 int count = suggestion.rawContacts.size();
440 for (int i = 0; i < count; i++) {
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
H A DExifTag.java94 // If tag has defined count
96 // Actual data count in tag (should be number of elements in value array)
201 * Gets the component count of this tag.
210 * Sets the component count of this tag. Call this function before
211 * setValue() if the length of value does not match the component count.
213 protected void forceSetComponentCount(int count) { argument
214 mComponentCountActual = count;
232 * <li>The value.length does NOT match the component count in the definition
267 * <li>The component count in the definition of this tag is not 1.</li>
282 * <li>The value.length does NOT match the component count i
882 checkBadComponentCount(int count) argument
[all...]
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/
H A DExifTag.java94 // If tag has defined count
96 // Actual data count in tag (should be number of elements in value array)
201 * Gets the component count of this tag.
210 * Sets the component count of this tag. Call this function before
211 * setValue() if the length of value does not match the component count.
213 protected void forceSetComponentCount(int count) { argument
214 mComponentCountActual = count;
232 * <li>The value.length does NOT match the component count in the definition
267 * <li>The component count in the definition of this tag is not 1.</li>
282 * <li>The value.length does NOT match the component count i
882 checkBadComponentCount(int count) argument
[all...]

Completed in 1866 milliseconds

1234567891011>>