Searched refs:len (Results 176 - 200 of 522) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/text/format/
H A DTime.java423 int len = s.length();
424 if (len < 8) {
449 if (len > 8) {
450 if (len < 15) {
474 if (len > 15) {
554 int len = s.length();
555 if (len < 10) {
582 if (len >= 19) {
612 if (tzIndex < len && s.charAt(tzIndex) == '.') {
615 } while (tzIndex < len
[all...]
/frameworks/base/core/java/android/view/
H A DViewHierarchyEncoder.java193 short len = (short)Math.min(bytes.length, Short.MAX_VALUE);
194 mStream.writeShort(len);
196 mStream.write(bytes, 0, len);
/frameworks/base/core/java/android/widget/
H A DMultiAutoCompleteTextView.java248 int len = text.length();
250 while (i < len) {
258 return len;
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
H A DURLFetcher.java142 int len = 0;
143 while ((len = bis.read(buffer)) != -1) {
144 baos.write(buffer, 0, len);
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/
H A DHugeAgent.java130 int len = buffer.length;
131 data.writeEntityHeader(APP_DATA_KEY, len);
132 data.writeEntityData(buffer, len);
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
H A DWifiP2pDnsSdServiceResponse.java266 int len = dis.readUnsignedByte();
267 if (len == 0) {
270 byte[] data = new byte[len];
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/java/android/bordeaux/learning/
H A DStochasticLinearRanker.java88 int len = nativeGetLengthClassifier(mNativeClassifier);
89 String[] wKeys = new String[len];
90 float[] wValues = new float[len];
/frameworks/rs/driver/runtime/
H A Drs_matrix.c354 float len = length(left->xyz); local
355 *left /= len;
356 len = length(right->xyz);
357 *right /= len;
358 len = length(top->xyz);
359 *top /= len;
360 len = length(bottom->xyz);
361 *bottom /= len;
362 len = length(near->xyz);
363 *near /= len;
[all...]
H A Drs_quaternion.c86 const float len = x*x + y*y + z*z; local
87 if (len != 1) {
88 const float recipLen = 1.f / sqrt(len);
98 const float len = rsQuaternionDot(q, q); local
99 if (len != 1) {
100 const float recipLen = 1.f / sqrt(len);
/frameworks/rs/
H A DrsType.h112 const RsTypeCreateParams *params, size_t len);
115 const RsTypeCreateParams *params, size_t len) {
116 ObjectBaseRef<Type> type = getTypeRef(rsc, e, params, len);
H A DrsApiFileA3D.cpp68 RsFile rsaFileA3DCreateFromMemory(RsContext con, const void *data, uint32_t len) { argument
78 fa3d->load(data, len);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattCharacteristic.java598 int len = offset + getTypeLen(formatType);
599 if (mValue == null) mValue = new byte[len];
600 if (len > mValue.length) return false;
645 int len = offset + getTypeLen(formatType);
646 if (mValue == null) mValue = new byte[len];
647 if (len > mValue.length) return false;
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DVisualizerTest.java125 int len = data.length < mCaptureSize ? data.length : mCaptureSize;
127 displayVal(R.id.waveformMax, data[len-1]);
128 displayVal(R.id.waveformCenter, data[len/2]);
131 int len = data.length < mCaptureSize ? data.length : mCaptureSize;
133 displayVal(R.id.fftMax, data[len-1]);
134 displayVal(R.id.fftCenter, data[len/2]);
/frameworks/base/packages/Osu/src/com/android/hotspot2/
H A DUtils.java60 int len = (mac & ~EUI48Mask) != 0 ? EUI64Length : EUI48Length;
63 for (int n = (len - 1) * Byte.SIZE; n >= 0; n -= Byte.SIZE) {
81 int len = expect.endsWith("*") ? expect.length() - 1 : expect.length();
82 if (!domain.get(n).regionMatches(0, expect, 0, len)) {
226 public static String bytesToBingoCard(ByteBuffer data, int len) { argument
228 dup.limit(dup.position() + len);
/frameworks/base/tools/aapt2/util/
H A DUtil.h153 size_t len; local
154 const char16_t* str = pool.stringAt(idx, &len);
156 return StringPiece16(str, len);
162 size_t len; local
163 const char* str = pool.string8At(idx, &len);
165 return StringPiece(str, len);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DUtils.java64 int len = (mac & ~EUI48Mask) != 0 ? EUI64Length : EUI48Length;
67 for (int n = (len - 1)*Byte.SIZE; n >= 0; n -= Byte.SIZE) {
86 int len = expect.endsWith("*") ? expect.length() - 1 : expect.length();
87 if (!domain.get(n).regionMatches(0, expect, 0, len)) {
226 public static String bytesToBingoCard(ByteBuffer data, int len) { argument
228 dup.limit(dup.position() + len);
/frameworks/base/packages/services/PacProcessor/jni/
H A Dcom_android_pacprocessor_PacNative.cpp59 size_t len = string.size(); local
61 return env->NewString(reinterpret_cast<const jchar*>(str), len);
/frameworks/base/telephony/java/android/telephony/
H A DPhoneNumberFormattingTextWatcher.java135 int len = s.length();
136 for (int i = 0; i < len; i++) {
H A DPhoneNumberUtils.java216 int len = phoneNumber.length();
217 StringBuilder ret = new StringBuilder(len);
219 for (int i = 0; i < len; i++) {
255 int len = phoneNumber.length();
256 StringBuilder ret = new StringBuilder(len);
259 for (int i = 0; i < len; i++) {
286 int len = phoneNumber.length();
287 StringBuilder ret = new StringBuilder(len);
289 for (int i = 0; i < len; i++) {
327 int len
2677 matchIntlPrefix(String a, int len) argument
2716 matchIntlPrefixAndCC(String a, int len) argument
2765 matchTrunkPrefix(String a, int len) argument
[all...]
/frameworks/opt/net/voip/src/jni/rtp/
H A DRtpStream.cpp49 socklen_t len = sizeof(ss); local
51 getsockname(socket, (sockaddr *)&ss, &len) != 0) {
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicBlur.cpp200 int len = x2 - x1; local
218 len--;
226 len -= t << 2;
232 while(len > 0) {
244 len--;
407 uint32_t len = x2 - (x1 + cp->mIradius); local
408 len &= ~3;
409 if (len > 0) {
411 cp->mIradius * 2 + 1, x1, x1 + len);
412 out += len;
[all...]
/frameworks/base/core/jni/
H A Dandroid_util_Process.cpp357 size_t len = 0; local
358 ssize_t num_read = getline(&line, &len, file);
582 const int len = read(fd, buffer, sizeof(buffer)-1); local
585 if (len < 0) {
589 buffer[len] = 0;
692 int len = read(fd, buffer, BUFFER_SIZE-1); local
695 if (len < 0) {
697 len = 0;
699 buffer[len] = 0;
1006 const int len local
1138 const int len = read(fd, data, sizeof(data)-1); local
[all...]
/frameworks/av/cmds/screenrecord/
H A DTextRenderer.h102 float computeScaledStringWidth(const char* str, size_t len) const;
/frameworks/av/include/media/
H A DIMediaExtractor.h59 virtual char* getDrmTrackInfo(size_t trackID, int *len) = 0;
/frameworks/av/include/media/stagefright/
H A DMediaExtractor.h68 virtual char* getDrmTrackInfo(size_t trackID, int *len) { argument

Completed in 554 milliseconds

1234567891011>>