/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
H A D | ExpiredTimersActivity.java | 201 final int count = mExpiredTimersView.getChildCount(); 202 for (int i = 0; i < count; ++i) { 251 final int count = mExpiredTimersView.getChildCount(); 252 for (int i = 0; i < count; ++i) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | FilterDeleteSet.java | 89 // 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 D | MediaSet.java | 65 // 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 D | AlbumFragment.java | 94 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 D | IndicatorControl.java | 66 int count = getChildCount(); 67 for (int i = 0 ; i < count ; ++i) { 197 final int count = getChildCount(); 198 for (int i = 0; i < count; i++) {
|
H A D | IndicatorControlWheel.java | 136 // Get current child count by level. 205 int count = getChildCountByLevel(mCurrentLevel); 206 if (count == 0) return -1; 207 int sectors = count - 1; 392 int count = getChildCountByLevel(1); 393 int sectors = (count <= 1) ? 1 : (count - 1); 402 for (int i = 0; i < count; i++) {
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/analytics/ |
H A D | ProvisioningAnalyticsTracker.java | 176 * @param count Number of terms displayed 178 public void logNumberOfTermsDisplayed(Context context, int count) { argument 179 mMetricsLoggerWrapper.logAction(context, PROVISIONING_TERMS_COUNT, count); 186 * @param count Number of terms read 188 public void logNumberOfTermsRead(Context context, int count) { argument 189 mMetricsLoggerWrapper.logAction(context, PROVISIONING_TERMS_READ, count);
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
H A D | EncodedStringValue.java | 288 int count = array.length; 289 if (count > 0) { 290 EncodedStringValue[] encodedArray = new EncodedStringValue[count]; 291 for (int i = 0; i < count; i++) {
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
H A D | CompositeAdapter.java | 56 int count = mAdapter.getCount(); 57 if (mHasHeader && (count != 0 || mShowIfEmpty)) { 58 count++; 60 return count;
|
/packages/apps/Messaging/src/com/android/messaging/widget/ |
H A D | BaseWidgetFactory.java | 133 final int count = getItemCount(); 135 LogUtil.v(TAG, "getCount: " + count); 137 mShouldShowViewMore = count < mCursor.getCount(); 138 return count + (mShouldShowViewMore ? 1 : 0);
|
/packages/apps/PhoneCommon/src/com/android/phone/common/ |
H A D | CallLogAsync.java | 93 int count = list.length;
|
/packages/apps/Settings/src/com/android/settings/core/instrumentation/ |
H A D | SettingSuggestionsLogWriter.java | 76 public void count(Context context, String name, int value) { method in class:SettingSuggestionsLogWriter
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/ |
H A D | bigram_dict_content.cpp | 50 int count = 0; local 56 count = bigramListBuffer->readUintAndAdvancePosition( 69 count += level; 70 const HistoricalInfo historicalInfo(timestamp, level, count); 102 AKLOGE("Cannot write bigram count. pos: %d, count: %d", *entryWritingPos,
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
H A D | forgetting_curve_utils.h | 108 static int clampToValidCountRange(const int count, const HeaderPolicy *const headerPolicy);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
H A D | BinaryDictIOUtils.java | 221 * @param ptNodeCount the count. 228 // the count must fit on one byte or two bytes. 247 * Compute the binary size of the node count 248 * @param count the node count 249 * @return the size of the node count, either 1 or 2 bytes. 251 public static int getPtNodeCountSize(final int count) { argument 252 if (FormatSpec.MAX_PTNODES_FOR_ONE_BYTE_PTNODE_COUNT >= count) { 254 } else if (FormatSpec.MAX_PTNODES_IN_A_PT_NODE_ARRAY >= count) { 259 + count [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | UserDictionaryToolsEdit.java | 185 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) {
|
H A D | Keyboard.java | 413 int count = 0; 416 count++; 418 count++; 421 int[] values = new int[count]; 422 count = 0; 426 values[count++] = Integer.parseInt(st.nextToken()); 710 int count = 0; 719 indices[count++] = i; 722 int [] cell = new int[count]; 723 System.arraycopy(indices, 0, cell, 0, count); [all...] |
/packages/providers/TvProvider/tests/src/com/android/providers/tv/ |
H A D | ParametersTest.java | 121 int count = mResolver.update(channelsUri, values, null, null); 125 assertEquals(expectedCount, count); 136 int count = mResolver.delete(channelsUri, null, null); 140 assertEquals(expectedCount, count); 152 // Insert one preview channel and then check if the count of preview channels is 0 and the 153 // count of non-preview channels is 0. 158 // Insert one non-preview channel and then check if the count of preview channels or
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppProvider.java | 373 int count; 397 count = db.update(DB_TABLE, values, myWhere, selectionArgs); 399 count = 0; 410 return count; 416 int count; 437 count = db.delete(DB_TABLE, myWhere, selectionArgs); 446 return count;
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
H A D | ExifTag.java | 94 // 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/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
H A D | ExifTag.java | 94 // 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/Messaging/src/com/android/messaging/util/exif/ |
H A D | ExifTag.java | 94 // 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/Test/connectivity/sl4n/rapidjson/test/perftest/ |
H A D | rapidjsontest.cpp | 196 size_t count = 1;
local 200 count++; // name
201 count += Traverse(itr->value);
207 count += Traverse(*itr);
214 return count;
219 size_t count = Traverse(doc_);
local 220 EXPECT_EQ(4339u, count);
222 // std::cout << count << std::endl;
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | ConversationViewAdapter.java | 703 final int count = mItems.size(); 704 if (count < 4) { 705 LogUtils.e(LOG_TAG, "not enough items in the adapter. count: %s", count); 708 final ConversationFooterItem item = (ConversationFooterItem) mItems.remove(count - 1); 718 final int count = mItems.size(); 719 if (count < 4) { 720 LogUtils.e(LOG_TAG, "not enough items in the adapter. count: %s", count); 723 final ConversationOverlayItem item = mItems.get(count [all...] |
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
H A D | ViewPagerTabs.java | 76 // For displaying the unread count next to the tab icon. 124 public void setUnreadCount(int count, int position) { argument 128 mUnreadCounts[position] = count; 134 final int count = adapter.getCount(); 135 for (int i = 0; i < count; i++) { 147 TextView textView = (TextView) layout.findViewById(R.id.count);
|