Home
last modified time | relevance | path

Searched refs:destination (Results 1 – 25 of 78) sorted by relevance

1234

/frameworks/base/core/java/android/net/
DRouteInfo.java102 public RouteInfo(IpPrefix destination, InetAddress gateway, String iface, int type) { in RouteInfo() argument
122 if (destination == null) { in RouteInfo()
125 destination = new IpPrefix(Inet4Address.ANY, 0); in RouteInfo()
127 destination = new IpPrefix(Inet6Address.ANY, 0); in RouteInfo()
132 destination); in RouteInfo()
139 if (destination.getAddress() instanceof Inet4Address) { in RouteInfo()
147 if ((destination.getAddress() instanceof Inet4Address && in RouteInfo()
149 (destination.getAddress() instanceof Inet6Address && in RouteInfo()
153 mDestination = destination; // IpPrefix objects are immutable. in RouteInfo()
163 public RouteInfo(IpPrefix destination, InetAddress gateway, String iface) { in RouteInfo() argument
[all …]
/frameworks/base/telecomm/java/android/telecom/
DParcelableCall.java302 public void writeToParcel(Parcel destination, int flags) { in writeToParcel() argument
303 destination.writeString(mId); in writeToParcel()
304 destination.writeInt(mState); in writeToParcel()
305 destination.writeParcelable(mDisconnectCause, 0); in writeToParcel()
306 destination.writeList(mCannedSmsResponses); in writeToParcel()
307 destination.writeInt(mCapabilities); in writeToParcel()
308 destination.writeInt(mProperties); in writeToParcel()
309 destination.writeLong(mConnectTimeMillis); in writeToParcel()
310 destination.writeParcelable(mHandle, 0); in writeToParcel()
311 destination.writeInt(mHandlePresentation); in writeToParcel()
[all …]
DParcelableConnection.java205 public void writeToParcel(Parcel destination, int flags) { in writeToParcel() argument
206 destination.writeParcelable(mPhoneAccount, 0); in writeToParcel()
207 destination.writeInt(mState); in writeToParcel()
208 destination.writeInt(mCapabilities); in writeToParcel()
209 destination.writeParcelable(mAddress, 0); in writeToParcel()
210 destination.writeInt(mAddressPresentation); in writeToParcel()
211 destination.writeString(mCallerDisplayName); in writeToParcel()
212 destination.writeInt(mCallerDisplayNamePresentation); in writeToParcel()
213 destination.writeStrongBinder( in writeToParcel()
215 destination.writeInt(mVideoState); in writeToParcel()
[all …]
DConnectionRequest.java137 public void writeToParcel(Parcel destination, int flags) { in writeToParcel() argument
138 destination.writeParcelable(mAccountHandle, 0); in writeToParcel()
139 destination.writeParcelable(mAddress, 0); in writeToParcel()
140 destination.writeParcelable(mExtras, 0); in writeToParcel()
141 destination.writeInt(mVideoState); in writeToParcel()
DParcelableConference.java105 public void writeToParcel(Parcel destination, int flags) { in writeToParcel() argument
106 destination.writeParcelable(mPhoneAccount, 0); in writeToParcel()
107 destination.writeInt(mState); in writeToParcel()
108 destination.writeInt(mCapabilities); in writeToParcel()
109 destination.writeList(mConnectionIds); in writeToParcel()
DGatewayInfo.java105 public void writeToParcel(Parcel destination, int flags) { in writeToParcel() argument
106 destination.writeString(mGatewayProviderPackageName); in writeToParcel()
107 mGatewayAddress.writeToParcel(destination, 0); in writeToParcel()
108 mOriginalAddress.writeToParcel(destination, 0); in writeToParcel()
DDisconnectCause.java186 public void writeToParcel(Parcel destination, int flags) { in writeToParcel() argument
187 destination.writeInt(mDisconnectCode); in writeToParcel()
188 TextUtils.writeToParcel(mDisconnectLabel, destination, flags); in writeToParcel()
189 TextUtils.writeToParcel(mDisconnectDescription, destination, flags); in writeToParcel()
190 destination.writeString(mDisconnectReason); in writeToParcel()
191 destination.writeInt(mToneToPlay); in writeToParcel()
DAudioState.java159 public void writeToParcel(Parcel destination, int flags) { in writeToParcel() argument
160 destination.writeByte((byte) (isMuted ? 1 : 0)); in writeToParcel()
161 destination.writeInt(route); in writeToParcel()
162 destination.writeInt(supportedRouteMask); in writeToParcel()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEntry.java82 protected RecipientEntry(int entryType, String displayName, String destination, in RecipientEntry() argument
89 mDestination = destination; in RecipientEntry()
145 String destination) { in pickDisplayName() argument
146 return (displayNameSource > DisplayNameSources.PHONE) ? displayName : destination; in pickDisplayName()
162 String destination, int destinationType, String destinationLabel, long contactId, in constructTopLevelEntry() argument
166 displayName, destination), destination, destinationType, destinationLabel, in constructTopLevelEntry()
171 String destination, int destinationType, String destinationLabel, long contactId, in constructTopLevelEntry() argument
175 displayName, destination), destination, destinationType, destinationLabel, in constructTopLevelEntry()
181 int displayNameSource, String destination, int destinationType, in constructSecondLevelEntry() argument
185 displayName, destination), destination, destinationType, destinationLabel, in constructSecondLevelEntry()
DCircularImageView.java27 private final RectF destination; field in CircularImageView
44 destination = new RectF(); in CircularImageView()
80 destination.set(getPaddingLeft(), getPaddingTop(), getWidth() - getPaddingRight(), in onDraw()
83 drawBitmapWithCircleOnCanvas(bitmap, canvas, source, destination); in onDraw()
DDropdownChipLayouter.java84 String destination = entry.getDestination(); in bindView() local
95 if (TextUtils.isEmpty(displayName) || TextUtils.equals(displayName, destination)) { in bindView()
96 displayName = destination; in bindView()
101 destination = null; in bindView()
122 destination = Rfc822Tokenizer.tokenize(entry.getDestination())[0].getAddress(); in bindView()
128 bindTextToView(destination, viewHolder.destinationView); in bindView()
/frameworks/base/core/java/android/hardware/camera2/params/
DRggbChannelVector.java147 public void copyTo(final float[] destination, final int offset) { in copyTo() argument
148 checkNotNull(destination, "destination must not be null"); in copyTo()
149 if (destination.length - offset < COUNT) { in copyTo()
153 destination[offset + RED] = mRed; in copyTo()
154 destination[offset + GREEN_EVEN] = mGreenEven; in copyTo()
155 destination[offset + GREEN_ODD] = mGreenOdd; in copyTo()
156 destination[offset + BLUE] = mBlue; in copyTo()
DColorSpaceTransform.java162 public void copyElements(Rational[] destination, int offset) { in copyElements() argument
164 checkNotNull(destination, "destination must not be null"); in copyElements()
165 if (destination.length - offset < COUNT) { in copyElements()
173 destination[i + offset] = new Rational(numerator, denominator); in copyElements()
197 public void copyElements(int[] destination, int offset) { in copyElements() argument
199 checkNotNull(destination, "destination must not be null"); in copyElements()
200 if (destination.length - offset < COUNT_INT) { in copyElements()
206 destination[i + offset] = mElements[i]; in copyElements()
DBlackLevelPattern.java86 public void copyTo(int[] destination, int offset) { in copyTo() argument
87 checkNotNull(destination, "destination must not be null"); in copyTo()
91 if (destination.length - offset < COUNT) { in copyTo()
95 destination[offset + i] = mCfaOffsets[i]; in copyTo()
DLensShadingMap.java197 public void copyGainFactors(final float[] destination, final int offset) { in copyGainFactors() argument
199 checkNotNull(destination, "destination must not be null"); in copyGainFactors()
200 if (destination.length + offset < getGainFactorCount()) { in copyGainFactors()
204 System.arraycopy(mElements, /*srcPos*/0, destination, offset, getGainFactorCount()); in copyGainFactors()
/frameworks/base/core/java/android/hardware/camera2/utils/
DParamsUtils.java169 public static void convertRectF(Rect source, RectF destination) { in convertRectF() argument
171 checkNotNull(destination, "destination must not be null"); in convertRectF()
173 destination.left = source.left; in convertRectF()
174 destination.right = source.right; in convertRectF()
175 destination.bottom = source.bottom; in convertRectF()
176 destination.top = source.top; in convertRectF()
/frameworks/ex/variablespeed/jni/
Dring_buffer.cc101 void RingBuffer::Copy(int reader, float* destination, int num_frames) const { in Copy() argument
104 memcpy(destination, samples_ + pos * num_channels_, in Copy()
105 num_channels_ * num_frames * sizeof(destination[0])); in Copy()
108 memcpy(destination, samples_ + pos * num_channels_, in Copy()
109 num_channels_ * wrapped * sizeof(destination[0])); in Copy()
111 memcpy(destination + wrapped * num_channels_, samples_, in Copy()
112 num_channels_ * remaining * sizeof(destination[0])); in Copy()
/frameworks/base/graphics/java/android/graphics/pdf/
DPdfRenderer.java344 public void render(@NonNull Bitmap destination, @Nullable Rect destClip, in render() argument
346 if (destination.getConfig() != Config.ARGB_8888) { in render()
352 || destClip.right > destination.getWidth() in render()
353 || destClip.bottom > destination.getHeight()) { in render()
373 : destination.getWidth(); in render()
375 : destination.getHeight(); in render()
379 nativeRenderPage(mNativeDocument, mNativePage, destination.mNativeBitmap, contentLeft, in render()
/frameworks/base/libs/hwui/font/
DFont.cpp250 SkPoint destination[4]; in drawCachedGlyph() local
257 destination[0].set(-tangent->fX * halfWidth - tangent->fY * vOffset, in drawCachedGlyph()
259 destination[1].set(tangent->fX * halfWidth - tangent->fY * vOffset, in drawCachedGlyph()
261 destination[2].set(destination[1].fX + tangent->fY * height, in drawCachedGlyph()
262 destination[1].fY - tangent->fX * height); in drawCachedGlyph()
263 destination[3].set(destination[0].fX + tangent->fY * height, in drawCachedGlyph()
264 destination[0].fY - tangent->fX * height); in drawCachedGlyph()
272 position->x() + destination[0].x(), in drawCachedGlyph()
273 position->y() + destination[0].y(), u1, v2, in drawCachedGlyph()
274 position->x() + destination[1].x(), in drawCachedGlyph()
[all …]
/frameworks/av/drm/mediadrm/plugins/clearkey/
DAesCtrDecryptor.cpp31 uint8_t* destination, in decrypt() argument
49 memcpy(destination + offset, source + offset, in decrypt()
55 AES_ctr128_encrypt(source + offset, destination + offset, in decrypt()
/frameworks/base/core/java/android/print/
DPrintFileDocumentAdapter.java87 public void onWrite(PageRange[] pages, ParcelFileDescriptor destination, in onWrite() argument
89 mWriteFileAsyncTask = new WriteFileAsyncTask(destination, cancellationSignal, callback); in onWrite()
102 public WriteFileAsyncTask(ParcelFileDescriptor destination, in WriteFileAsyncTask() argument
104 mDestination = destination; in WriteFileAsyncTask()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
DPdfManipulationService.java100 PrintAttributes attributes, ParcelFileDescriptor destination) { in renderPage() argument
160 BitmapSerializeUtils.writeBitmapPixels(bitmap, destination); in renderPage()
162 IoUtils.closeQuietly(destination); in renderPage()
249 public void write(ParcelFileDescriptor destination) throws RemoteException { in write() argument
256 mEditor.write(destination); in write()
258 IoUtils.closeQuietly(destination); in write()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/
DBitmapSerializeUtils.java53 public static void writeBitmapPixels(Bitmap bitmap, ParcelFileDescriptor destination) { in writeBitmapPixels() argument
54 nativeWriteBitmapPixels(bitmap, destination.getFd()); in writeBitmapPixels()
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallInfo.java74 public void writeToParcel(Parcel destination, int flags) { in writeToParcel() argument
75 destination.writeString(handle); in writeToParcel()
/frameworks/opt/chips/tests/src/com/android/ex/chips/
DRecipientAlternatesAdapterTest.java79 String destination, in addRow() argument
87 c.addRow(new Object[] {displayName, destination, destinationType, destinationLabel, in addRow()
94 String destination, in assertRow() argument
104 assertEquals(destination, c.getString(1)); in assertRow()

1234