Searched refs:from (Results 126 - 150 of 886) sorted by relevance

1234567891011>>

/frameworks/base/tests/testables/src/android/testing/
H A DLayoutInflaterBuilder.java77 * @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 Drs_convert.spec20 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 DSwatchTests.java43 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 DColor.java86 * 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 DInformationElementUtilTest.java66 * @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 DARTPAssembler.h47 static void CopyTimes(const sp<ABuffer> &to, const sp<ABuffer> &from);
/frameworks/base/core/java/android/speech/tts/
H A DSynthesisCallback.java75 @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 DKeyguardPresentationTest.java38 LayoutInflater inflater = LayoutInflater.from(getContext());
/frameworks/data-binding/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/
H A DDataBoundAdapter.java22 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 DThemableWidget.java38 LayoutInflater.from(context).inflate(R.layout.themable_widget_layout, this);
/frameworks/multidex/
H A Dbuild.gradle30 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 DResourceRequestKey.java25 * 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 Ddist-unit-tests.gradle28 from junitReport.destination
93 from jacocoTask.reports.html.destination
/frameworks/support/annotations/src/main/java/androidx/annotation/
H A DFloatRange.java33 * &#64;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 Dinit.gradle38 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 Drelease.gradle21 " project, without any history from prebuilts."
22 from rootProject.ext.supportRepoOut
74 from rootProject.ext.supportRepoOut
/frameworks/support/buildSrc/
H A Dinit.gradle38 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 Drelease.gradle21 " 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 DProcessor.kt133 + 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 DDividerPresenter.java46 View headerView = LayoutInflater.from(parent.getContext())
H A DListRowView.java43 LayoutInflater inflater = LayoutInflater.from(context);
/frameworks/support/viewpager2/src/androidTest/java/androidx/viewpager2/widget/swipe/
H A DViewAdapterActivity.java37 LayoutInflater.from(ViewAdapterActivity.this).inflate(
/frameworks/av/media/libmediaextractor/
H A DMetaDataBase.cpp86 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 DWindowManager.java209 * 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__.txt13 - Sample code documentation is not maintained in Piper, but is published from

Completed in 786 milliseconds

1234567891011>>