/frameworks/base/libs/hwui/ |
H A D | PropertyValuesHolder.h | 40 virtual void evaluate(T* out, const T& from, const T& to, float fraction) const {}; argument 46 virtual void evaluate(float* out, const float& from, const float& to, float fraction) 48 *out = from * (1 - fraction) + to * fraction; 54 virtual void evaluate(SkColor* outColor, const SkColor& from, const SkColor& to, 59 virtual void evaluate(PathData* out, const PathData& from, const PathData& to, float fraction) 72 // Calculate the animated value from the data source. 74 // Convenient method to favor getting animated value from data source. If no data source is set
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/ |
H A D | ModelMethod.java | 184 public static boolean isImplicitConversion(ModelClass from, ModelClass to) { argument 185 if (from != null && to != null && from.isPrimitive() && to.isPrimitive()) { 186 if (from.isBoolean() || to.isBoolean() || to.isChar()) { 189 int fromConversionLevel = getImplicitConversionLevel(from);
|
/frameworks/base/media/java/android/media/session/ |
H A D | PlaybackState.java | 123 * Indicates this session supports the play from media id command. 130 * Indicates this session supports the play from search command. 144 * Indicates this session supports the play from URI command. 158 * Indicates this session supports the prepare from media id command. 165 * Indicates this session supports the prepare from search command. 172 * Indicates this session supports the prepare from URI command. 390 * point that can be reached from the current position using only buffered 836 * Creates a builder with the same initial values as those in the from 839 * @param from The state to use for initializing the builder. 841 public Builder(PlaybackState from) { argument [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
H A D | BoundsAnimationControllerTests.java | 56 * F->!F, !F->!F, and !F->F. Each animation can only be cancelled from the target mid-transition, 121 * A test animate bounds user to track callbacks from the bounds animation. 137 void initialize(Rect from) { argument 145 mStackBounds = from; 203 BoundsAnimationDriver start(Rect from, Rect to) { argument 208 boolean fromFullscreen = from.equals(BOUNDS_FULL); 211 mTarget.initialize(from); 217 startImpl(from, to); 220 // to/from fullscreen 260 private BoundsAnimationDriver startImpl(Rect from, Rec argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | UndoManager.java | 689 int findPrevState(ArrayList<UndoState> states, UndoOwner[] owners, int from) { argument 692 if (from == -1) { 693 from = N-1; 695 if (from >= N) { 699 return from; 702 while (from >= 0) { 703 UndoState state = states.get(from); 705 return from; 707 from--; 713 int findNextState(ArrayList<UndoState> states, UndoOwner[] owners, int from) { argument [all...] |
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
H A D | ObservableArrayListTest.java | 59 public void onItemRangeMoved(ObservableList sender, int from, int to, int count) { 60 mNotifications.add(new ListChange(MOVE, from, to, count)); 74 this.from = 0; 79 public ListChange(int change, int from, int to, int count) { argument 80 this.from = from; 91 public final int from; field in class:ObservableArrayListTest.ListChange
|
/frameworks/base/tests/testables/src/android/testing/ |
H A D | LayoutInflaterBuilder.java | 77 * @param from Instances of this class will be replaced during inflation. 81 public LayoutInflaterBuilder replace(@NonNull Class from, @NonNull Class to) { argument 82 return replace(from.getName(), to); 125 LayoutInflater.from(mFromContext).cloneInContext(mTargetContext);
|
/frameworks/rs/script_api/ |
H A D | rs_convert.spec | 20 The functions below convert from a numerical vector type to another, or from one color 34 Converts a vector from one numerical type to another. The conversion are done entry per entry. 102 summary: Create a uchar4 RGBA from floats 148 summary: Create a float4 RGBA from uchar4 164 Converts a color from a YUV representation to RGBA.
|
/frameworks/support/v7/palette/tests/java/android/support/v7/graphics/ |
H A D | SwatchTests.java | 44 final Palette p = Palette.from(loadSampleBitmap()).generate(); 54 final Palette p = Palette.from(loadSampleBitmap()).generate(); 64 final Palette p = Palette.from(loadSampleBitmap()).generate();
|
H A D | MaxColorsTest.java | 51 Palette newPalette = Palette.from(loadSampleBitmap())
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Color.java | 86 * As a convenience this class also offers methods to encode color ints from components 98 * <p>The four ARGB components can be individually extracted from a color int 135 * from \([0..1]\) float values when decoding and encoding color longs.</p> 230 * Color opaqueRed = Color.valueOf(0xffff0000); // from a color int 235 * Color opaqueYellow = Color.valueOf(p3); // from a color long 258 * <p>You can convert colors from one color space to another using 266 * convert a color from a source color space to a destination color space</li> 267 * <li>{@link #convert(long, ColorSpace)} to convert a color long from its 269 * <li>{@link #convert(int, ColorSpace)} to convert a color int from sRGB 422 @IntRange(from [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
H A D | InformationElementUtilTest.java | 66 * @return byte[] Byte array resulting from concatenating the arrays passed to the function 267 capabilities.from(ies, beaconCap); 293 capabilities.from(ies, beaconCap); 321 capabilities.from(ies, beaconCap); 345 capabilities.from(ies, beaconCap); 383 capabilities.from(ies, beaconCap); 415 capabilities.from(ies, beaconCap); 449 capabilities.from(ies, beaconCap); 477 capabilities.from(ies, beaconCap); 506 capabilities.from(ie [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTPAssembler.h | 47 static void CopyTimes(const sp<ABuffer> &to, const sp<ABuffer> &from);
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | SynthesisCallback.java | 75 @IntRange(from = 1, to = 2) int channelCount); 121 * @param errorCode Error code to pass to the client. One of the ERROR_ values from {@link 132 * <p>Useful for checking if a fallback from network request is possible. 142 * <p>Useful for checking if a fallback from network request is possible.
|
/frameworks/data-binding/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/ |
H A D | DataBoundAdapter.java | 22 T binder = DataBindingUtil.inflate(LayoutInflater.from(viewGroup.getContext()), mLayoutId,
|
/frameworks/multidex/ |
H A D | build.gradle | 30 apply from: 'version.gradle' 53 * The DIST_DIR is where you want to save things from the build. 93 from release.artifacts
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
H A D | ResourceRequestKey.java | 25 * Simple RequestKey for decoding from a resource id. 36 public static ResourceRequestKey from(Resources res, int resId) { method in class:ResourceRequestKey
|
/frameworks/support/annotations/src/android/support/annotation/ |
H A D | FloatRange.java | 33 * @FloatRange(from=0.0,to=1.0) 44 double from() default Double.NEGATIVE_INFINITY; 49 /** Whether the from value is included in the range */
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
H A D | BottomSheetBehaviorActivity.java | 45 mBehavior = BottomSheetBehavior.from(mBottomSheet);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | DividerPresenter.java | 45 View headerView = LayoutInflater.from(parent.getContext())
|
H A D | ListRowView.java | 42 LayoutInflater inflater = LayoutInflater.from(context);
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | MetaData.cpp | 35 MetaData::MetaData(const MetaData &from) argument 37 mItems(from.mItems) { 244 MetaData::typed_data::typed_data(const typed_data &from) argument 245 : mType(from.mType), 248 void *dst = allocateStorage(from.mSize); 250 memcpy(dst, from.storage(), mSize); 255 const MetaData::typed_data &from) { 256 if (this != &from) { 258 mType = from.mType; 259 void *dst = allocateStorage(from 254 operator =( const MetaData::typed_data &from) argument [all...] |
/frameworks/base/docs/ |
H A D | __DEPRECATED__DO_NOT_EDIT__.txt | 13 - Sample code documentation is not maintained in Piper, but is published from
|
/frameworks/base/docs/html/ |
H A D | __DEPRECATED__DO_NOT_EDIT__.txt | 13 - Sample code documentation is not maintained in Piper, but is published from
|
/frameworks/base/tests/TouchLatency/ |
H A D | Android.mk | 11 # use appcompat/support lib from the tree, so improvements/
|