/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
H A D | BinaryDictDecoderUtils.java | 210 final int length = word.length(); 212 for (int i = 0; i < length; i = word.offsetByCodePoints(i, 1)) { 243 final int length = word.length(); 245 for (int i = 0; i < length; i = word.offsetByCodePoints(i, 1)) { 340 builder.append(new String(info.mCharacters, 0, info.mCharacters.length)); 347 builder.append(new String(last.mCharacters, 0, last.mCharacters.length)); 357 builder.append(new String(last.mCharacters, 0, last.mCharacters.length)); 380 while (index < headerBuffer.length) { [all...] |
/packages/apps/Nfc/nci/jni/extns/pn54x/src/mifare/ |
H A D | phNxpExtns_MifareStd.c | 253 NdefMap->pTransceiveInfo->sSendData.length = MAX_BUFF_SIZE; 261 NdefMap->pTransceiveInfo->sRecvData.length = MAX_BUFF_SIZE; 422 p_data.ndef_data.len = NdefInfo.psUpperNdefMsg->length; 625 NdefInfo.psUpperNdefMsg->length = NdefInfo.NdefActualSize; 680 NdefInfo.psUpperNdefMsg->length = NdefInfo.NdefActualSize; 691 NdefInfo.psUpperNdefMsg->length = NdefInfo.NdefActualSize; 701 PacketDataLength = (uint32_t*)&(NdefInfo.psUpperNdefMsg->length); 713 NdefInfo.psUpperNdefMsg->length = 0x00; 758 gAuthCmdBuf.pauth_cmd->length); 826 NdefInfo.psUpperNdefMsg->length 2051 uint32_t length = SendLength; local [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppReceiveFileInfo.java | 71 public BluetoothOppReceiveFileInfo(String data, long length, int status) { argument 74 mLength = length; 77 public BluetoothOppReceiveFileInfo(String filename, long length, FileOutputStream outputStream, argument 82 mLength = length; 95 long length = 0; 103 length = metadataCursor.getLong(1); 133 if (stat.getBlockSize() * ((long)stat.getAvailableBlocks() - 4) < length) { 179 return new BluetoothOppReceiveFileInfo(fullfilename, length, new FileOutputStream(
|
/packages/apps/Camera2/tests/src/com/android/camera/functional/ |
H A D | VideoCaptureIntentTest.java | 146 long length = mFile.length(); 147 Log.v(TAG, "Video size is " + length + " bytes."); 148 assertTrue(length > 0); 149 assertTrue("Actual size=" + length, length <= sizeLimit); 170 Log.v(TAG, "Video length is " + duration + " ms."); 201 assertTrue(mFile.length() <= mFile2.length());
|
/packages/apps/Camera2/tests_camera/src/com/android/camera/functional/ |
H A D | VideoCaptureIntentTest.java | 146 long length = mFile.length(); 147 Log.v(TAG, "Video size is " + length + " bytes."); 148 assertTrue(length > 0); 149 assertTrue("Actual size=" + length, length <= sizeLimit); 170 Log.v(TAG, "Video length is " + duration + " ms."); 201 assertTrue(mFile.length() <= mFile2.length());
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/format/ |
H A D | TextHighlighter.java | 83 while (prefixStart < prefix.length() && 92 result.setSpan(mTextStyleSpan, index, index + trimmedPrefix.length(), 0 /* flags */);
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | PhotoAppWidgetBind.java | 56 || appWidgetIds.length != bitmaps.size()) { 63 for (int i = 0; i < appWidgetIds.length; i++) {
|
/packages/apps/Gallery2/jni/filters/ |
H A D | geometry.c | 24 int length = srcHeight; local 25 int total = length * width; 38 int length = srcHeight; local 39 int total = length * width; 76 int length = srcHeight; local 77 int total = length * width; 80 for (j = 0; j < length * cpy_bytes; j+= cpy_bytes){ 82 int column_disp = (width - cpy_bytes - i) * length;
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | ComboAlbumSet.java | 70 for (int i = 0, n = mSets.length; i < n; ++i) { 79 for (int i = 0, n = mSets.length; i < n; ++i) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
H A D | ImageFilterHighlights.java | 64 float[] luminanceMap = new float[curve.length]; 65 for (int i = 0; i < luminanceMap.length; i++) {
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/ |
H A D | VideoCaptureIntentTest.java | 169 long length = mFile.length(); 170 Log.v(TAG, "Video size is " + length + " bytes."); 171 assertTrue(length > 0); 172 assertTrue("Actual size=" + length, length <= sizeLimit); 193 Log.v(TAG, "Video length is " + duration + " ms."); 224 assertTrue(mFile.length() <= mFile2.length());
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
H A D | GifTranscoder.java | 47 final long inputSize = new File(filePath).length(); 52 final long outputSize = new File(outFilePath).length();
|
/packages/apps/Messaging/tests/src/com/android/messaging/ |
H A D | TestUtil.java | 77 if ((conversationWidgetIds.length > 0) || (conversationListWidgetIds.length > 0)) {
|
/packages/apps/Nfc/tests/src/com/android/nfc/ |
H A D | MockLlcpSocket.java | 66 System.arraycopy(arr, 0, receiveBuffer, 0, arr.length); 67 return arr.length;
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | AppListSwitchPreference.java | 38 } else if (getEntryValues() == null || getEntryValues().length == 0) { 40 } else if (getEntryValues().length == 1) {
|
H A D | LinkifyUtils.java | 57 text.delete(beginIndex, beginIndex + PLACE_HOLDER_LINK_BEGIN.length()); 63 text.delete(endIndex, endIndex + PLACE_HOLDER_LINK_END.length());
|
H A D | PreviewSeekBarPreferenceFragment.java | 111 final int max = Math.max(1, mEntries.length - 1); 141 if (mEntries.length == 1) { 150 Configuration[] configurations = new Configuration[mEntries.length]; 151 for (int i = 0; i < mEntries.length; ++i) { 159 mPreviewPager.setCurrentItem(isLayoutRtl ? mPreviewSampleResIds.length - 1 : 0); 163 if (mPreviewSampleResIds.length > 1) { 188 mLarger.setEnabled(index < mEntries.length - 1); 199 position + 1, mPreviewSampleResIds.length));
|
/packages/apps/Settings/src/com/android/settings/widget/ |
H A D | LinkTextView.java | 52 ((Spanned) text).getSpans(0, text.length(), ClickableSpan.class); 53 if (spans.length > 0) {
|
/packages/apps/SpeechRecorder/src/com/android/speechrecorder/ |
H A D | MicrophoneInputStream.java | 81 public int read(byte[] b, int offset, int length) throws IOException { argument 84 final int ret = mAudioRecord.read(b, offset, length);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
H A D | ByteArrayPool.java | 63 if (buf == null || buf.length != mChunkSize) { 80 if (buf != null && buf.length == mChunkSize) {
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | HtmlUtils.java | 58 LogUtils.i(LOG_TAG, "htmlToSpan completed, input: %d, result: %d", html.length(), 59 spanned.length()); 103 if (textString.length() > mTextConverterIndex) { 105 mTextConverterIndex = textString.length(); 115 mSeenTags.push(new TagWrapper(tag, mBuilder.length())); 161 final int end = mBuilder.length(); 172 final int end = mBuilder.length(); 207 return mBuilder.length();
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
H A D | StringUtil.java | 138 * than or equal to the string length, no characters will be searched and 148 if (fromIndex >= string.length()) { 159 for (int i = 0; i < chars.length(); i++) { 172 for (int i = Math.max(fromIndex, 0); i < string.length(); i++) { 282 while (trimCount < s.length()) { 323 while (trimCount < s.length()) { 324 char ch = s.charAt(s.length() - trimCount - 1); 336 return s.substring(0, s.length() - trimCount); 392 checkArgument(what.length() > 0); 457 if (line.length() < [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/comparator/ |
H A D | SizeFileComparator.java | 26 * Compare the <b>length/size</b> of two files for order (see 27 * {@link File#length()} and {@link FileUtils#sizeOfDirectory(File)}). 30 * by their length/size. 98 * Compare the length of two files. 102 * @return a negative value if the first file's length 104 * same and a positive value if the first files length 113 size1 = file1.length(); 119 size2 = file2.length();
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/ |
H A D | CountingInputStream.java | 97 * @param length the number of bytes to skip 102 public long skip(final long length) throws IOException { argument 103 final long skip = super.skip(length);
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
H A D | ThresholdingOutputStream.java | 100 * Writes <code>b.length</code> bytes from the specified byte array to this 109 checkThreshold(b.length); 111 written += b.length;
|