/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/ |
H A D | AMRWB_E_SAMPLE.c | 44 printf ("Options +M* for seting compression bitrate mode, default is 23.85kbps\n"); 60 printf ("Options +DTX enable DTX mode, default is disable.\n"); 74 int mode, 185 ret = AudioAPI.SetParam(hCodec, VO_PID_AMRWB_MODE, &mode); 264 int mode, r; local 281 mode = VOAMRWB_MD2385; 295 case '0': mode = VOAMRWB_MD66; 297 case '1': mode = VOAMRWB_MD885; 299 case '2': mode = VOAMRWB_MD1265; 301 case '3': mode 73 encode( int mode, short allow_dtx, VOAMRWBFRAMETYPE frameType, const char* srcfile, const char* dstfile ) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
H A D | cod_main.h | 89 VOAMRWBMODE mode; member in struct:__anon429
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/ |
H A D | SoftMPEG4.cpp | 163 MP4DecodingMode mode = local 168 outputBufferWidth(), outputBufferHeight(), mode); 179 if (mode != actualMode) { 200 if (mode == MPEG4_MODE && handlePortSettingsChange()) {
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | combined_decode.cpp | 27 /* Purpose : Decode a frame of MPEG4 bitstream in combined mode. */ 34 /* 04/13/2000 : Rewrote this combined mode path completely */ 533 uint mode = video->headerInfo.Mode[mbnum]; local 574 if (mode & INTRA_MASK) /* MODE_INTRA || MODE_INTRA_Q */ 658 status = PV_GetMBvectors(video, mode);
|
H A D | datapart_decode.cpp | 28 /* Purpose : Decode a frame of MPEG4 bitstream in datapartitioning mode. */ 235 /* No skipped mode in I-packets 3/1/2001 */ 240 /* there is always acdcpred in DataPart mode 04/10/01 */ 265 /* No skipped mode in I-packets 3/1/2001 */ 424 /* there is always acdcprediction in DataPart mode 04/10/01 */ 629 uint8 mode = video->headerInfo.Mode[mbnum]; local 664 if (mode & INTRA_MASK) /* MODE_INTRA || mode == MODE_INTRA_Q */
|
H A D | dcac_prediction.cpp | 226 uint8 *mode = video->headerInfo.Mode; local 269 && (mode[mbnum-nMBPerRow] == MODE_INTRA || mode[mbnum-nMBPerRow] == MODE_INTRA_Q);; 277 && (mode[mbnum-1] == MODE_INTRA || mode[mbnum-1] == MODE_INTRA_Q); 285 && (mode[mbnum-nMBPerRow] == MODE_INTRA || mode[mbnum-nMBPerRow] == MODE_INTRA_Q); 287 && (mode[mbnum-1] == MODE_INTRA || mode[mbnum-1] == MODE_INTRA_Q);
|
H A D | mb_motion_comp.cpp | 57 the motion compensation mode in order to determine which luminance or 143 uint8 mode; local 187 /* get mode for current MB */ 188 mode = video->headerInfo.Mode[mbnum]; 193 if (mode & INTER_1VMASK) 243 /*if (mode == MODE_INTER4V) 05/08/15 */ 401 if (mode&INTER_1VMASK) 421 /* Post-processing mode (MBM_INTER8) */ 600 /* Post-processing mode (copy previous MB) */
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | combined_encode.cpp | 31 /* Purpose : Encode a frame of MPEG4 bitstream in Combined mode. */ 173 if (!currVol->shortVideoHeader) /* Not in ShortVideoHeader mode */ 255 /* Purpose : Encode a slice of MPEG4 bitstream in Combined mode and save */ 267 UChar mode = MODE_INTRA; local 440 mode = Mode[mbnum]; 461 /* Not in ShortVideoHeader mode and RESYNC MARKER MODE */ 491 Mode[mbnum] = mode; 674 /* Purpose : Encode a frame of MPEG4 bitstream in Combined mode. */
|
H A D | findhalfpel.cpp | 180 And decide between 1MV or 4MV mode 185 UChar *mode, Int xpos, Int ypos, Int *xhmin, Int *yhmin, UChar *hp_mem) 269 *mode = MODE_INTER; 282 *mode = MODE_INTER4V; 184 FindHalfPelBlk(VideoEncData *video, UChar *cur, MOT *mot, Int sad16, UChar *ncand8[], UChar *mode, Int xpos, Int ypos, Int *xhmin, Int *yhmin, UChar *hp_mem) argument
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_dec_defs.h | 128 int32 mode; member in struct:__anon493
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | Serializer.h | 39 static const char mode[]; /**< gain modes supported, e.g. AUDIO_GAIN_MODE_CHANNELS. */ member in struct:android::AudioGainTraits::Attributes 40 /** controlled channels, needed if mode AUDIO_GAIN_MODE_CHANNELS. */ 46 static const char minRampMs[]; /**< needed if mode AUDIO_GAIN_MODE_RAMP. */ 47 static const char maxRampMs[]; /**< .needed if mode AUDIO_GAIN_MODE_RAMP */
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
H A D | Engine.h | 69 virtual status_t setPhoneState(audio_mode_t mode) argument 71 return mPolicyEngine->setPhoneState(mode); 160 status_t setPhoneState(audio_mode_t mode);
|
/frameworks/base/cmds/idmap/ |
H A D | scan.cpp | 52 const mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; // 0644 local 53 if (chmod(filename, mode) == -1) {
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | Tracer.java | 116 * @param mode 118 public void setOutputMode(Mode mode) { argument 120 mCurrentMode = mode; 122 switch (mode) {
|
/frameworks/base/core/java/android/content/ |
H A D | ContentProviderClient.java | 317 public @Nullable ParcelFileDescriptor openFile(@NonNull Uri url, @NonNull String mode) argument 319 return openFile(url, mode, null); 329 public @Nullable ParcelFileDescriptor openFile(@NonNull Uri url, @NonNull String mode, argument 332 Preconditions.checkNotNull(mode, "mode"); 342 return mContentProvider.openFile(mPackageName, url, mode, remoteSignal, null); 360 public @Nullable AssetFileDescriptor openAssetFile(@NonNull Uri url, @NonNull String mode) argument 362 return openAssetFile(url, mode, null); 372 public @Nullable AssetFileDescriptor openAssetFile(@NonNull Uri url, @NonNull String mode, argument 375 Preconditions.checkNotNull(mode, "mod [all...] |
H A D | ContentProviderNative.java | 234 String mode = data.readString(); 240 fd = openFile(callingPkg, url, mode, signal, callerToken); 257 String mode = data.readString(); 262 fd = openAssetFile(callingPkg, url, mode, signal); 579 String callingPkg, Uri url, String mode, ICancellationSignal signal, IBinder token) 588 data.writeString(mode); 607 String callingPkg, Uri url, String mode, ICancellationSignal signal) 616 data.writeString(mode); 578 openFile( String callingPkg, Uri url, String mode, ICancellationSignal signal, IBinder token) argument 606 openAssetFile( String callingPkg, Uri url, String mode, ICancellationSignal signal) argument
|
H A D | IContentProvider.java | 51 String callingPkg, Uri url, String mode, ICancellationSignal signal, 55 String callingPkg, Uri url, String mode, ICancellationSignal signal) 50 openFile( String callingPkg, Uri url, String mode, ICancellationSignal signal, IBinder callerToken) argument 54 openAssetFile( String callingPkg, Uri url, String mode, ICancellationSignal signal) argument
|
H A D | SearchRecentSuggestionsProvider.java | 91 // a small set of mode bitflags in the version int. 98 * This mode bit configures the database to record recent queries. <i>required</i> 104 * This mode bit configures the database to include a 2nd annotation line with each entry. 122 * as a mode flags field, and configures the database columns depending on the mode bits 166 * @param mode You can use mode flags here to determine certain functional aspects of your 173 protected void setupSuggestions(String authority, int mode) { argument 175 ((mode & DATABASE_MODE_QUERIES) == 0)) { 178 // unpack mode flag [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteSession.java | 73 * specifying the desired transaction mode. Once an explicit transaction has begun, 173 * Transaction mode: Deferred. 189 * Corresponds to the SQLite <code>BEGIN DEFERRED</code> transaction mode. 195 * Transaction mode: Immediate. 203 * Corresponds to the SQLite <code>BEGIN IMMEDIATE</code> transaction mode. 209 * Transaction mode: Exclusive. 217 * Corresponds to the SQLite <code>BEGIN EXCLUSIVE</code> transaction mode. 277 * @param transactionMode The transaction mode. One of: {@link #TRANSACTION_MODE_DEFERRED}, 935 private Transaction obtainTransaction(int mode, SQLiteTransactionListener listener) { argument 945 transaction.mMode = mode; [all...] |
/frameworks/base/core/java/android/net/ |
H A D | SntpClient.java | 105 // set mode = 3 (client) and version = 3 106 // mode is in low 3 bits of first byte 125 final byte mode = (byte) (buffer[0] & 0x7); 133 checkValidServerReply(leap, mode, stratum, transmitTime); 196 byte leap, byte mode, int stratum, long transmitTime) 201 if ((mode != NTP_MODE_SERVER) && (mode != NTP_MODE_BROADCAST)) { 202 throw new InvalidServerReplyException("untrusted mode: " + mode); 195 checkValidServerReply( byte leap, byte mode, int stratum, long transmitTime) argument
|
/frameworks/base/core/java/android/os/ |
H A D | MemoryFile.java | 46 private static native long native_mmap(FileDescriptor fd, int length, int mode) argument
|
/frameworks/base/core/java/android/transition/ |
H A D | Visibility.java | 94 int mode = a.getInt(R.styleable.VisibilityTransition_transitionVisibilityMode, 0); 96 if (mode != 0) { 97 setMode(mode); 112 * on <code>mode</code>. 114 * @param mode The behavior supported by this transition, a combination of 118 public void setMode(@VisibilityMode int mode) { argument 119 if ((mode & ~(MODE_IN | MODE_OUT)) != 0) { 122 mMode = mode;
|
/frameworks/base/core/java/android/view/ |
H A D | ActionMode.java | 24 * Represents a contextual mode of the user interface. Action modes can be used to provide 37 * The action mode is treated as a Primary mode. This is the default. 42 * The action mode is treated as a Floating Toolbar. 48 * Default value to hide the action mode for 86 * Set the title of the action mode. This method will have no visible effect if 97 * Set the title of the action mode. This method will have no visible effect if 108 * Set the subtitle of the action mode. This method will have no visible effect if 119 * Set the subtitle of the action mode. This method will have no visible effect if 130 * Set whether or not the title/subtitle display for this action mode 312 onCreateActionMode(ActionMode mode, Menu menu) argument 321 onPrepareActionMode(ActionMode mode, Menu menu) argument 331 onActionItemClicked(ActionMode mode, MenuItem item) argument 338 onDestroyActionMode(ActionMode mode) argument 360 onGetContentRect(ActionMode mode, View view, Rect outRect) argument [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | FindActionModeCallback.java | 197 public boolean onCreateActionMode(ActionMode mode, Menu menu) { argument 198 if (!mode.isUiFocusable()) { 199 // If the action mode we're running in is not focusable the user 206 mode.setCustomView(mCustomView); 207 mode.getMenuInflater().inflate(com.android.internal.R.menu.webview_find, 209 mActionMode = mode; 220 public void onDestroyActionMode(ActionMode mode) { argument 228 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { argument 233 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument 291 public boolean onCreateActionMode(ActionMode mode, Men argument 296 onPrepareActionMode(ActionMode mode, Menu menu) argument 301 onActionItemClicked(ActionMode mode, MenuItem item) argument 306 onDestroyActionMode(ActionMode mode) argument [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ActionBarContextView.java | 118 // Allow full screen width in split mode. 201 public void initForMode(final ActionMode mode) { argument 213 mode.finish(); 217 final MenuBuilder menu = (MenuBuilder) mode.getMenu(); 232 // Allow full screen width in split mode. 421 // Action mode started
|