/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
Matrix.java | 325 double[] out = new double[16];
local 328 out[i] = inv[i] * det;
331 Matrix ret = new Matrix(out);
|
/frameworks/support/design/src/android/support/design/widget/ |
HeaderScrollingViewBehavior.java | 119 // if there are no insets. We need to lay it out to match horizontally. 125 final Rect out = mTempRect2; local 127 child.getMeasuredHeight(), available, out, layoutDirection); local 131 child.layout(out.left, out.top - overlap, out.right, out.bottom - overlap); 132 mVerticalLayoutGap = out.top - header.getBottom();
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
AlertDialog.java | 250 TypedValue out = new TypedValue(); local 251 getContext().getTheme().resolveAttribute(attrId, out, true); 252 mAlert.setIcon(out.resourceId); 438 TypedValue out = new TypedValue(); local 439 P.mContext.getTheme().resolveAttribute(attrId, out, true); 440 P.mIconId = out.resourceId; [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
LinearSnapHelper.java | 45 int[] out = new int[2]; local 47 out[0] = distanceToCenter(layoutManager, targetView, 50 out[0] = 0; 54 out[1] = distanceToCenter(layoutManager, targetView, 57 out[1] = 0; 59 return out;
|
/hardware/bsp/intel/peripheral/libmraa/src/pwm/ |
pwm.c | 22 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 68 char out[MAX_SIZE]; local 69 int length = snprintf(out, MAX_SIZE, "%d", period); 70 if (write(period_f, out, length * sizeof(char)) == -1) { 269 char out[MAX_SIZE]; local 270 int size = snprintf(out, MAX_SIZE, "%d", dev->pin); 271 if (write(export_f, out, size * sizeof(char)) == -1) { 368 char out[2]; local 369 int size = snprintf(out, sizeof(out), "%d", enable) 391 char out[MAX_SIZE]; local [all...] |
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/vc1/parser/ |
vc1parse_bitplane.c | 36 uint32_t *out; local 43 out = outp; 45 out += (( mbx + 31 ) >> 5) * y; 46 out += x >> 5; /* go to corresponding column location in DW unit */ 48 *out |= 1 << bit; /* put bit */ 65 uint32_t *out; local 69 out = outp; 70 out += (( mbx + 31 ) >> 5) * y; /* go to corresponding row location in DW unit */ 71 out += x >> 5; /* go to corresponding row location in DW unit */ 75 *out ^= (1 << bit); /* put XOR bit * 95 uint32_t *out; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/mips/dspr2/ |
vp9_itrans4_dspr2.c | 231 DECLARE_ALIGNED(32, int16_t, out[4 * 4]); 232 int16_t *outptr = out; 246 vp9_idct4_columns_add_blk_dspr2(&out[0], dest, dest_stride); 253 int32_t out; local 266 out = DCT_CONST_ROUND_SHIFT_TWICE_COSPI_16_64(input_dc); 268 "addi %[out], %[out], 8 \n\t" 269 "sra %[a1], %[out], 4 \n\t" 271 : [out] "+r" (out), [a1] "=r" (a1 [all...] |
vp9_itrans8_dspr2.c | 453 DECLARE_ALIGNED(32, int16_t, out[8 * 8]); 454 int16_t *outptr = out; 468 idct8_columns_add_blk_dspr2(&out[0], dest, dest_stride); 552 DECLARE_ALIGNED(32, int16_t, out[8 * 8]); 553 int16_t *outptr = out; 567 idct8_columns_add_blk_dspr2(&out[0], dest, dest_stride); 573 iadst8_dspr2(&out[i * 8], temp_out); 590 temp_in[i * 8 + j] = out[j * 8 + i]; 604 temp_in[j] = out[j * 8 + i]; 622 DECLARE_ALIGNED(32, int16_t, out[8 * 8]) 668 int32_t out; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_resize.c | 454 uint8_t *out = NULL; local 467 const uint8_t *const in = (s == 0 ? input : out); 469 out = output; 471 out = (s & 1 ? otmp2 : otmp); 473 down2_symodd(in, filteredlength, out); 475 down2_symeven(in, filteredlength, out); 479 interpolate(out, filteredlength, output, olength);
|
/hardware/intel/img/hwcomposer/merrifield/common/base/ |
Drm.cpp | 487 DrmOutput *out = &mOutputs[output]; local 488 if (!out->connected) { 494 for (int i = 0; i < out->connector->count_props; i++) { 495 props = drmModeGetProperty(mDrmFd, out->connector->props[i]); 503 out->connector->connector_id,
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/ |
Drm.cpp | 524 DrmOutput *out = &mOutputs[output]; local 525 if (!out->connected) { 531 for (int i = 0; i < out->connector->count_props; i++) { 532 props = drmModeGetProperty(mDrmFd, out->connector->props[i]); 540 out->connector->connector_id,
|
/hardware/libhardware_legacy/audio/ |
A2dpAudioInterface.cpp | 82 A2dpAudioStreamOut* out = new A2dpAudioStreamOut(); local 83 if ((err = out->set(devices, format, channels, sampleRate)) == NO_ERROR) { 84 mOutput = out; 88 delete out; 96 void A2dpAudioInterface::closeOutputStream(AudioStreamOut* out) { 97 if (mOutput == 0 || mOutput != out) { 98 mHardwareInterface->closeOutputStream(out);
|
AudioHardwareGeneric.cpp | 81 AudioStreamOutGeneric* out = new AudioStreamOutGeneric(); local 82 status_t lStatus = out->set(this, mFd, devices, format, channels, sampleRate); 87 mOutput = out; 89 delete out; 94 void AudioHardwareGeneric::closeOutputStream(AudioStreamOut* out) { 95 if (mOutput && out == mOutput) {
|
/hardware/ril/libril/ |
RilSapSocket.cpp | 245 char out[80]; local 248 int dest_len = sizeof(out); 252 dest += sprintf(out, "%8.8s [%8.8x] ", who, source); 255 out[dest++] = HEX_HIGH(buffer[source]); 256 out[dest++] = HEX_LOW(buffer[source]); 257 out[dest++] = ' '; 260 out[dest++] = 0; 263 RLOGD("%s\n", out);
|
/libcore/dex/src/main/java/com/android/dex/ |
TableOfContents.java | 29 * TODO: factor out ID constants. 167 public void writeHeader(Dex.Section out, int api) throws IOException { 168 out.write(DexFormat.apiToMagic(api).getBytes("UTF-8")); 169 out.writeInt(checksum); 170 out.write(signature); 171 out.writeInt(fileSize); 172 out.writeInt(SizeOf.HEADER_ITEM); 173 out.writeInt(DexFormat.ENDIAN_TAG); 174 out.writeInt(linkSize); 175 out.writeInt(linkOff) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
FileWriterTest.java | 72 char[] out = new char[first.length() + second.length() + 10]; local 73 int length = fileReader.read(out); 75 assertEquals(first + second, new String(out, 0, length)); 88 out = new char[first.length() + second.length() + 10]; 89 length = fileReader.read(out); 91 assertEquals(second, new String(out, 0, length));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
ASCIICharsetEncoderTest.java | 85 ByteBuffer out = ByteBuffer.allocate(10); local 87 encoder.encode(CharBuffer.wrap("\ud800"), out, true)); 88 assertTrue(encoder.flush(out).isMalformed()); 91 out = ByteBuffer.allocate(10); 94 assertSame(CoderResult.UNDERFLOW, encoder.encode(buffer1, out, false)); 99 assertTrue(encoder.encode(buffer2, out, true).isUnmappable()); 140 ByteBuffer out = ByteBuffer.allocate(0x10); local 144 encoder.encode(in, out, false); 146 encoder.encode(in, out, true); 147 encoder.flush(out); 162 ByteBuffer out = ByteBuffer.allocate(0x10); local 170 ByteBuffer out = ByteBuffer.allocate(0x10); local 177 ByteBuffer out = ByteBuffer.allocate(0x10); local 189 ByteBuffer out = ByteBuffer.allocate(0x10); local 196 ByteBuffer out = ByteBuffer.allocate(0x10); local 204 ByteBuffer out = ByteBuffer.allocate(0x10); local 214 ByteBuffer out = ByteBuffer.allocate(0x10); local 228 ByteBuffer out = ByteBuffer.allocate(0x10); local 247 ByteBuffer out = ByteBuffer.allocate(0x10); local 254 ByteBuffer out = ByteBuffer.allocate(0x10); local 263 ByteBuffer out = ByteBuffer.allocate(0x10); local 273 ByteBuffer out = ByteBuffer.allocate(0x10); local 283 ByteBuffer out = ByteBuffer.allocate(0x10); local 301 ByteBuffer out = ByteBuffer.allocate(0x10); local 315 ByteBuffer out = ByteBuffer.allocate(0x10); local 330 ByteBuffer out = ByteBuffer.allocate(0x10); local 345 ByteBuffer out = ByteBuffer.allocate(0x10); local 354 ByteBuffer out = ByteBuffer.allocate(0x10); local 380 ByteBuffer out = ByteBuffer.allocate(0x10); local 390 ByteBuffer out = ByteBuffer.allocate(0x10); local 400 ByteBuffer out = ByteBuffer.allocate(0x10); local 422 ByteBuffer out = ByteBuffer.allocate(0x10); local 434 ByteBuffer out = ByteBuffer.allocate(0x10); local 443 ByteBuffer out = newEncoder.encode(in); local [all...] |
/libcore/luni/src/main/java/java/nio/charset/ |
CharsetDecoderICU.java | 103 @Override protected final CoderResult implFlush(CharBuffer out) { 110 data[OUTPUT_OFFSET] = getArray(out); 125 setPosition(out); 130 @Override protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) { 136 data[OUTPUT_OFFSET]= getArray(out); 155 setPosition(out); 160 private int getArray(CharBuffer out) { 161 if (out.hasArray()) { 162 output = out.array(); 163 outEnd = out.arrayOffset() + out.limit() [all...] |
CharsetEncoderICU.java | 132 @Override protected CoderResult implFlush(ByteBuffer out) { 139 data[OUTPUT_OFFSET] = getArray(out); 154 setPosition(out); 159 @Override protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) { 165 data[OUTPUT_OFFSET]= getArray(out); 185 setPosition(out); 189 private int getArray(ByteBuffer out) { 190 if (out.hasArray()) { 191 output = out.array(); 192 outEnd = out.arrayOffset() + out.limit() [all...] |
/libcore/luni/src/test/java/libcore/io/ |
Base64Test.java | 209 byte[] out = Base64.decode(bytes); 210 if (out == null) { 213 return bytesToAscii(out); 296 String[] out = new String[length]; local 298 out[i] = "0x" + Integer.toHexString(toConvert[i]); 300 return Arrays.toString(out);
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
CharsetEncoderTest.java | 181 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) { 186 protected CoderResult implFlush(ByteBuffer out) { 187 out.put((byte) 'X'); 195 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) {
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
HttpsURLConnectionTest.java | 181 System.out.println("Expected exception was thrown: " + e.getMessage()); 610 System.out.println("Got expected IOException: " + e.getMessage()); 651 System.out.println("Expected exception was thrown: " + e.getMessage()); 662 System.out.println(); 663 System.out.println("------------------------"); 664 System.out.println("------ " + getName()); 665 System.out.println("------------------------"); 672 FileOutputStream out = new FileOutputStream(store); local 677 out.write(buf, 0, read); 680 out.close() [all...] |
/libcore/ojluni/src/main/java/java/io/ |
Console.java | 365 private Writer out; field in class:Console 533 this(new FileInputStream(FileDescriptor.in), new FileOutputStream(FileDescriptor.out)); 548 out = StreamEncoder.forOutputStreamWriter( 552 pw = new PrintWriter(out, true) { public void close() {} }; 553 formatter = new Formatter(out);
|
/libcore/ojluni/src/main/java/java/util/ |
ArrayPrefixHelpers.java | 80 T in, out; field in class:ArrayPrefixHelpers.CumulateTask 129 T lout = lt.out; 189 t.out = sum; 205 T lout = lt.out; 206 par.out = (rt.hi == fnc ? lout : 207 fn.apply(lout, rt.out)); 232 long in, out; field in class:ArrayPrefixHelpers.LongCumulateTask 281 long lout = lt.out; 341 t.out = sum; 355 long lout = lt.out; 382 double in, out; field in class:ArrayPrefixHelpers.DoubleCumulateTask 532 int in, out; field in class:ArrayPrefixHelpers.IntCumulateTask [all...] |
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
SignerInfo.java | 172 public void encode(DerOutputStream out) throws IOException { 174 derEncode(out); 181 * @param out 186 public void derEncode(OutputStream out) throws IOException { 211 out.write(tmp.toByteArray()); 490 String out = ""; local 492 out += "Signer Info for (issuer): " + issuerName + "\n"; 493 out += "\tversion: " + Debug.toHexString(version) + "\n"; 494 out += "\tcertificateSerialNumber: " + 496 out += "\tdigestAlgorithmId: " + digestAlgorithmId + "\n" [all...] |