/frameworks/layoutlib/bridge/ |
H A D | update_nav_icons.sh | 40 destination="$BARS/v$CURRENT_API/$density/" 41 mkdir -p "$destination" # create if not present. 42 cp -v "$FB/packages/SystemUI/res/drawable-$density/$icon" "$destination" 47 destination="$BARS/v$CURRENT_API/ldrtl-$density/" 48 mkdir -p "$destination" 49 cp -v "$FB/packages/SystemUI/res/drawable-ldrtl-$density/$icon" "$destination"
|
/frameworks/support/navigation/common/src/test/java/androidx/navigation/ |
H A D | NavDestinationTest.java | 45 NavDestination destination = new NavDestination(mock(Navigator.class)); 46 destination.setId(DESTINATION_ID); 50 destination.setParent(parent); 51 int[] deepLinkIds = destination.buildDeepLinkIds(); 59 NavDestination destination = new NavDestination(mock(Navigator.class)); 60 destination.putAction(ACTION_ID, DESTINATION_ID); 62 assertThat(destination.getAction(ACTION_ID), not(nullValue())); 63 assertThat(destination.getAction(ACTION_ID).getDestinationId(), is(DESTINATION_ID)); 68 NavDestination destination = new NavDestination(mock(Navigator.class)); 69 destination [all...] |
H A D | NavGraphTest.java | 57 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 D | test_linear_ramp.cpp | 28 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/core/java/android/net/ |
H A D | RouteInfo.java | 38 * <li>a destination {@link IpPrefix} specifying the network destinations covered by this route. 45 * Either the destination or the gateway may be {@code null}, but not both. If the 46 * destination and gateway are both specified, they must be of the same address family 51 * The IP destination address for this route. 88 * If destination is null, then gateway must be specified and the 94 * destination and gateway may not both be null. 96 * @param destination the destination prefix 102 public RouteInfo(IpPrefix destination, InetAddress gateway, String iface, int type) { argument 122 if (destination 163 RouteInfo(IpPrefix destination, InetAddress gateway, String iface) argument 170 RouteInfo(LinkAddress destination, InetAddress gateway, String iface) argument 191 RouteInfo(IpPrefix destination, InetAddress gateway) argument 200 RouteInfo(LinkAddress destination, InetAddress gateway) argument 223 RouteInfo(IpPrefix destination) argument 230 RouteInfo(LinkAddress destination) argument 237 RouteInfo(IpPrefix destination, int type) argument 369 matches(InetAddress destination) argument [all...] |
/frameworks/support/navigation/runtime/ktx/src/main/java/androidx/navigation/ |
H A D | ActivityNavigatorDestinationBuilder.kt | 33 ) = destination(ActivityNavigatorDestinationBuilder( 57 super.build().also { destination -> 59 destination.setComponentName(ComponentName(context, clazz.java)) 61 destination.action = action 62 destination.data = data 63 destination.dataPattern = dataPattern
|
/frameworks/support/navigation/safe-args-generator/src/main/kotlin/androidx/navigation/safe/args/generator/ |
H A D | NavSafeArgsGenerator.kt | 34 fun writeJavaFiles(destination: Destination) { 35 if (destination.actions.isNotEmpty()) { 36 javaFiles.add(generateDirectionsJavaFile(destination)) 38 if (destination.args.isNotEmpty()) { 39 javaFiles.add(generateArgsJavaFile(destination)) 41 destination.nested.forEach(::writeJavaFiles)
|
/frameworks/support/navigation/common/ktx/src/androidTest/java/androidx/navigation/ |
H A D | NavDestinationBuilderTest.kt | 38 val destination = provider.navDestination(DESTINATION_ID) { } 40 DESTINATION_ID, destination.id) 45 val destination = provider.navDestination(DESTINATION_ID) { 49 LABEL, destination.label) 55 val destination = provider.navDestination(DESTINATION_ID) { 59 arguments, destination.defaultArguments) 64 val destination = provider.navDestination(DESTINATION_ID) { 72 val action = destination.getAction(ACTION_ID)
|
H A D | NavGraphTest.kt | 38 val destination = NavDestination(navigator).apply { id = DESTINATION_ID } 39 graph += destination 40 assertSame("plusAssign destination should be retrieved with get", destination, 47 val destination = NavDestination(navigator).apply { id = DESTINATION_ID } 48 graph += destination 49 assertSame("plusAssign destination should be retrieved with get", destination, 51 graph -= destination
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/ |
H A D | BitmapSerializeUtils.java | 51 * @param destination The destination file descriptor. 53 public static void writeBitmapPixels(Bitmap bitmap, ParcelFileDescriptor destination) { argument 54 nativeWriteBitmapPixels(bitmap, destination.getFd());
|
/frameworks/support/navigation/safe-args-generator/src/main/kotlin/androidx/navigation/safe/args/generator/models/ |
H A D | Action.kt | 20 val destination: ResReference?,
|
/frameworks/support/navigation/common/src/main/java/androidx/navigation/ |
H A D | NavGraphNavigator.java | 26 * 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...] |
/frameworks/support/navigation/testing/ktx/src/test/java/androidx/navigation/testing/ |
H A D | TestNavigatorTest.kt | 33 val destination = testNavigator.createDestination() 35 testNavigator.navigate(destination, args, null) 40 assertEquals("last() returns last destination navigated to", 41 destination, foundDestination)
|
/frameworks/support/navigation/testing/src/main/java/androidx/navigation/testing/ |
H A D | TestNavigator.java | 45 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/media/libaaudio/src/utility/ |
H A D | AAudioUtilities.cpp | 78 int16_t *destination, 84 *destination++ = clipAndClampFloatToPcm16(sample, scaler); 89 int16_t *destination, 100 *destination++ = clipAndClampFloatToPcm16(sample, scaler); 109 float *destination, 114 destination[i] = source[i] * scaler; 120 float *destination, 129 *destination++ = *source++ * scaler; 138 float *destination, 151 *destination 77 AAudioConvert_floatToPcm16(const float *source, int16_t *destination, int32_t numSamples, float amplitude) argument 88 AAudioConvert_floatToPcm16(const float *source, int16_t *destination, int32_t numFrames, int32_t samplesPerFrame, float amplitude1, float amplitude2) argument 108 AAudioConvert_pcm16ToFloat(const int16_t *source, float *destination, int32_t numSamples, float amplitude) argument 119 AAudioConvert_pcm16ToFloat(const int16_t *source, float *destination, int32_t numFrames, int32_t samplesPerFrame, float amplitude1, float amplitude2) argument 137 AAudio_linearRamp(const float *source, float *destination, int32_t numFrames, int32_t samplesPerFrame, float amplitude1, float amplitude2) argument 158 AAudio_linearRamp(const int16_t *source, int16_t *destination, int32_t numFrames, int32_t samplesPerFrame, float amplitude1, float amplitude2) argument 179 AAudioConvert_formatMonoToStereo(const float *source, int16_t *destination, int32_t numFrames, float amplitude) argument 192 AAudioConvert_formatMonoToStereo(const float *source, int16_t *destination, int32_t numFrames, float amplitude1, float amplitude2) argument 208 AAudioConvert_formatMonoToStereo(const int16_t *source, float *destination, int32_t numFrames, float amplitude) argument 221 AAudioConvert_formatMonoToStereo(const int16_t *source, float *destination, int32_t numFrames, float amplitude1, float amplitude2) argument 237 AAudio_linearRampMonoToStereo(const float *source, float *destination, int32_t numFrames, float amplitude1, float amplitude2) argument 257 AAudio_linearRampMonoToStereo(const int16_t *source, int16_t *destination, int32_t numFrames, float amplitude1, float amplitude2) argument 275 convert( const FormattedData &source, const FormattedData &destination, int32_t numFrames, float levelFrom, float levelTo) argument 300 convertMonoToStereo( const FormattedData &source, const FormattedData &destination, int32_t numFrames, float levelFrom, float levelTo) argument 360 convertChannelsMatch( const FormattedData &source, const FormattedData &destination, int32_t numFrames, float levelFrom, float levelTo) argument [all...] |
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | RggbChannelVector.java | 133 * 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...] |
H A D | BlackLevelPattern.java | 74 * 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...] |
/frameworks/base/telecomm/java/android/telecom/ |
H A D | ParcelableConnection.java | 306 public void writeToParcel(Parcel destination, int flags) { argument 307 destination.writeParcelable(mPhoneAccount, 0); 308 destination.writeInt(mState); 309 destination.writeInt(mConnectionCapabilities); 310 destination.writeParcelable(mAddress, 0); 311 destination.writeInt(mAddressPresentation); 312 destination.writeString(mCallerDisplayName); 313 destination.writeInt(mCallerDisplayNamePresentation); 314 destination.writeStrongBinder( 316 destination [all...] |
H A D | ParcelableCall.java | 381 public void writeToParcel(Parcel destination, int flags) { argument 382 destination.writeString(mId); 383 destination.writeInt(mState); 384 destination.writeParcelable(mDisconnectCause, 0); 385 destination.writeList(mCannedSmsResponses); 386 destination.writeInt(mCapabilities); 387 destination.writeInt(mProperties); 388 destination.writeLong(mConnectTimeMillis); 389 destination.writeParcelable(mHandle, 0); 390 destination [all...] |
H A D | ParcelableConference.java | 175 public void writeToParcel(Parcel destination, int flags) { argument 176 destination.writeParcelable(mPhoneAccount, 0); 177 destination.writeInt(mState); 178 destination.writeInt(mConnectionCapabilities); 179 destination.writeList(mConnectionIds); 180 destination.writeLong(mConnectTimeMillis); 181 destination.writeStrongBinder( 183 destination.writeInt(mVideoState); 184 destination.writeParcelable(mStatusHints, 0); 185 destination [all...] |
/frameworks/support/navigation/common/ktx/src/main/java/androidx/navigation/ |
H A D | NavDestinationBuilder.kt | 34 * The descriptive label of the destination 39 * The default arguments that should be passed to the destination 46 * Add a deep link to this destination. 69 * Adds a new [NavAction] to the destination 79 return navigator.createDestination().also { destination -> 80 destination.id = id 81 destination.label = label 82 destination.setDefaultArguments(defaultArguments) 84 destination.addDeepLink(deepLink) 87 destination [all...] |
H A D | NavGraphBuilder.kt | 37 ) = destination(NavGraphBuilder(provider, id, startDestination).apply(block)) 51 * Build and add a new destination to the [NavGraphBuilder] 53 fun <D : NavDestination> destination(navDestination: NavDestinationBuilder<D>) { 58 * Adds this destination to the [NavGraphBuilder] 65 * Add the destination to the [NavGraphBuilder] 67 fun addDestination(destination: NavDestination) { 68 destinations += destination
|
/frameworks/support/navigation/fragment/src/androidTest/java/androidx/navigation/fragment/ |
H A D | FragmentNavigatorTest.java | 63 FragmentNavigator.Destination destination = fragmentNavigator.createDestination(); 64 destination.setFragmentClass(EmptyFragment.class); 66 fragmentNavigator.navigate(destination, null, null); 79 FragmentNavigator.Destination destination = fragmentNavigator.createDestination(); 80 destination.setFragmentClass(EmptyFragment.class); 82 fragmentNavigator.navigate(destination, null, null); 87 fragmentNavigator.navigate(destination, null, 106 FragmentNavigator.Destination destination = fragmentNavigator.createDestination(); 107 destination.setFragmentClass(EmptyFragment.class); 110 fragmentNavigator.navigate(destination, nul [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | CallInfo.java | 74 public void writeToParcel(Parcel destination, int flags) { argument 75 destination.writeString(handle);
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | RecipientEntry.java | 64 /** Type of the destination like {@link Email#TYPE_HOME} */ 67 * Label of the destination which will be used when type was {@link Email#TYPE_CUSTOM}. 75 /** ID for the destination */ 101 protected RecipientEntry(int entryType, String displayName, String destination, argument 105 this(entryType, displayName, destination, destinationType, 110 protected RecipientEntry(int entryType, String displayName, String destination, argument 117 mDestination = destination; 133 protected RecipientEntry(int entryType, String displayName, String destination, argument 137 this(entryType, displayName, destination, destinationType, destinationLabel, 191 String destination, in 190 constructTopLevelEntry(String displayName, int displayNameSource, String destination, int destinationType, String destinationLabel, long contactId, Long directoryId, long dataId, Uri photoThumbnailUri, boolean isValid, String lookupKey) argument 200 constructTopLevelEntry(String displayName, int displayNameSource, String destination, int destinationType, String destinationLabel, long contactId, Long directoryId, long dataId, String thumbnailUriAsString, boolean isValid, String lookupKey) argument 211 constructSecondLevelEntry(String displayName, int displayNameSource, String destination, int destinationType, String destinationLabel, long contactId, Long directoryId, long dataId, String thumbnailUriAsString, boolean isValid, String lookupKey) argument 245 pickDisplayName(int displayNameSource, String displayName, String destination) argument [all...] |