/frameworks/base/core/java/com/android/internal/util/ |
H A D | IntPair.java | 6 * 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__.txt | 4 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__.txt | 4 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/androidx/lifecycle/ |
H A D | ViewModelStores.java | 6 * You may obtain a copy of the License at 39 * Returns the {@link ViewModelStore} of the given activity. 48 public static ViewModelStore of(@NonNull FragmentActivity activity) { method in class:ViewModelStores 53 * Returns the {@link ViewModelStore} of the given fragment. 62 public static ViewModelStore of(@NonNull Fragment fragment) { method in class:ViewModelStores
|
H A D | ViewModelProviders.java | 6 * You may obtain a copy of the License at 59 * Creates a {@link ViewModelProvider}, which retains ViewModels while a scope of given 69 public static ViewModelProvider of(@NonNull Fragment fragment) { method in class:ViewModelProviders 70 return of(fragment, null); 74 * Creates a {@link ViewModelProvider}, which retains ViewModels while a scope of given Activity 84 public static ViewModelProvider of(@NonNull FragmentActivity activity) { method in class:ViewModelProviders 85 return of(activity, null); 89 * Creates a {@link ViewModelProvider}, which retains ViewModels while a scope of given 100 public static ViewModelProvider of(@NonNull Fragment fragment, @Nullable Factory factory) { method in class:ViewModelProviders 109 * Creates a {@link ViewModelProvider}, which retains ViewModels while a scope of give 120 public static ViewModelProvider of(@NonNull FragmentActivity activity, method in class:ViewModelProviders [all...] |
/frameworks/support/lifecycle/extensions/src/test/java/androidx/lifecycle/ |
H A D | ViewModelProvidersTest.java | 6 * You may obtain a copy of the License at 31 // This is similar to call ViewModelProviders.of in Activity's constructor 32 ViewModelProviders.of(new FragmentActivity()); 37 // This is similar to call ViewModelProviders.of in Activity's constructor 38 ViewModelProviders.of(new Fragment());
|
/frameworks/support/lifecycle/extensions/src/androidTest/java/androidx/lifecycle/viewmodeltest/ |
H A D | ViewModelActivity.java | 6 * 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 D | Android.mk | 10 # NDK recommends using this kind of relative path instead of an absolute path.
|
/frameworks/rs/script_api/ |
H A D | rs_for_each.spec | 6 # 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 D | rs_vector_math.spec | 6 # 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 D | rs_allocation_create.spec | 6 # 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 D | rs_allocation_data.spec | 6 # 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 D | rs_math.spec | 6 # 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/base/tests/SmokeTest/tests/ |
H A D | Android.mk | 10 # 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 D | BridgeXmlPullAttributesTest.java | 6 * 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 D | Insets.java | 6 * 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/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
H A D | SystemUpdatePolicyTest.java | 6 * You may obtain a copy of the License at 134 // Short interval spans across end of year 228 LocalDate.of(2016, 12, 31), LocalDate.of(2016, 1, 1))); 230 LocalDate.of(2017, 1, 1), LocalDate.of(2016, 1, 1))); 232 LocalDate.of(2017, 2, 28), LocalDate.of(2016, 2, 29))); 234 LocalDate.of(2016, 1, 1), LocalDate.of(201 [all...] |
/frameworks/base/tests/net/java/android/net/ |
H A D | MacAddressTest.java | 6 * You may obtain a copy of the License at 41 static AddrTypeTestCase of(int expectedType, int... addr) { method in class:MacAddressTest.AddrTypeTestCase 52 AddrTypeTestCase.of(MacAddress.TYPE_UNKNOWN), 53 AddrTypeTestCase.of(MacAddress.TYPE_UNKNOWN, 0), 54 AddrTypeTestCase.of(MacAddress.TYPE_UNKNOWN, 1, 2, 3, 4, 5), 55 AddrTypeTestCase.of(MacAddress.TYPE_UNKNOWN, 1, 2, 3, 4, 5, 6, 7), 56 AddrTypeTestCase.of(MacAddress.TYPE_UNICAST, 0xa0, 0xb0, 0xc0, 0xd0, 0xe0, 0xf0), 57 AddrTypeTestCase.of(MacAddress.TYPE_BROADCAST, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff), 58 AddrTypeTestCase.of(MacAddress.TYPE_MULTICAST, 1, 2, 3, 4, 5, 6), 59 AddrTypeTestCase.of(MacAddres [all...] |
/frameworks/support/navigation/safe-args-generator/src/main/kotlin/androidx/navigation/safe/args/generator/ |
H A D | Types.kt | 6 * You may obtain a copy of the License at 88 override fun write(): CodeBlock = CodeBlock.of(resReference.accessor()) 92 override fun write(): CodeBlock = CodeBlock.of(S, value) 95 // keeping value as String, it will help to preserve client format of it: hex, dec 97 override fun write(): CodeBlock = CodeBlock.of(value) 100 // keeping value as String, it will help to preserve client format of it: scientific, dot 102 override fun write(): CodeBlock = CodeBlock.of("${value}F") 106 override fun write(): CodeBlock = CodeBlock.of(value)
|
/frameworks/av/media/libaaudio/examples/input_monitor/jni/ |
H A D | Android.mk | 11 # NDK recommends using this kind of relative path instead of an absolute path.
|
/frameworks/av/media/libaaudio/examples/write_sine/jni/ |
H A D | Android.mk | 11 # NDK recommends using this kind of relative path instead of an absolute path.
|
/frameworks/support/lifecycle/extensions/src/androidTest/java/androidx/lifecycle/ |
H A D | ViewModelTestInTransaction.java | 6 * 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/support/room/compiler/src/main/kotlin/androidx/room/vo/ |
H A D | InsertionMethod.kt | 6 * You may obtain a copy of the License at 48 ArrayTypeName.of(TypeName.LONG)), // return long[] 50 ArrayTypeName.of(TypeName.LONG.box())), // return Long[]
|
/frameworks/base/apct-tests/perftests/utils/ |
H A D | Android.mk | 9 # The name of the jar file to create
|
/frameworks/minikin/doc/ |
H A D | minikin_style.md | 5 * Order of include
|