Searched refs:of (Results 1 - 25 of 466) sorted by relevance

1234567891011>>

/frameworks/base/core/java/com/android/internal/util/
H A DIntPair.java6 * You may obtain a copy of the License at
20 * Utilities for treating a {@code long} as a pair of {@code int}s
27 public static long of(int first, int second) { method in class:IntPair
/frameworks/base/docs/
H A D__DEPRECATED__DO_NOT_EDIT__.txt4 of 12/2016. Migration of content was completed on 10/16/2016.
6 All authoring of content has been moved to Piper (go/dac-source).
10 - Reference documentation is still maintained via building of .java source files,
/frameworks/base/docs/html/
H A D__DEPRECATED__DO_NOT_EDIT__.txt4 of 12/2016. Migration of content was completed on 10/16/2016.
6 All authoring of content has been moved to Piper (go/dac-source).
10 - Reference documentation is still maintained via building of .java source files,
/frameworks/support/lifecycle/extensions/src/main/java/android/arch/lifecycle/
H A DViewModelProviders.java6 * You may obtain a copy of the License at
44 * Creates a {@link ViewModelProvider}, which retains ViewModels while a scope of given
53 public static ViewModelProvider of(@NonNull Fragment fragment) { method in class:ViewModelProviders
60 return new ViewModelProvider(ViewModelStores.of(fragment), sDefaultFactory);
64 * Creates a {@link ViewModelProvider}, which retains ViewModels while a scope of given Activity
73 public static ViewModelProvider of(@NonNull FragmentActivity activity) { method in class:ViewModelProviders
75 return new ViewModelProvider(ViewModelStores.of(activity), sDefaultFactory);
79 * Creates a {@link ViewModelProvider}, which retains ViewModels while a scope of given
89 public static ViewModelProvider of(@NonNull Fragment fragment, @NonNull Factory factory) { method in class:ViewModelProviders
90 return new ViewModelProvider(ViewModelStores.of(fragmen
104 public static ViewModelProvider of(@NonNull FragmentActivity activity, method in class:ViewModelProviders
[all...]
H A DViewModelStores.java6 * You may obtain a copy of the License at
35 * Returns the {@link ViewModelStore} of the given activity.
41 public static ViewModelStore of(FragmentActivity activity) { method in class:ViewModelStores
46 * Returns the {@link ViewModelStore} of the given fragment.
52 public static ViewModelStore of(Fragment fragment) { method in class:ViewModelStores
/frameworks/support/lifecycle/extensions/src/androidTest/java/android/arch/lifecycle/viewmodeltest/
H A DViewModelActivity.java6 * You may obtain a copy of the License at
46 activityModel = ViewModelProviders.of(this).get(KEY_ACTIVITY_MODEL, TestViewModel.class);
47 defaultActivityModel = ViewModelProviders.of(this).get(TestViewModel.class);
58 fragmentModel = ViewModelProviders.of(this).get(KEY_FRAGMENT_MODEL,
60 activityModel = ViewModelProviders.of(getActivity()).get(KEY_ACTIVITY_MODEL,
62 defaultActivityModel = ViewModelProviders.of(getActivity()).get(TestViewModel.class);
/frameworks/av/media/libaaudio/examples/loopback/jni/
H A DAndroid.mk10 # NDK recommends using this kind of relative path instead of an absolute path.
/frameworks/support/app-toolkit/buildSrc/src/main/groovy/android/support/
H A DSupportKotlinLibraryPlugin.groovy6 * You may obtain a copy of the License at
35 project.apply(ImmutableMap.of("plugin", "kotlin"));
36 project.apply(ImmutableMap.of("plugin", "kotlin-kapt"));
H A DFlatfootAndroidLibraryPlugin.groovy6 * You may obtain a copy of the License at
35 project.apply(ImmutableMap.of("plugin", "com.android.library"));
H A DSupportJavaLibraryPlugin.groovy6 * You may obtain a copy of the License at
35 project.apply(ImmutableMap.of("plugin", "java"));
/frameworks/support/buildSrc/src/main/groovy/android/support/
H A DSupportKotlinLibraryPlugin.groovy6 * You may obtain a copy of the License at
35 project.apply(ImmutableMap.of("plugin", "kotlin"));
36 project.apply(ImmutableMap.of("plugin", "kotlin-kapt"));
H A DFlatfootAndroidLibraryPlugin.groovy6 * You may obtain a copy of the License at
35 project.apply(ImmutableMap.of("plugin", "com.android.library"));
/frameworks/rs/script_api/
H A Drs_for_each.spec6 # You may obtain a copy of the License at
20 The @rsForEach() function can be used to invoke the root kernel of a script.
22 The other functions are used to get the characteristics of the invocation of
38 This type is used to suggest how the invoked kernel should iterate over the cells of the
41 This specification can help the caching behavior of the running kernel, e.g. the cache
50 The kernel context contains common characteristics of the allocations being iterated
51 over, like dimensions. It also contains rarely used indices of the currently processed
52 cell, like the Array0 index or the current level of detail.
54 You can access the kernel context by adding a special parameter named "context" of typ
[all...]
H A Drs_vector_math.spec6 # You may obtain a copy of the License at
20 These functions interpret the input arguments as representation of vectors in
23 The precision of the mathematical operations on 32 bit floats is affected by the pragmas
24 # TODO Create an anchor for the section of http://developer.android.com/guide/topics/renderscript/compute.html that details rs_fp_* and link them here.
27 Different precision/speed tradeoffs can be achieved by using variants of the common math
45 summary: Cross product of two vectors
47 Computes the cross product of two vectors.
97 summary: Dot product of two vectors
99 Computes the dot product of two vectors.
140 summary: Approximate length of
[all...]
H A Drs_allocation_create.spec6 # You may obtain a copy of the License at
30 arg: rs_data_type data_type, "Data type of the Element"
31 summary: Creates an rs_element object of the specified data type
33 Creates an rs_element object of the specified data type. The data kind of
42 arg: rs_data_type data_type, "Data type of the Element"
44 summary: Creates an rs_element object of the specified data type and vector width
46 Creates an rs_element object of the specified data type and vector width.
47 Value of vector_width must be 2, 3 or 4. The data kind of th
[all...]
H A Drs_allocation_data.spec6 # You may obtain a copy of the License at
31 or set cells. Think of them as rsGetCellAt and and rsSetCellAt.
38 arg: uint32_t dstOff, "Offset in the destination of the first cell to be copied into."
40 arg: uint32_t count, "Number of cells to be copied."
42 arg: uint32_t srcOff, "Offset in the source of the first cell to be copied."
46 Copies the specified number of cells from one allocation to another.
52 of either allocation. Be careful!
67 arg: uint32_t dstXoff, "X offset in the destination of the region to be set."
68 arg: uint32_t dstYoff, "Y offset in the destination of the region to be set."
70 arg: rs_allocation_cubemap_face dstFace, "Cubemap face of th
[all...]
H A Drs_math.spec6 # You may obtain a copy of the License at
21 to vectors, the returned value is a vector of the function applied to each entry of the input.
35 The precision of the mathematical operations on 32 bit floats is affected by the pragmas
37 rounding may be done towards zero. In comparison, rs_fp_full requires correct handling of
41 Different precision/speed tradeoffs can be achieved by using variants of the common math
51 # TODO Add f16 versions of these constants.
57 The inverse of pi, as a 32 bit float.
83 2 divided by the square root of pi, as a 32 bit float.
91 The number e, the base of th
[all...]
/frameworks/support/
H A DAndroid.mk5 # You may obtain a copy of the License at
26 # Find all of the files in the given subdirs that match the
28 # function uses $(1) instead of LOCAL_PATH as the base.
29 # $(1): the base dir, relative to the root of the source tree.
32 # $(4): a list of subdirs of the base dir.
33 # Returns: a list of paths relative to the base dir.
44 ## Find all of the files under the named directories where
55 ## Find all of the files under the current directory where
/frameworks/base/tests/SmokeTest/tests/
H A DAndroid.mk10 # Notice that we don't have to include the src files of SmokeTestApp because, by
12 # automatically get all of its classes loaded into our environment.
/frameworks/layoutlib/bridge/tests/src/android/util/
H A DBridgeXmlPullAttributesTest.java6 * You may obtain a copy of the License at
58 return ImmutableMap.of(
61 return ImmutableMap.of();
65 return ImmutableMap.of(
70 return ImmutableMap.of();
/frameworks/base/graphics/java/android/graphics/
H A DInsets.java6 * You may obtain a copy of the License at
21 * edges of a Rectangle. By convention, positive values move edges towards the
22 * centre of the rectangle.
55 public static Insets of(int left, int top, int right, int bottom) { method in class:Insets
69 public static Insets of(Rect r) { method in class:Insets
70 return (r == null) ? NONE : of(r.left, r.top, r.right, r.bottom);
/frameworks/av/media/libaaudio/examples/input_monitor/jni/
H A DAndroid.mk11 # NDK recommends using this kind of relative path instead of an absolute path.
/frameworks/av/media/libaaudio/examples/write_sine/jni/
H A DAndroid.mk11 # NDK recommends using this kind of relative path instead of an absolute path.
/frameworks/support/lifecycle/extensions/src/androidTest/java/android/arch/lifecycle/
H A DViewModelTestInTransaction.java6 * You may obtain a copy of the License at
51 TestViewModel viewModel = ViewModelProviders.of(activity).get(TestViewModel.class);
74 TestViewModel viewModel = ViewModelProviders.of(this).get(TestViewModel.class);
89 ? ViewModelProviders.of(parentFragment) : ViewModelProviders.of(getActivity());
/frameworks/base/apct-tests/perftests/utils/
H A DAndroid.mk9 # The name of the jar file to create

Completed in 2079 milliseconds

1234567891011>>