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

/frameworks/base/media/libmedia/
H A Dmediarecorder.cpp7 ** You may obtain a copy of the License at
173 status_t MediaRecorder::setOutputFormat(int of) argument
175 LOGV("setOutputFormat(%d)", of);
184 if (mIsVideoSourceSet && of >= OUTPUT_FORMAT_AUDIO_ONLY_START && of != OUTPUT_FORMAT_RTP_AVP && of != OUTPUT_FORMAT_MPEG2TS) { //first non-video output format
185 LOGE("output format (%d) is meant for audio recording only and incompatible with video recording", of);
189 status_t ret = mMediaRecorder->setOutputFormat(of);
381 // of the only currently supported parameters, "max-duration" and
H A DIMediaRecorder.cpp7 ** You may obtain a copy of the License at
111 status_t setOutputFormat(int of) argument
113 LOGV("setOutputFormat(%d)", of);
116 data.writeInt32(of);
344 int of = data.readInt32(); local
345 reply->writeInt32(setOutputFormat(of));
/frameworks/base/media/libmediaplayerservice/
H A DMediaRecorderClient.cpp6 ** You may obtain a copy of the License at
112 status_t MediaRecorderClient::setOutputFormat(int of) argument
114 LOGV("setOutputFormat(%d)", of);
120 return mRecorder->setOutputFormat((output_format)of);
H A DStagefrightRecorder.cpp6 * You may obtain a copy of the License at
100 status_t StagefrightRecorder::setOutputFormat(output_format of) { argument
101 LOGV("setOutputFormat: %d", of);
102 if (of < OUTPUT_FORMAT_DEFAULT ||
103 of >= OUTPUT_FORMAT_LIST_END) {
104 LOGE("Invalid output format: %d", of);
108 if (of == OUTPUT_FORMAT_DEFAULT) {
111 mOutputFormat = of;
304 LOGE("Invalid number of audio channels: %d", channels);
308 // Additional check on the number of channel
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaRecorder.cpp6 * You may obtain a copy of the License at
190 android_media_MediaRecorder_setOutputFormat(JNIEnv *env, jobject thiz, jint of) argument
192 LOGV("setOutputFormat(%d)", of);
193 if (of < OUTPUT_FORMAT_DEFAULT || of >= OUTPUT_FORMAT_LIST_END) {
198 process_media_recorder_call(env, mr->setOutputFormat(of), "java/lang/RuntimeException", "setOutputFormat failed.");
385 // first time an instance of this class is used.
436 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
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.
82 * Lookup table for the circles of th
172 public static synchronized Cell of(int row, int column) { method in class:LockPatternView.Cell
[all...]

Completed in 856 milliseconds