/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/core/java/android/util/ |
H A D | Property.java | 6 * 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 D | mediarecorder.cpp | 7 ** You may obtain a copy of the License at 178 status_t MediaRecorder::setOutputFormat(int of) argument 180 ALOGV("setOutputFormat(%d)", of); 190 && of >= OUTPUT_FORMAT_AUDIO_ONLY_START //first non-video output format 191 && of < OUTPUT_FORMAT_AUDIO_ONLY_END) { 193 " and incompatible with video recording", of); 197 status_t ret = mMediaRecorder->setOutputFormat(of); 310 // binder calls, the server-side of the inter-process function call 418 // of the only currently supported parameters, "max-duration" and
|
H A D | IMediaRecorder.cpp | 7 ** You may obtain a copy of the License at 131 status_t setOutputFormat(int of) argument 133 ALOGV("setOutputFormat(%d)", of); 136 data.writeInt32(of); 374 int of = data.readInt32(); local 375 reply->writeInt32(setOutputFormat(of));
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaRecorderClient.cpp | 6 ** You may obtain a copy of the License at 124 status_t MediaRecorderClient::setOutputFormat(int of) argument 126 ALOGV("setOutputFormat(%d)", of); 132 return mRecorder->setOutputFormat((output_format)of);
|
H A D | StagefrightRecorder.cpp | 6 * You may obtain a copy of the License at 103 // The client side of mediaserver asks it to creat a SurfaceMediaSource 145 status_t StagefrightRecorder::setOutputFormat(output_format of) { argument 146 ALOGV("setOutputFormat: %d", of); 147 if (of < OUTPUT_FORMAT_DEFAULT || 148 of >= OUTPUT_FORMAT_LIST_END) { 149 ALOGE("Invalid output format: %d", of); 153 if (of == OUTPUT_FORMAT_DEFAULT) { 156 mOutputFormat = of; 341 ALOGE("Invalid number of audi [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaRecorder.cpp | 6 * You may obtain a copy of the License at 196 android_media_MediaRecorder_setOutputFormat(JNIEnv *env, jobject thiz, jint of) argument 198 ALOGV("setOutputFormat(%d)", of); 199 if (of < OUTPUT_FORMAT_DEFAULT || of >= OUTPUT_FORMAT_LIST_END) { 204 process_media_recorder_call(env, mr->setOutputFormat(of), "java/lang/RuntimeException", "setOutputFormat failed."); 411 // first time an instance of this class is used. 453 jniThrowException(env, "java/lang/RuntimeException", "Out of memory");
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiCecMessageBuilder.java | 6 * 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 <Feature Abort> command. <Feature Abort> 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 D | HdmiCecLocalDevice.java | 6 * 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(int logical, int physical) { method in class:HdmiCecLocalDevice.ActiveSource 112 // Logical address of the active source. 116 // Active routing path. Physical address of the active source but not all the time, such as 125 // A collection of FeatureAction. 160 // Factory method that returns HdmiCecLocalDevice of corresponding type. 179 * Called once a logical address of the local device is allocated. 197 * ready yet. For other types of loca [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternView.java | 6 * You may obtain a copy of the License at 47 * Displays and detects the user's unlock attempt, which is a drag of a finger 48 * across 9 regions of the screen. 50 * Is also capable of displaying a static pattern in "in progress", "wrong" or 55 private static final int ASPECT_SQUARE = 0; // View will be the minimum of width/height 56 private static final int ASPECT_LOCK_WIDTH = 1; // Fixed width; height will be minimum of (w,h) 57 private static final int ASPECT_LOCK_HEIGHT = 2; // Fixed height; width will be minimum of (w,h) 72 * How many milliseconds we spend animating each circle of a lock pattern 74 * constant * the length of the pattern to complete. 88 * Lookup table for the circles of th 167 public static synchronized Cell of(int row, int column) { method in class:LockPatternView.Cell [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WindowState.java | 6 * You may obtain a copy of the License at 84 // UserId and appId of the owner. Don't display windows of non-current user. 210 * This is rectangle of the window's surface that is not covered by 234 // The entire screen area of the device. 237 // The region of the display frame that the display type supports displaying content on. This 243 // The display frame minus the stable insets. This value is always constant regardless of if 266 // If a window showing a wallpaper: what fraction of the offset 320 * Temp for keeping track of windows that have been removed when 329 // Used to improve performance of toStrin 508 computeFrameLw(Rect pf, Rect df, Rect of, Rect cf, Rect vf, Rect dcf, Rect sf) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | GridLayout.java | 6 * You may obtain a copy of the License at 57 * The grid is composed of a set of infinitely thin lines that separate the 61 * through {@code N} inclusive. Regardless of how GridLayout is 62 * configured, grid index {@code 0} is fixed to the leading edge of the 71 * Each spec defines the set of rows or columns that are to be 72 * occupied; and how children should be aligned within the resulting group of cells. 74 * not prevent children being defined to occupy the same cell or group of cells. 80 * If a child does not specify the row and column indices of the cell it 88 * Space between children may be specified either by using instances of th 2285 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 D | GridLayout.java | 6 * 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 2160 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 D | PhoneWindowManager.java | 5 * You may obtain a copy of the License at 130 * introduces a new method suffix, Lp, for an internal lock of the 133 * of both of those when held. 188 * of the screen to change. 209 /* Table of Application Launch keys. Maps from key codes to intent categories. 211 * These are special keys that are used to launch particular kinds of applications, 212 * such as a web browser. HID defines nearly a hundred of them in the Consumer (0x0C) 232 /** Amount of time (in milliseconds) to wait for windows drawn before powering on. */ 251 Vibrator mVibrator; // Vibrator for giving feedback of orientatio 3432 setAttachedWindowFrames(WindowState win, int fl, int adjust, WindowState attached, boolean insetDecors, Rect pf, Rect df, Rect of, Rect cf, Rect vf) argument [all...] |