/frameworks/wilhelm/src/desktop/ |
H A D | SDL.cpp | 49 fmt.format = AUDIO_S16;
|
H A D | SndFile.cpp | 99 /** \brief Check whether the supplied libsndfile format is supported by us */ 103 switch (sfinfo->format & SF_FORMAT_TYPEMASK) { 109 switch (sfinfo->format & SF_FORMAT_SUBMASK) { 159 case SL_DATAFORMAT_NULL: // OK to omit the data format 166 // an invalid data format is detected earlier during the deep copy 243 thiz->mSndFile.mSfInfo.format = 0;
|
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestFeedback.cpp | 381 info.format = SF_FORMAT_WAV | SF_FORMAT_PCM_16;
|
H A D | slesTestRecBuffQueue.cpp | 140 fprintf(stderr, "Unsupported transfer format %d\n", transferFormat); 173 info.format = SF_FORMAT_WAV | SF_FORMAT_PCM_U8; 176 info.format = SF_FORMAT_WAV | SF_FORMAT_PCM_16; 179 info.format = SF_FORMAT_WAV | SF_FORMAT_PCM_32; 182 info.format = SF_FORMAT_WAV | SF_FORMAT_FLOAT; 185 fprintf(stderr, "Unsupported transfer format %d\n", transferFormat); 265 /* set up the format of the data in the buffer queue */ 292 fprintf(stderr, "Unsupported transfer format %d\n", transferFormat); 574 printf(" -[1/2/4/f] sample format: 8-bit unsigned, 16-bit signed, 32-bit signed, float, "
|
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/ |
H A D | NativeMedia.java | 86 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { 87 Log.v(TAG, "surfaceChanged format=" + format + ", width=" + width + ", height=" + 108 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { 109 Log.v(TAG, "surfaceChanged format=" + format + ", width=" + width + ", height=" +
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | configbq.c | 95 PCM *format; local 98 for (format = formats; format->numChannels; ++format) { 100 printf("Channels: %d, sample rate: %u, bits: %u\n", format->numChannels, 101 format->milliHz / 1000, format->bitsPerSample); 109 format_pcm.numChannels = format->numChannels; 110 format_pcm.samplesPerSec = format->milliHz; 111 format_pcm.bitsPerSample = format [all...] |
H A D | playbq.cpp | 263 sfinfo.format = 0; 270 // verify the file format 285 switch (sfinfo.format & SF_FORMAT_TYPEMASK) { 289 fprintf(stderr, "unsupported format type 0x%x\n", sfinfo.format & SF_FORMAT_TYPEMASK); 293 switch (sfinfo.format & SF_FORMAT_SUBMASK) { 320 fprintf(stderr, "unsupported sub-format 0x%x\n", sfinfo.format & SF_FORMAT_SUBMASK); 347 fprintf(stderr, "unsupported transfer format %#x\n", transferFormat);
|
/frameworks/wilhelm/tools/permute/ |
H A D | permute.c | 22 * The format of the .map file is a sequence of lines, each of which is: 127 sfinfo_in.format = 0; 134 // Check if it is a supported file format: must be WAV 135 unsigned type = sfinfo_in.format & SF_FORMAT_TYPEMASK; 146 unsigned subtype = sfinfo_in.format & SF_FORMAT_SUBMASK; 164 unsigned endianness = sfinfo_in.format & SF_FORMAT_ENDMASK; 261 sfinfo_out.format = sfinfo_in.format;
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | BrowseFragment.java | 567 String.format("Invalid position %d requested", position));
|
H A D | BrowseSupportFragment.java | 564 String.format("Invalid position %d requested", position));
|
H A D | SearchFragment.java | 304 if (DEBUG) Log.v(TAG, String.format("onSearchQueryChange %s %s", query, 315 if (DEBUG) Log.v(TAG, String.format("onSearchQuerySubmit %s", query)); 321 if (DEBUG) Log.v(TAG, String.format("onKeyboardDismiss %s", query)); 352 Log.v(TAG, String.format("onItemSelected %d", position));
|
H A D | SearchSupportFragment.java | 301 if (DEBUG) Log.v(TAG, String.format("onSearchQueryChange %s %s", query, 312 if (DEBUG) Log.v(TAG, String.format("onSearchQuerySubmit %s", query)); 318 if (DEBUG) Log.v(TAG, String.format("onKeyboardDismiss %s", query)); 349 Log.v(TAG, String.format("onItemSelected %d", position));
|
H A D | VideoFragment.java | 58 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { 60 mMediaPlaybackCallback.surfaceChanged(holder, format, width, height);
|
H A D | VideoSupportFragment.java | 55 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { 57 mMediaPlaybackCallback.surfaceChanged(holder, format, width, height);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | GuidedDatePickerAction.java | 50 * Sets format of date Picker or null for default. The format is a case insensitive String 51 * containing the day ('d'), month ('m'), and year ('y'). When the format is not specified, 52 * a default format of current locale will be used. 53 * @param format Format of showing Date, e.g. "YMD". 56 public B datePickerFormat(String format) { argument 57 mDatePickerFormat = format; 133 * Returns format of date Picker or null if not specified. The format is a case insensitive 134 * String containing the * day ('d'), month ('m'), and year ('y'). When the format i [all...] |
H A D | Parallax.java | 496 throw new IllegalStateException(String.format("Parallax Property[%d]\"%s\" is" 501 throw new IllegalStateException(String.format("Parallax Property[%d]\"%s\" is" 518 throw new IllegalStateException(String.format("Parallax Property[%d]\"%s\" is" 524 throw new IllegalStateException(String.format("Parallax Property[%d]\"%s\" is"
|
H A D | SearchBar.java | 566 if (DEBUG) Log.v(TAG, String.format("stopRecognition (listening: %s, recognizing: %s)", 600 if (DEBUG) Log.v(TAG, String.format("startRecognition (listening: %s, recognizing: %s)",
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/ |
H A D | DatePicker.java | 107 android.text.format.DateFormat.getDateFormatOrder(context)); 117 Log.w(LOG_TAG, "Date: " + date + " not in format: " + DATE_FORMAT); 123 * Returns the best localized representation of the date for the given date format and the 126 * @param datePickerFormat The date format skeleton (e.g. "dMy") used to gather the 129 * @return The best localized representation of the date for the given date format 134 yearPattern = android.text.format.DateFormat.getBestDateTimePattern(mConstant.locale, 137 final java.text.DateFormat dateFormat = android.text.format.DateFormat.getDateFormat( 150 * the last date field). The separators can vary based on the individual locale date format, 155 * For example, for Croatian in dMy format, the best localized representation is "d. M. y". This 164 // Obtain the time format strin [all...] |
H A D | PickerColumn.java | 36 * Set string format (see {@link String#format}) to display label for an 37 * integer value. {@link #setStaticLabels(CharSequence[])} overrides the format. 39 * @param labelFormat String format to display label for value between minValue and maxValue. 46 * Return string format (see {@link String#format}) to display label for 48 * @return String format to display label for value. 80 return String.format(mLabelFormat, value);
|
H A D | PickerUtility.java | 76 public static String[] createStringIntArrays(int firstNumber, int lastNumber, String format) { argument 79 if (format != null) { 80 array[i - firstNumber] = String.format(format, i);
|
H A D | TimePicker.java | 24 import android.text.format.DateFormat; 46 * {@link #setMinute(int)} using 24-hour time format. The time format can also be changed at any 115 // used to extract the time format string. 154 // format. 174 * 24 hour time format, defined in the Unicode CLDR and cannot be supposed to be ":". 178 * For example, for english in 12 hour format 187 // Obtain the time format string per the current locale (e.g. h:mm a) 239 * @return the time picker format string based on the current system locale and the layout 243 // Obtain the time format strin [all...] |
/frameworks/support/v17/leanback/tests/ |
H A D | generatev4.py | 32 print "copy {}Fragment to {}SupportFragment".format(w, w) 34 file = open('java/android/support/v17/leanback/app/{}Fragment.java'.format(w), 'r') 35 outfile = open('java/android/support/v17/leanback/app/{}SupportFragment.java'.format(w), 'w') 38 outfile.write("/* This file is auto-generated from {}Fragment.java. DO NOT MODIFY. */\n\n".format(w)) 42 line = line.replace('{}Fragment'.format(w), '{}SupportFragment'.format(w)) 55 print "copy {}FrgamentTestBase to {}SupportFragmentTestBase".format(w, w) 57 file = open('java/android/support/v17/leanback/app/{}FragmentTestBase.java'.format(w), 'r') 58 outfile = open('java/android/support/v17/leanback/app/{}SupportFragmentTestBase.java'.format(w), 'w') 61 outfile.write("/* This file is auto-generated from {}FrgamentTestBase.java. DO NOT MODIFY. */\n\n".format( [all...] |
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/ |
H A D | VideoFragmentTest.java | 62 public void surfaceChanged(SurfaceHolder holder, int format, int width, 119 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
|
H A D | VideoSupportFragmentTest.java | 65 public void surfaceChanged(SurfaceHolder holder, int format, int width, 122 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/wizard/ |
H A D | GuidedDatePickerTest.java | 775 dateFormat.format(minCal.getTime()), 776 dateFormat.format(maxCal.getTime()))) 788 dateFormat.format(minCal.getTimeInMillis()), 789 dateFormat.format(maxCal.getTimeInMillis()))) 808 dateFormat.format(minCal.getTimeInMillis()), 809 dateFormat.format(maxCal.getTimeInMillis()))) 829 dateFormat.format(minCal.getTimeInMillis()), 830 dateFormat.format(maxCal.getTimeInMillis()))) 846 dateFormat.format(minCal.getTimeInMillis()), 847 dateFormat.format(maxCa [all...] |