Searched defs:of (Results 1 - 21 of 21) sorted by relevance

/frameworks/support/lifecycle/extensions/src/main/java/android/arch/lifecycle/
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
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...]
/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/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/base/core/java/android/util/
H A DProperty.java6 * You may obtain a copy of the License at
22 * methods can be implemented in terms of the private fields of the host object, or via "setter" and
38 * optional public <code>setName()</code> method which takes a value of the same type
41 * optional public <code>setName()</code> method which takes a value of the same type
46 * <p>If either of the get/is method alternatives is found on the class, but an appropriate
54 public static <T, V> Property<T, V> of(Class<T> hostType, Class<V> valueType, String name) { method in class:Property
70 * allows querying the underlying value but not setting it. For example, the {@link #of(Class,
/frameworks/base/core/java/android/app/admin/
H A DSystemUpdateInfo.java6 * You may obtain a copy of the License at
79 public static SystemUpdateInfo of(long receivedTime) { method in class:SystemUpdateInfo
86 public static SystemUpdateInfo of(long receivedTime, boolean isSecurityPatch) { method in class:SystemUpdateInfo
/frameworks/av/media/libmedia/
H A Dmediarecorder.cpp7 ** You may obtain a copy of the License at
180 status_t MediaRecorder::setOutputFormat(int of) argument
182 ALOGV("setOutputFormat(%d)", of);
192 && of >= OUTPUT_FORMAT_AUDIO_ONLY_START //first non-video output format
193 && of < OUTPUT_FORMAT_AUDIO_ONLY_END) {
195 " and incompatible with video recording", of);
199 status_t ret = mMediaRecorder->setOutputFormat(of);
287 // binder calls, the server-side of the inter-process function call
321 // binder calls, the server-side of the inter-process function call
449 // of th
[all...]
H A DIMediaRecorder.cpp7 ** You may obtain a copy of the License at
148 status_t setOutputFormat(int of) argument
150 ALOGV("setOutputFormat(%d)", of);
153 data.writeInt32(of);
436 int of = data.readInt32(); local
437 reply->writeInt32(setOutputFormat(of));
/frameworks/base/core/java/android/os/
H A DUserHandle.java6 * You may obtain a copy of the License at
27 * Representation of a user on the device.
31 * @hide Range of uids allocated for a user.
44 /** @hide A user handle to indicate the current user of the device */
49 * to the caller's user instead of failing with a security exception */
54 * to the caller's user instead of failing with a security exception */
61 * @hide A user id constant to indicate the "owner" user of the device
69 * @hide A user handle to indicate the primary/owner user of the device
76 /** @hide A user id constant to indicate the "system" user of the device */
79 /** @hide A user serial constant to indicate the "system" user of th
167 public static UserHandle of(@UserIdInt int userId) { method in class:UserHandle
[all...]
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
H A DAnimatedVectorDrawable_Delegate.java6 * You may obtain a copy of the License at
41 * Delegate used to provide new implementation of a select few methods of {@link
44 * Through the layoutlib_create tool, the original methods of AnimatedVectorDrawable have been
45 * replaced by calls to methods of the same name in this delegate class.
95 return sHolders.addNewDelegate(FloatPropertySetter.of(setter, startValue,
113 return sHolders.addNewDelegate(IntPropertySetter.of(setter, startValue,
123 return sHolders.addNewDelegate(FloatPropertySetter.of(setter, startValue,
132 return sHolders.addNewDelegate(FloatPropertySetter.of(renderer::setRootAlpha,
222 * Class that allows setting a value and holds the range of value
269 private static PropertySetter of(Consumer<Integer> valueSetter, int... values) { method in class:AnimatedVectorDrawable_Delegate.IntPropertySetter
286 private static PropertySetter of(Consumer<Float> valueSetter, float... values) { method in class:AnimatedVectorDrawable_Delegate.FloatPropertySetter
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DMediaRecorderClient.cpp6 ** You may obtain a copy of the License at
131 status_t MediaRecorderClient::setOutputFormat(int of) argument
133 ALOGV("setOutputFormat(%d)", of);
139 return mRecorder->setOutputFormat((output_format)of);
H A DStagefrightRecorder.cpp6 * You may obtain a copy of the License at
207 // The client side of mediaserver asks it to creat a SurfaceMediaSource
249 status_t StagefrightRecorder::setOutputFormat(output_format of) { argument
250 ALOGV("setOutputFormat: %d", of);
251 if (of < OUTPUT_FORMAT_DEFAULT ||
252 of >= OUTPUT_FORMAT_LIST_END) {
253 ALOGE("Invalid output format: %d", of);
257 if (of == OUTPUT_FORMAT_DEFAULT) {
260 mOutputFormat = of;
494 ALOGE("Invalid number of audi
[all...]
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecMessageBuilder.java6 * You may obtain a copy of the License at
33 * @param src source address of command
34 * @param dest destination address of command
35 * @param body body of message. It includes opcode.
38 static HdmiCecMessage of(int src, int dest, byte[] body) { method in class:HdmiCecMessageBuilder
45 * Build &lt;Feature Abort&gt; command. &lt;Feature Abort&gt; consists of
48 * @param src source address of command
49 * @param dest destination address of command
51 * @param reason reason of feature abort
66 * @param src source address of comman
[all...]
H A DHdmiCecLocalDevice.java6 * You may obtain a copy of the License at
49 // Normal actions timeout is 2s but some of them would have several sequence of timeout.
74 public static ActiveSource of(ActiveSource source) { method in class:HdmiCecLocalDevice.ActiveSource
77 public static ActiveSource of(int logical, int physical) { method in class:HdmiCecLocalDevice.ActiveSource
115 // Logical address of the active source.
119 // Active routing path. Physical address of the active source but not all the time, such as
128 // A collection of FeatureAction.
163 // Factory method that returns HdmiCecLocalDevice of corresponding type.
183 * Called once a logical address of th
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaRecorder.cpp6 * You may obtain a copy of the License at
220 android_media_MediaRecorder_setOutputFormat(JNIEnv *env, jobject thiz, jint of) argument
222 ALOGV("setOutputFormat(%d)", of);
223 if (of < OUTPUT_FORMAT_DEFAULT || of >= OUTPUT_FORMAT_LIST_END) {
232 process_media_recorder_call(env, mr->setOutputFormat(of), "java/lang/RuntimeException", "setOutputFormat failed.");
537 // first time an instance of this class is used.
581 jniThrowException(env, "java/lang/RuntimeException", "Out of memory");
/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutUser.java6 * You may obtain a copy of the License at
77 public static PackageWithUser of(int userId, String packageName) { method in class:ShortcutUser.PackageWithUser
81 public static PackageWithUser of(ShortcutPackageItem spi) { method in class:ShortcutUser.PackageWithUser
189 mLaunchers.put(PackageWithUser.of(launcher.getPackageUserId(),
196 return mLaunchers.remove(PackageWithUser.of(packageUserId, packageName));
221 final PackageWithUser key = PackageWithUser.of(launcherUserId, packageName);
273 * that's a less of an issue because for the launcher we report shortcut changes with
480 // Note, a restore happens only at the end of setup wizard. At this point, no apps are
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternView.java6 * You may obtain a copy of the License at
61 * Displays and detects the user's unlock attempt, which is a drag of a finger
62 * across 9 regions of the screen.
64 * Is also capable of displaying a static pattern in "in progress", "wrong" or
69 private static final int ASPECT_SQUARE = 0; // View will be the minimum of width/height
70 private static final int ASPECT_LOCK_WIDTH = 1; // Fixed width; height will be minimum of (w,h)
71 private static final int ASPECT_LOCK_HEIGHT = 2; // Fixed height; width will be minimum of (w,h)
86 * How many milliseconds we spend animating each circle of a lock pattern
88 * constant * the length of the pattern to complete.
105 * Lookup table for the circles of th
189 public static Cell of(int row, int column) { method in class:LockPatternView.Cell
[all...]
/frameworks/base/core/java/android/widget/
H A DGridLayout.java6 * You may obtain a copy of the License at
64 * The grid is composed of a set of infinitely thin lines that separate the
68 * through {@code N} inclusive. Regardless of how GridLayout is
69 * configured, grid index {@code 0} is fixed to the leading edge of the
78 * Each spec defines the set of rows or columns that are to be
79 * occupied; and how children should be aligned within the resulting group of cells.
81 * not prevent children being defined to occupy the same cell or group of cells.
87 * If a child does not specify the row and column indices of the cell it
95 * Space between children may be specified either by using instances of th
2273 public static <K, V> Assoc<K, V> of(Class<K> keyType, Class<V> valueType) { method in class:GridLayout.Assoc
[all...]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java6 * You may obtain a copy of the License at
60 * The grid is composed of a set of infinitely thin lines that separate the
64 * through {@code N} inclusive. Regardless of how GridLayout is
65 * configured, grid index {@code 0} is fixed to the leading edge of the
74 * Each spec defines the set of rows or columns that are to be
75 * occupied; and how children should be aligned within the resulting group of cells.
77 * not prevent children being defined to occupy the same cell or group of cells.
83 * If a child does not specify the row and column indices of the cell it
91 * Space between children may be specified either by using instances of th
2163 public static <K, V> Assoc<K, V> of(Class<K> keyType, Class<V> valueType) { method in class:GridLayout.Assoc
[all...]
/frameworks/base/services/core/java/com/android/server/policy/
H A DPhoneWindowManager.java6 * You may obtain a copy of the License at
259 * introduces a new method suffix, Lp, for an internal lock of the
262 * of both of those when held.
303 // Number of presses needed before we induce panic press behavior on the back button
342 * of the screen to change.
372 /* Table of Application Launch keys. Maps from key codes to intent categories.
374 * These are special keys that are used to launch particular kinds of applications,
375 * such as a web browser. HID defines nearly a hundred of them in the Consumer (0x0C)
395 /** Amount of tim
4524 layoutStatusBar(Rect pf, Rect df, Rect of, Rect vf, Rect dcf, int sysui, boolean isKeyguardShowing) argument
4732 setAttachedWindowFrames(WindowState win, int fl, int adjust, WindowState attached, boolean insetDecors, Rect pf, Rect df, Rect of, Rect cf, Rect vf) argument
5346 layoutWallpaper(WindowState win, Rect pf, Rect df, Rect of, Rect cf) argument
[all...]
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 589 milliseconds