/packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/ |
H A D | language_model_dict_content_global_counters_test.cpp | 32 const int count = (1 << (Ver4DictConstants::WORD_COUNT_FIELD_SIZE * CHAR_BIT)) - 1; local 33 globalCounters.updateMaxValueOfCounters(count);
|
H A D | probability_entry_test.cpp | 42 const int count = 0xABCD; local 44 const HistoricalInfo historicalInfo(timestamp, 0 /* level */, count); 54 EXPECT_EQ(count, decodedEntry.getHistoricalInfo()->getCount());
|
H A D | language_model_dict_content_test.cpp | 55 const int count = 10; local 57 const HistoricalInfo historicalInfo(timestamp, 0 /* level */, count); 63 EXPECT_EQ(count, entry.getHistoricalInfo()->getCount());
|
/packages/apps/Camera2/src/com/android/camera/async/ |
H A D | UpdatableCountDownLatch.java | 27 public UpdatableCountDownLatch(int count) { argument 28 super(count);
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
H A D | ContactInteractionUtil.java | 38 * @return a string like (?,?,?...) with {@param count} question marks. 41 public static String questionMarks(int count) { argument 42 Preconditions.checkArgument(count > 0); 44 for (int i = 1; i < count; i++) {
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
H A D | CountingOutputStream.java | 24 * makes that count available to callers. 39 public void write(byte[] buffer, int offset, int count) throws IOException { argument 40 mOutputStream.write(buffer, offset, count); 41 mCount += count;
|
/packages/apps/Gallery2/jni_jpegstream/src/ |
H A D | inputstream_wrapper.cpp | 48 int64_t InputStreamWrapper::skip(int64_t count) { argument 51 static_cast<jlong>(count)));
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
H A D | CircularArray.java | 34 * @param count Max elements to hold in the list. 36 public CircularArray(int count) { argument 37 mMaxCount = count; 65 * Get the number of elements in the list. This will be 0 <= returned count <= max count 69 public int count() { method in class:CircularArray 93 * Get the object at index. Index 0 is the oldest item inserted into the list. Index (count() -
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
H A D | CountingOutputStream.java | 33 /** The count of bytes that have passed. */ 34 private long count; field in class:CountingOutputStream 48 * keeping count of the number of bytes written. 55 count += b.length; 61 * keeping count of the number of bytes written. 70 count += len; 75 * Writes a single byte to the output stream adding to the count of the 83 count++; 92 * count is greater than can be expressed by an <code>int</code>. 96 * @throws ArithmeticException if the byte count i [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/ |
H A D | ByteQueue.java | 46 public int count() { method in class:ByteQueue
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/ |
H A D | historical_info.h | 30 HistoricalInfo(const int timestamp, const int level, const int count) argument 31 : mTimestamp(timestamp), mLevel(level), mCount(count) {}
|
/packages/services/Telephony/src/com/android/phone/common/mail/utility/ |
H A D | CountingOutputStream.java | 23 * makes that count available to callers. 38 public void write(byte[] buffer, int offset, int count) throws IOException { argument 39 mOutputStream.write(buffer, offset, count); 40 mCount += count;
|
/packages/services/Telephony/src/org/apache/james/mime4j/decoder/ |
H A D | ByteQueue.java | 46 public int count() { method in class:ByteQueue
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
H A D | BluetoothMapMessageListing.java | 120 public void segment(int count, int offset) { argument 121 count = Math.min(count, mList.size() - offset); 122 if (count > 0) { 123 mList = mList.subList(offset, offset + count);
|
H A D | BluetoothMapConvoListing.java | 124 public void segment(int count, int offset) { argument 125 count = Math.min(count, mList.size() - offset); 126 if (count > 0) { 127 mList = mList.subList(offset, offset + count);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | FilterEmptyPromptSet.java | 47 public ArrayList<MediaItem> getMediaItem(int start, int count) { argument 50 return mBaseSet.getMediaItem(start, count); 51 } else if (start == 0 && count == 1) {
|
H A D | SingleItemAlbum.java | 39 public ArrayList<MediaItem> getMediaItem(int start, int count) { argument 42 // If [start, start+count) contains the index 0, return the item. 43 if (start <= 0 && start + count > 0) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
H A D | InterruptableOutputStream.java | 43 public void write(byte[] buffer, int offset, int count) throws IOException { argument 44 int end = offset + count;
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
H A D | AlbumSetLoader.java | 30 private static MatrixCursor createRandomCursor(int count) { argument 31 MatrixCursor c = new MatrixCursor(PROJECTION, count); 32 for (int i = 0; i < count; i++) {
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
H A D | Strings.java | 142 * @param count the number of times to repeat it; a nonnegative integer 143 * @return a string containing {@code string} repeated {@code count} times 144 * (the empty string if {@code count} is zero) 145 * @throws IllegalArgumentException if {@code count} is negative 147 public static String repeat(String string, int count) { argument 149 checkArgument(count >= 0, "invalid count: %s", count); 153 StringBuilder builder = new StringBuilder(string.length() * count); 154 for (int i = 0; i < count; [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/ |
H A D | CountingInputStream.java | 34 /** The count of bytes that have passed. */ 35 private long count; field in class:CountingInputStream 48 * Reads a number of bytes into the byte array, keeping count of the 58 this.count += (found >= 0) ? found : 0; 64 * keeping count of the number read. 75 this.count += (found >= 0) ? found : 0; 80 * Reads the next byte of data adding to the count of bytes received 89 this.count += (found >= 0) ? 1 : 0; 95 * amount to the count. 104 this.count [all...] |
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
H A D | dynamic_language_model_probability_utils.h | 31 static float computeRawProbabilityFromCounts(const int count, const int contextCount, argument 34 return static_cast<float>(count) / static_cast<float>(std::max(contextCount, minCount));
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
H A D | entry_counters.h | 77 void setNgramCount(const NgramType ngramType, const int count) { argument 78 mEntryCounters[static_cast<int>(ngramType)] = count;
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
H A D | nj_str.c | 55 NJ_UINT16 count = 0; local 59 count++; 61 return count; 92 NJ_UINT16 count = 0; local 96 count++; 99 return count;
|
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/ |
H A D | SdpManagerTest.java | 84 int count = handles.length-1; // Break condition 92 if(record_id == count) break; 99 if(record_id == count) break; 105 if(record_id == count) break; 112 if(record_id == count) break; 118 if (record_id == count) break; 131 private void addRemoveRecords(int count) { argument 132 int record_count = count; 159 int count = SDP_RECORD_COUNT; 160 int record_count = count; [all...] |