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

/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/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);
286 // binder calls, the server-side of the inter-process function call
412 // of the only currently supported parameters, "max-duration" and
H A DIMediaRecorder.cpp7 ** You may obtain a copy of the License at
144 status_t setOutputFormat(int of) argument
146 ALOGV("setOutputFormat(%d)", of);
149 data.writeInt32(of);
408 int of = data.readInt32(); local
409 reply->writeInt32(setOutputFormat(of));
/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
102 // The client side of mediaserver asks it to creat a SurfaceMediaSource
144 status_t StagefrightRecorder::setOutputFormat(output_format of) { argument
145 ALOGV("setOutputFormat: %d", of);
146 if (of < OUTPUT_FORMAT_DEFAULT ||
147 of >= OUTPUT_FORMAT_LIST_END) {
148 ALOGE("Invalid output format: %d", of);
152 if (of == OUTPUT_FORMAT_DEFAULT) {
155 mOutputFormat = of;
367 ALOGE("Invalid number of audi
[all...]
/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
68 * @hide A user handle to indicate the primary/owner user of the device
74 /** @hide A user id constant to indicate the "system" user of the device */
77 /** @hide A user serial constant to indicate the "system" user of th
160 public static UserHandle of(@UserIdInt int userId) { method in class:UserHandle
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutUser.java6 * You may obtain a copy of the License at
61 public static PackageWithUser of(int userId, String packageName) { method in class:ShortcutUser.PackageWithUser
65 public static PackageWithUser of(ShortcutPackageItem spi) { method in class:ShortcutUser.PackageWithUser
135 mLaunchers.put(PackageWithUser.of(launcher.getPackageUserId(),
141 return mLaunchers.remove(PackageWithUser.of(packageUserId, packageName));
157 final PackageWithUser key = PackageWithUser.of(launcherUserId, packageName);
/frameworks/base/tools/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.
89 return sHolders.addNewDelegate(FloatPropertySetter.of(setter, startValue,
107 return sHolders.addNewDelegate(IntPropertySetter.of(setter, startValue,
117 return sHolders.addNewDelegate(FloatPropertySetter.of(setter, startValue,
126 return sHolders.addNewDelegate(FloatPropertySetter.of(renderer::setRootAlpha,
208 * Class that allows setting a value and holds the range of value
255 private static PropertySetter of(Consumer<Integer> valueSetter, int... values) { method in class:AnimatedVectorDrawable_Delegate.IntPropertySetter
272 private static PropertySetter of(Consumer<Float> valueSetter, float... values) { method in class:AnimatedVectorDrawable_Delegate.FloatPropertySetter
[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
206 android_media_MediaRecorder_setOutputFormat(JNIEnv *env, jobject thiz, jint of) argument
208 ALOGV("setOutputFormat(%d)", of);
209 if (of < OUTPUT_FORMAT_DEFAULT || of >= OUTPUT_FORMAT_LIST_END) {
214 process_media_recorder_call(env, mr->setOutputFormat(of), "java/lang/RuntimeException", "setOutputFormat failed.");
437 // first time an instance of this class is used.
481 jniThrowException(env, "java/lang/RuntimeException", "Out of memory");
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternView.java6 * You may obtain a copy of the License at
60 * Displays and detects the user's unlock attempt, which is a drag of a finger
61 * across 9 regions of the screen.
63 * Is also capable of displaying a static pattern in "in progress", "wrong" or
68 private static final int ASPECT_SQUARE = 0; // View will be the minimum of width/height
69 private static final int ASPECT_LOCK_WIDTH = 1; // Fixed width; height will be minimum of (w,h)
70 private static final int ASPECT_LOCK_HEIGHT = 2; // Fixed height; width will be minimum of (w,h)
85 * How many milliseconds we spend animating each circle of a lock pattern
87 * constant * the length of the pattern to complete.
104 * Lookup table for the circles of th
184 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
55 * The grid is composed of a set of infinitely thin lines that separate the
59 * through {@code N} inclusive. Regardless of how GridLayout is
60 * configured, grid index {@code 0} is fixed to the leading edge of the
69 * Each spec defines the set of rows or columns that are to be
70 * occupied; and how children should be aligned within the resulting group of cells.
72 * not prevent children being defined to occupy the same cell or group of cells.
78 * If a child does not specify the row and column indices of the cell it
86 * Space between children may be specified either by using instances of th
2263 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
54 * The grid is composed of a set of infinitely thin lines that separate the
58 * through {@code N} inclusive. Regardless of how GridLayout is
59 * configured, grid index {@code 0} is fixed to the leading edge of the
68 * Each spec defines the set of rows or columns that are to be
69 * occupied; and how children should be aligned within the resulting group of cells.
71 * not prevent children being defined to occupy the same cell or group of cells.
77 * If a child does not specify the row and column indices of the cell it
85 * Space between children may be specified either by using instances of th
2157 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/wm/
H A DWindowState.java6 * You may obtain a copy of the License at
123 // The minimal size of a window within the usable area of the freeform stack.
129 // The thickness of a window resize handle outside the window bounds on the free form workspace
141 // UserId and appId of the owner. Don't display windows of non-current user.
195 // to the global configuration. This is the only form of configuration
203 * Actual position of the surface shown on-screen (may be modified by animation). These are
242 * Outsets determine the area outside of the surface where we want to pretend that it's possible
298 // The entire screen area of th
676 computeFrameLw(Rect pf, Rect df, Rect of, Rect cf, Rect vf, Rect dcf, Rect sf, Rect osf) argument
[all...]
/frameworks/base/services/core/java/com/android/server/policy/
H A DPhoneWindowManager.java6 * You may obtain a copy of the License at
164 * introduces a new method suffix, Lp, for an internal lock of the
167 * of both of those when held.
240 * of the screen to change.
272 /* Table of Application Launch keys. Maps from key codes to intent categories.
274 * These are special keys that are used to launch particular kinds of applications,
275 * such as a web browser. HID defines nearly a hundred of them in the Consumer (0x0C)
295 /** Amount of time (in milliseconds) to wait for windows drawn before powering on. */
318 Vibrator mVibrator; // Vibrator for giving feedback of orientatio
4037 layoutStatusBar(Rect pf, Rect df, Rect of, Rect vf, Rect dcf, int sysui, boolean isKeyguardShowing) argument
4210 setAttachedWindowFrames(WindowState win, int fl, int adjust, WindowState attached, boolean insetDecors, Rect pf, Rect df, Rect of, Rect cf, Rect vf) 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 4506 milliseconds