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

123

/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.java140 public void writeToParcel(Parcel destination, int flags) { argument
141 destination.writeStrongInterface(mDragAndDropPermissions);
142 destination.writeStrongBinder(mPermissionOwnerToken);
/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);
H A DConnectionRequest.java162 public void writeToParcel(Parcel destination, int flags) { argument
163 destination.writeParcelable(mAccountHandle, 0);
164 destination.writeParcelable(mAddress, 0);
165 destination.writeParcelable(mExtras, 0);
166 destination.writeInt(mVideoState);
167 destination.writeString(mTelecomCallId);
/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/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/base/packages/DocumentsUI/src/com/android/documentsui/services/
H A DMoveJob.java44 * Moves files to a destination identified by {@code destination}.
54 String id, DocumentStack destination, List<DocumentInfo> srcs, DocumentInfo srcParent) {
55 super(service, appContext, listener, OPERATION_MOVE, id, destination, srcs);
133 .append(", destination=" + stack)
53 MoveJob(Context service, Context appContext, Listener listener, String id, DocumentStack destination, List<DocumentInfo> srcs, DocumentInfo srcParent) argument
H A DFileOperations.java120 Activity activity, List<DocumentInfo> srcDocs, DocumentStack destination) {
124 Intent intent = createBaseIntent(OPERATION_COPY, activity, jobId, srcDocs, destination);
141 * @param destination The move destination stack.
145 DocumentStack destination) {
150 destination);
119 copy( Activity activity, List<DocumentInfo> srcDocs, DocumentStack destination) argument
143 move( Activity activity, List<DocumentInfo> srcDocs, DocumentInfo srcParent, DocumentStack destination) argument
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/services/
H A DAbstractJobTest.java88 final T createJob(List<Uri> srcs, Uri srcParent, Uri destination) throws Exception { argument
90 stack.push(DocumentInfo.fromUri(mResolver, destination));
100 abstract T createJob(List<DocumentInfo> srcs, DocumentInfo srcParent, DocumentStack destination) argument
/frameworks/base/services/core/java/com/android/server/updates/
H A DSELinuxPolicyInstallReceiver.java70 private void installFile(File destination, BufferedInputStream stream, int length) argument
74 writeUpdate(updateDir, destination, Base64.decode(chunk, Base64.DEFAULT));
/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 471 milliseconds

123