Searched defs:of (Results 1 - 12 of 12) 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
175 status_t MediaRecorder::setOutputFormat(int of) argument
177 ALOGV("setOutputFormat(%d)", of);
186 if (mIsVideoSourceSet && of >= OUTPUT_FORMAT_AUDIO_ONLY_START && of != OUTPUT_FORMAT_RTP_AVP && of != OUTPUT_FORMAT_MPEG2TS) { //first non-video output format
187 ALOGE("output format (%d) is meant for audio recording only and incompatible with video recording", of);
191 status_t ret = mMediaRecorder->setOutputFormat(of);
304 // binder calls, the server-side of the inter-process function call
412 // of th
[all...]
H A DIMediaRecorder.cpp7 ** You may obtain a copy of the License at
129 status_t setOutputFormat(int of) argument
131 ALOGV("setOutputFormat(%d)", of);
134 data.writeInt32(of);
372 int of = data.readInt32(); local
373 reply->writeInt32(setOutputFormat(of));
/frameworks/av/media/libmediaplayerservice/
H A DMediaRecorderClient.cpp6 ** You may obtain a copy of the License at
123 status_t MediaRecorderClient::setOutputFormat(int of) argument
125 ALOGV("setOutputFormat(%d)", of);
131 return mRecorder->setOutputFormat((output_format)of);
H A DStagefrightRecorder.cpp6 * You may obtain a copy of the License at
90 // The client side of mediaserver asks it to creat a SurfaceMediaSource
132 status_t StagefrightRecorder::setOutputFormat(output_format of) { argument
133 ALOGV("setOutputFormat: %d", of);
134 if (of < OUTPUT_FORMAT_DEFAULT ||
135 of >= OUTPUT_FORMAT_LIST_END) {
136 ALOGE("Invalid output format: %d", of);
140 if (of == OUTPUT_FORMAT_DEFAULT) {
143 mOutputFormat = of;
332 ALOGE("Invalid number of audi
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaRecorder.cpp6 * You may obtain a copy of the License at
189 android_media_MediaRecorder_setOutputFormat(JNIEnv *env, jobject thiz, jint of) argument
191 ALOGV("setOutputFormat(%d)", of);
192 if (of < OUTPUT_FORMAT_DEFAULT || of >= OUTPUT_FORMAT_LIST_END) {
197 process_media_recorder_call(env, mr->setOutputFormat(of), "java/lang/RuntimeException", "setOutputFormat failed.");
384 // first time an instance of this class is used.
426 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
46 * Displays and detects the user's unlock attempt, which is a drag of a finger
47 * across 9 regions of the screen.
49 * Is also capable of displaying a static pattern in "in progress", "wrong" or
54 private static final int ASPECT_SQUARE = 0; // View will be the minimum of width/height
55 private static final int ASPECT_LOCK_WIDTH = 1; // Fixed width; height will be minimum of (w,h)
56 private static final int ASPECT_LOCK_HEIGHT = 2; // Fixed height; width will be minimum of (w,h)
65 * How many milliseconds we spend animating each circle of a lock pattern
67 * constant * the length of the pattern to complete.
81 * Lookup table for the circles of th
170 public static synchronized Cell of(int row, int column) { method in class:LockPatternView.Cell
[all...]
/frameworks/base/services/java/com/android/server/wm/
H A DWindowState.java6 * You may obtain a copy of the License at
79 // UserId and appId of the owner. Don't display windows of non-current user.
197 * This is rectangle of the window's surface that is not covered by
231 // If a window showing a wallpaper: what fraction of the offset
280 * Temp for keeping track of windows that have been removed when
289 // Used to improve performance of toString()
434 public void computeFrameLw(Rect pf, Rect df, Rect of, Rect cf, Rect vf) { argument
492 overscan.set(of);
525 // Make sure the content and visible frames are inside of th
[all...]
/frameworks/base/core/java/android/widget/
H A DGridLayout.java6 * You may obtain a copy of the License at
52 * The grid is composed of a set of infinitely thin lines that separate the
56 * through {@code N} inclusive. Regardless of how GridLayout is
57 * configured, grid index {@code 0} is fixed to the leading edge of the
66 * Each spec defines the set of rows or columns that are to be
67 * occupied; and how children should be aligned within the resulting group of cells.
69 * not prevent children being defined to occupy the same cell or group of cells.
75 * If a child does not specify the row and column indices of the cell it
83 * Space between children may be specified either by using instances of th
2085 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
52 * The grid is composed of a set of infinitely thin lines that separate the
56 * through {@code N} inclusive. Regardless of how GridLayout is
57 * configured, grid index {@code 0} is fixed to the leading edge of the
66 * Each spec defines the set of rows or columns that are to be
67 * occupied; and how children should be aligned within the resulting group of cells.
69 * not prevent children being defined to occupy the same cell or group of cells.
75 * If a child does not specify the row and column indices of the cell it
83 * Space between children may be specified either by using instances of th
2019 public static <K, V> Assoc<K, V> of(Class<K> keyType, Class<V> valueType) { method in class:GridLayout.Assoc
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindowManager.java5 * You may obtain a copy of the License at
115 * introduces a new method suffix, Lp, for an internal lock of the
118 * of both of those when held.
162 * of the screen to change.
167 /* Table of Application Launch keys. Maps from key codes to intent categories.
169 * These are special keys that are used to launch particular kinds of applications,
170 * such as a web browser. HID defines nearly a hundred of them in the Consumer (0x0C)
204 Vibrator mVibrator; // Vibrator for giving feedback of orientation changes
207 // Vibrator pattern for haptic feedback of
2764 setAttachedWindowFrames(WindowState win, int fl, int adjust, WindowState attached, boolean insetDecors, Rect pf, Rect df, Rect of, Rect cf, Rect vf) argument
[all...]

Completed in 403 milliseconds