/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 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 D | IMediaRecorder.cpp | 7 ** You may obtain a copy of the License at 128 status_t setOutputFormat(int of) argument 130 ALOGV("setOutputFormat(%d)", of); 133 data.writeInt32(of); 361 int of = data.readInt32(); local 362 reply->writeInt32(setOutputFormat(of));
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaRecorderClient.cpp | 6 ** 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 D | StagefrightRecorder.cpp | 6 * You may obtain a copy of the License at 89 // The client side of mediaserver asks it to creat a SurfaceMediaSource 131 status_t StagefrightRecorder::setOutputFormat(output_format of) { argument 132 ALOGV("setOutputFormat: %d", of); 133 if (of < OUTPUT_FORMAT_DEFAULT || 134 of >= OUTPUT_FORMAT_LIST_END) { 135 ALOGE("Invalid output format: %d", of); 139 if (of == OUTPUT_FORMAT_DEFAULT) { 142 mOutputFormat = of; 331 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 191 android_media_MediaRecorder_setOutputFormat(JNIEnv *env, jobject thiz, jint of) argument 193 ALOGV("setOutputFormat(%d)", of); 194 if (of < OUTPUT_FORMAT_DEFAULT || of >= OUTPUT_FORMAT_LIST_END) { 199 process_media_recorder_call(env, mr->setOutputFormat(of), "java/lang/RuntimeException", "setOutputFormat failed."); 386 // first time an instance of this class is used. 431 jniThrowException(env, "java/lang/RuntimeException", "Out of memory");
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternView.java | 6 * 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 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) 69 * How many milliseconds we spend animating each circle of a lock pattern 71 * constant * the length of the pattern to complete. 79 * Lookup table for the circles of th 168 public static synchronized Cell of(int row, int column) { method in class:LockPatternView.Cell [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | GridLayout.java | 6 * 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 2086 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 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...] |