/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/palette/src/androidTest/java/androidx/palette/graphics/ |
H A D | SwatchTests.java | 43 final Palette p = Palette.from(TestUtils.loadSampleBitmap()).generate(); 53 final Palette p = Palette.from(TestUtils.loadSampleBitmap()).generate(); 63 final Palette p = Palette.from(TestUtils.loadSampleBitmap()).generate();
|
/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/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
H A D | KeyguardPresentationTest.java | 38 LayoutInflater inflater = LayoutInflater.from(getContext());
|
/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/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/ |
H A D | ThemableWidget.java | 38 LayoutInflater.from(context).inflate(R.layout.themable_widget_layout, this);
|
/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. 73 from project.ext.supportRepoOut
|
/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/opt/setupwizard/tools/gradle/ |
H A D | dist-unit-tests.gradle | 28 from junitReport.destination 93 from jacocoTask.reports.html.destination
|
/frameworks/support/annotations/src/main/java/androidx/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/app-toolkit/buildSrc/ |
H A D | init.gradle | 38 apply from: "${supportRoot}/buildSrc/dependencies.gradle" 39 apply from: "${supportRoot}/buildSrc/build_dependencies.gradle" 40 apply from: "${supportRoot}/buildSrc/unbundled_check.gradle" 83 * Adapted from com.android.build.gradle.internal.SdkHandler 132 * The DIST_DIR is where you want to save things from the build. 141 // the build server does not pass the build number so we infer it from the last folder of 197 from { 236 !project.hasProperty('android.injected.invoked.from.ide') 247 from v.testedVariant.javaCompile.destinationDir 286 from(tas [all...] |
H A D | release.gradle | 21 " project, without any history from prebuilts." 22 from rootProject.ext.supportRepoOut 74 from rootProject.ext.supportRepoOut
|
/frameworks/support/buildSrc/ |
H A D | init.gradle | 38 apply from: "${supportRoot}/buildSrc/dependencies.gradle" 39 apply from: "${supportRoot}/buildSrc/build_dependencies.gradle" 40 apply from: "${supportRoot}/buildSrc/unbundled_check.gradle" 83 * Adapted from com.android.build.gradle.internal.SdkHandler 132 * The DIST_DIR is where you want to save things from the build. 141 // the build server does not pass the build number so we infer it from the last folder of 197 from { 236 !project.hasProperty('android.injected.invoked.from.ide') 247 from v.testedVariant.javaCompile.destinationDir 286 from(tas [all...] |
H A D | release.gradle | 21 " project, without any history from prebuilts." 22 from rootProject.ext.supportRepoOut 74 from rootProject.ext.supportRepoOut
|
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/ |
H A D | Processor.kt | 133 + it.from.groupId!!.replace(".", "[./\\\\]") 135 + it.from.artifactId 163 val inputLibraries = input.map { it.from }.toSet() 251 .filter { !filterOutBaseLibrary || !(it.from.artifactId == "baseLibrary" 252 && it.from.groupId == "com.android.databinding") } 254 (context.versions.applyOnConfigPomDep(it.from).toStringNotationWithoutVersion() 260 * Returns whether the given artifact file is from the old list of dependencies and should be 268 * Return whether the given artifact file is a new artifact from the new set of dependencies 278 if (!library.from.canRead()) { 282 val archive = Archive.Builder.extract(library.from) [all...] |
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
H A D | DividerPresenter.java | 46 View headerView = LayoutInflater.from(parent.getContext())
|
H A D | ListRowView.java | 43 LayoutInflater inflater = LayoutInflater.from(context);
|
/frameworks/support/viewpager2/src/androidTest/java/androidx/viewpager2/widget/swipe/ |
H A D | ViewAdapterActivity.java | 37 LayoutInflater.from(ViewAdapterActivity.this).inflate(
|
/frameworks/av/media/libmediaextractor/ |
H A D | MetaDataBase.cpp | 86 MetaDataBase::MetaDataBase(const MetaDataBase &from) argument 88 mInternalData->mItems = from.mInternalData->mItems; 301 MetaDataBase::typed_data::typed_data(const typed_data &from) argument 302 : mType(from.mType), 305 void *dst = allocateStorage(from.mSize); 307 memcpy(dst, from.storage(), mSize); 312 const MetaDataBase::typed_data &from) { 313 if (this != &from) { 315 mType = from.mType; 316 void *dst = allocateStorage(from 311 operator =( const MetaDataBase::typed_data &from) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | WindowManager.java | 209 * A task is being docked from recents. 373 * Used to asynchronously request Keyboard Shortcuts from the focused window. 428 * {@link Gravity#END} it provides an offset from the given edge. 436 * an offset from the given edge. 463 * <li> <strong>Application windows</strong> (ranging from 469 * <li> <strong>Sub-windows</strong> (ranging from 474 * <li> <strong>System windows</strong> (ranging from 506 @ViewDebug.IntToString(from = TYPE_BASE_APPLICATION, 508 @ViewDebug.IntToString(from = TYPE_APPLICATION, 510 @ViewDebug.IntToString(from [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
|