Searched defs:destination (Results 1 - 25 of 70) sorted by relevance

123

/frameworks/av/media/libaaudio/tests/
H A Dtest_linear_ramp.cpp28 float destination[4] = {1.0f, 1.0f, 1.0f, 1.0f }; local
42 AAudio_linearRamp(source, destination, 4, 1, levelFrom, levelTo);
43 ASSERT_EQ(0.0f, destination[0]);
44 ASSERT_EQ(1.0f, destination[1]);
45 ASSERT_EQ(2.0f, destination[2]);
46 ASSERT_EQ(3.0f, destination[3]);
53 AAudio_linearRamp(source, destination, 4, 1, levelFrom, levelTo);
54 ASSERT_EQ(4.0f, destination[0]);
55 ASSERT_EQ(5.0f, destination[1]);
56 ASSERT_EQ(6.0f, destination[
76 float destination[4] = {1.0f, 1.0f, 1.0f, 1.0f }; local
[all...]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/
H A DBitmapSerializeUtils.java51 * @param destination The destination file descriptor.
53 public static void writeBitmapPixels(Bitmap bitmap, ParcelFileDescriptor destination) { argument
54 nativeWriteBitmapPixels(bitmap, destination.getFd());
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCallInfo.java74 public void writeToParcel(Parcel destination, int flags) { argument
75 destination.writeString(handle);
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DAesCtrDecryptor.cpp31 uint8_t* destination,
49 memcpy(destination + offset, source + offset,
55 AES_ctr128_encrypt(source + offset, destination + offset,
29 decrypt(const android::Vector<uint8_t>& key, const Iv iv, const uint8_t* source, uint8_t* destination, const SubSample* subSamples, size_t numSubSamples, size_t* bytesDecryptedOut) argument
H A DSession.cpp66 void* destination, const SubSample* subSamples,
81 reinterpret_cast<uint8_t*>(destination), subSamples,
64 decrypt( const KeyId keyId, const Iv iv, const void* source, void* destination, const SubSample* subSamples, size_t numSubSamples, size_t* bytesDecryptedOut) argument
/frameworks/base/core/java/android/hardware/camera2/params/
H A DBlackLevelPattern.java74 * Copy the ColorChannel offsets into the destination vector.
78 * @param destination an array big enough to hold at least {@value #COUNT} elements after the
83 * @throws ArrayIndexOutOfBoundsException if the destination vector is too small.
84 * @throws NullPointerException if the destination is null.
86 public void copyTo(int[] destination, int offset) { argument
87 checkNotNull(destination, "destination must not be null");
91 if (destination.length - offset < COUNT) {
92 throw new ArrayIndexOutOfBoundsException("destination too small to fit elements");
95 destination[offse
[all...]
H A DColorSpaceTransform.java149 * Copy the {@link Rational} elements in row-major order from this matrix into the destination.
151 * @param destination
157 * If {@code destination} was {@code null}
159 * If there's not enough room to write the elements at the specified destination and
162 public void copyElements(Rational[] destination, int offset) { argument
164 checkNotNull(destination, "destination must not be null");
165 if (destination.length - offset < COUNT) {
166 throw new ArrayIndexOutOfBoundsException("destination too small to fit elements");
173 destination[
197 copyElements(int[] destination, int offset) argument
[all...]
H A DLensShadingMap.java177 * Copy all gain factors in row-major order from this lens shading map into the destination.
181 * @param destination
187 * If {@code destination} was {@code null}
191 * If there's not enough room to write the elements at the specified destination and
196 public void copyGainFactors(final float[] destination, final int offset) { argument
198 checkNotNull(destination, "destination must not be null");
199 if (destination.length + offset < getGainFactorCount()) {
200 throw new ArrayIndexOutOfBoundsException("destination too small to fit elements");
203 System.arraycopy(mElements, /*srcPos*/0, destination, offse
[all...]
H A DRggbChannelVector.java133 * Copy the vector into the destination in the order {@code [R, Geven, Godd, B]}.
135 * @param destination
142 * If {@code destination} was {@code null}
144 * If there's not enough room to write the elements at the specified destination and
147 public void copyTo(final float[] destination, final int offset) { argument
148 checkNotNull(destination, "destination must not be null");
149 if (destination.length - offset < COUNT) {
150 throw new ArrayIndexOutOfBoundsException("destination too small to fit elements");
153 destination[offse
[all...]
/frameworks/base/core/java/android/view/
H A DDragAndDropPermissions.java139 public void writeToParcel(Parcel destination, int flags) { argument
140 destination.writeStrongInterface(mDragAndDropPermissions);
141 destination.writeStrongBinder(mTransientToken);
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecMessage.java26 * source and destination address, command (or opcode), and optional parameters.
40 public HdmiCecMessage(int source, int destination, int opcode, byte[] params) { argument
42 mDestination = destination;
58 * Return the destination address field of the message. It is the logical address
61 * @return destination address
69 * tells the destination device what to do.
80 * the action for the destination device to take.
/frameworks/base/telecomm/java/android/telecom/
H A DGatewayInfo.java112 public void writeToParcel(Parcel destination, int flags) { argument
113 destination.writeString(mGatewayProviderPackageName);
114 mGatewayAddress.writeToParcel(destination, 0);
115 mOriginalAddress.writeToParcel(destination, 0);
H A DAudioState.java161 public void writeToParcel(Parcel destination, int flags) { argument
162 destination.writeByte((byte) (isMuted ? 1 : 0));
163 destination.writeInt(route);
164 destination.writeInt(supportedRouteMask);
H A DCallAudioState.java201 public void writeToParcel(Parcel destination, int flags) { argument
202 destination.writeByte((byte) (isMuted ? 1 : 0));
203 destination.writeInt(route);
204 destination.writeInt(supportedRouteMask);
/frameworks/opt/chips/src/com/android/ex/chips/
H A DCircularImageView.java27 private final RectF destination; field in class:CircularImageView
44 destination = new RectF();
80 destination.set(getPaddingLeft(), getPaddingTop(), getWidth() - getPaddingRight(),
83 drawBitmapWithCircleOnCanvas(bitmap, canvas, source, destination);
88 * mask. Only draws a circle with diameter equal to the destination width.
93 * @param dest The destination bound on the canvas.
/frameworks/opt/chips/tests/src/com/android/ex/chips/
H A DRecipientAlternatesAdapterTest.java56 // Test: add a third row with a non-unique destination.
66 // Test: add a forth row with a non-unique destination again.
79 String destination,
87 c.addRow(new Object[] {displayName, destination, destinationType, destinationLabel,
94 String destination,
104 assertEquals(destination, c.getString(1));
136 // Ensure that if one has a display name different from its destination, and the other's
137 // is equal to its destination, we use the unique one
77 addRow(MatrixCursor c, String displayName, String destination, int destinationType, String destinationLabel, long contactId, long dataId, String photoUri, int displayNameSource ) argument
92 assertRow(Cursor c, int position, String displayName, String destination, int destinationType, String destinationLabel, long contactId, long dataId, String photoUri, int displayNameSource ) argument
/frameworks/av/drm/mediadrm/plugins/clearkey/tests/
H A DAesCtrDecryptorUnittest.cpp34 uint8_t* destination, const SubSample* subSamples,
40 return decryptor.decrypt(keyVector, iv, source, destination, subSamples,
33 attemptDecrypt(const Key& key, const Iv& iv, const uint8_t* source, uint8_t* destination, const SubSample* subSamples, size_t numSubSamples, size_t* bytesDecryptedOut) argument
/frameworks/av/services/oboeservice/
H A DAAudioMixer.cpp46 float *destination = mOutputBuffer; local
61 mixPart(destination, (float *)wrappingBuffer.data[partIndex], framesToMix, volume);
63 destination += framesToMix * mSamplesPerFrame;
76 void AAudioMixer::mixPart(float *destination, float *source, int32_t numFrames, float volume) { argument
80 *destination++ += *source++ * volume;
/frameworks/base/core/java/android/hardware/camera2/utils/
H A DParamsUtils.java162 * ({@code destination}) in-place.
165 * @param destination the resulting floating point rectangle will be written out to here
169 public static void convertRectF(Rect source, RectF destination) { argument
171 checkNotNull(destination, "destination must not be null");
173 destination.left = source.left;
174 destination.right = source.right;
175 destination.bottom = source.bottom;
176 destination.top = source.top;
/frameworks/base/core/java/android/print/
H A DPrintDocumentAdapter.java68 * pages to the provided destination. The execution of this method is not
234 * @param destination The destination file descriptor to which to write.
241 public abstract void onWrite(PageRange[] pages, ParcelFileDescriptor destination, argument
H A DPrintFileDocumentAdapter.java87 public void onWrite(PageRange[] pages, ParcelFileDescriptor destination, argument
89 mWriteFileAsyncTask = new WriteFileAsyncTask(destination, cancellationSignal, callback);
102 public WriteFileAsyncTask(ParcelFileDescriptor destination, argument
104 mDestination = destination;
/frameworks/av/media/libaaudio/src/client/
H A DAudioStreamInternalCapture.cpp113 uint8_t *destination = (uint8_t *) buffer; local
133 memcpy(destination, wrappingBuffer.data[partIndex], numBytes);
138 (float *) destination,
145 (int16_t *) destination,
152 destination += numBytes;
/frameworks/av/media/libaaudio/src/fifo/
H A DFifoBuffer.cpp122 uint8_t *destination = (uint8_t *) buffer; local
137 memcpy(destination, wrappingBuffer.data[partIndex], numBytes);
139 destination += numBytes;
/frameworks/base/cmds/incident/
H A Dmain.cpp140 enum { DEST_DROPBOX, DEST_STDOUT } destination = DEST_STDOUT; local
147 destination = DEST_STDOUT;
153 destination = DEST_DROPBOX;
205 if (destination == DEST_STDOUT) {
/frameworks/base/libs/hwui/
H A DGlopBuilder.h83 GlopBuilder& setModelViewMapUnitToRect(const Rect destination);
84 GlopBuilder& setModelViewMapUnitToRectSnap(const Rect destination);
85 GlopBuilder& setModelViewMapUnitToRectOptionalSnap(bool snap, const Rect& destination) { argument
87 return setModelViewMapUnitToRectSnap(destination);
89 return setModelViewMapUnitToRect(destination);

Completed in 493 milliseconds

123