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

1234

/frameworks/support/navigation/common/src/test/java/androidx/navigation/
H A DEmptyNavigator.java37 public void navigate(@NonNull NavDestination destination, @Nullable Bundle args, argument
H A DNoNameNavigator.java35 public void navigate(@NonNull NavDestination destination, @Nullable Bundle args, argument
H A DNavGraphTest.java57 NavDestination destination = new NavDestination(mock(Navigator.class));
58 destination.setId(FIRST_DESTINATION_ID);
59 return destination;
63 NavDestination destination = new NavDestination(mock(Navigator.class));
64 destination.setId(SECOND_DESTINATION_ID);
65 return destination;
68 private NavGraph createGraphWithDestination(NavDestination destination) { argument
70 graph.addDestination(destination);
83 NavDestination destination = new NavDestination(mock(Navigator.class));
84 graph.addDestination(destination);
[all...]
/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 EXPECT_EQ(0.0f, destination[0]);
44 EXPECT_EQ(1.0f, destination[1]);
45 EXPECT_EQ(2.0f, destination[2]);
46 EXPECT_EQ(3.0f, destination[3]);
53 AAudio_linearRamp(source, destination, 4, 1, levelFrom, levelTo);
54 EXPECT_EQ(4.0f, destination[0]);
55 EXPECT_EQ(5.0f, destination[1]);
56 EXPECT_EQ(6.0f, destination[
76 float destination[4] = {1.0f, 1.0f, 1.0f, 1.0f }; local
121 int16_t destination[count]; local
140 float destination[count]; local
159 int16_t destination[count]; 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/support/navigation/common/src/main/java/androidx/navigation/
H A DNavGraphNavigator.java26 * correct destination when the NavGraph is the target of navigation actions.
34 * destination within a {@link NavGraph}.
52 public void navigate(@NonNull NavGraph destination, @Nullable Bundle args, argument
54 int startId = destination.getStartDestination();
56 throw new IllegalStateException("no start destination defined via"
58 + (destination.getId() != 0
59 ? NavDestination.getDisplayName(mContext, destination.getId())
62 NavDestination startDestination = destination.findNode(startId, false);
65 throw new IllegalArgumentException("navigation destination " + dest
68 dispatchOnNavigatorNavigated(destination
[all...]
H A DNavigator.java47 * custom attributes used by the associated {@link NavDestination destination} subclass should
52 * to hold any special data that will be needed to navigate to that destination.
78 * not result in a back stack change if the existing destination is on the top of the stack.</p>
105 * <p>Any initialization of the destination should be done in the destination's constructor as
106 * it is not guaranteed that every destination will be created through this method.</p>
113 * Navigate to a destination.
115 * <p>Requests navigation to a given destination associated with this navigator in
120 * listeners of the resulting navigation destination.</p>
122 * @param destination destinatio
126 navigate(@onNull D destination, @Nullable Bundle args, @Nullable NavOptions navOptions) argument
[all...]
/frameworks/support/navigation/testing/src/main/java/androidx/navigation/testing/
H A DTestNavigator.java45 public void navigate(@NonNull Destination destination, @Nullable Bundle args, argument
48 && mBackStack.peekLast().first.getId() == destination.getId()) {
50 mBackStack.add(new Pair<>(destination, args));
51 dispatchOnNavigatorNavigated(destination.getId(), BACK_STACK_UNCHANGED);
53 mBackStack.add(new Pair<>(destination, args));
54 dispatchOnNavigatorNavigated(destination.getId(), BACK_STACK_DESTINATION_ADDED);
71 * A simple Test destination
/frameworks/av/drm/mediadrm/plugins/clearkey/default/
H A DAesCtrDecryptor.cpp31 uint8_t* destination,
54 memcpy(destination + offset, source + offset,
60 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...]
/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);
/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/default/tests/
H A DAesCtrDecryptorUnittest.cpp34 uint8_t* destination, const SubSample* subSamples,
40 return decryptor.decrypt(keyVector, iv, source, destination, subSamples,
71 uint8_t destination[kTotalSize] = { 0 }; local
82 &source[0], &destination[0],
105 uint8_t destination[kTotalSize] = { 0 }; local
116 &source[0], &destination[0],
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/drm/mediadrm/plugins/clearkey/hidl/
H A DAesCtrDecryptor.cpp40 uint8_t* destination,
63 memcpy(destination + offset, source + offset,
69 AES_ctr128_encrypt(source + offset, destination + offset,
37 decrypt( const std::vector<uint8_t>& key, const Iv iv, const uint8_t* source, uint8_t* destination, const std::vector<SubSample> subSamples, size_t numSubSamples, size_t* bytesDecryptedOut) argument
H A DCryptoPlugin.cpp57 const DestinationBuffer& destination,
73 if (destination.type == BufferType::SHARED_MEMORY) {
74 const SharedBuffer& dest = destination.nonsecureMemory;
77 "destination decrypt buffer base not set");
97 if (destination.type == BufferType::SHARED_MEMORY) {
98 const SharedBuffer& destBuffer = destination.nonsecureMemory;
101 _hidl_cb(Status::ERROR_DRM_CANNOT_HANDLE, 0, "destination is a nullptr");
109 destPtr = static_cast<void *>(base + destination.nonsecureMemory.offset);
110 } else if (destination.type == BufferType::NATIVE_HANDLE) {
112 destination
48 decrypt( bool secure, const hidl_array<uint8_t, KEY_ID_SIZE>& keyId, const hidl_array<uint8_t, KEY_IV_SIZE>& iv, Mode mode, const Pattern& pattern, const hidl_vec<SubSample>& subSamples, const SharedBuffer& source, uint64_t offset, const DestinationBuffer& destination, decrypt_cb _hidl_cb) argument
[all...]
/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

Completed in 200 milliseconds

1234