Searched refs:mode (Results 101 - 125 of 525) sorted by relevance

1234567891011>>

/frameworks/base/core/jni/android/graphics/
H A DColorFilter.cpp48 jint srcColor, SkPorterDuff::Mode mode) {
50 return new SkiaBlendFilter(skFilter, srcColor, SkPorterDuff::ToXfermodeMode(mode));
90 SkPorterDuff::Mode mode) {
91 return SkColorFilter::CreateModeFilter(srcColor, SkPorterDuff::ToXfermodeMode(mode));
47 glCreatePorterDuffFilter(JNIEnv* env, jobject, SkColorFilter *skFilter, jint srcColor, SkPorterDuff::Mode mode) argument
89 CreatePorterDuffFilter(JNIEnv* env, jobject, jint srcColor, SkPorterDuff::Mode mode) argument
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DFramebufferBlendActivity.java87 private void drawBlendedBitmap(Canvas canvas, PorterDuff.Mode mode) { argument
93 mPaint.setXfermode(new PorterDuffXfermode(mode));
99 private void drawBlendedBitmapInverse(Canvas canvas, PorterDuff.Mode mode) { argument
104 mPaint.setXfermode(new PorterDuffXfermode(mode));
/frameworks/av/include/media/stagefright/
H A DMediaSource.h78 void setSeekTo(int64_t time_us, SeekMode mode = SEEK_CLOSEST_SYNC);
80 bool getSeekTo(int64_t *time_us, SeekMode *mode) const;
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Ddec_amr.h70 #include "mode.h"
178 Word16 Decoder_amr_reset(Decoder_amrState *st, enum Mode mode);
187 enum Mode mode, /* i : AMR mode */
H A Dph_disp.cpp393 mode = codec mode (enum Mode)
440 enum Mode mode, // i : codec mode
548 if (sub(mode, MR122) != 0 &&
549 sub(mode, MR102) != 0 &&
550 sub(mode, MR74) != 0 &&
566 // Choose filter corresponding to codec mode and dispersion criterium
567 if (sub (mode, MR795) == 0)
656 enum Mode mode, /*
654 ph_disp( ph_dispState *state, enum Mode mode, Word16 x[], Word16 cbGain, Word16 ltpGain, Word16 inno[], Word16 pitch_fac, Word16 tmp_shift, Flag *pOverflow ) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dsid_sync.cpp74 #include "mode.h"
439 mode = codec mode (enum Mode)
457 This function performs SID frame synchronization to ensure that the mode
458 only switches to a neighbouring mode.
496 enum Mode mode,
502 if (mode == MRDTX)
495 sid_sync(void *state, enum Mode mode, enum TXFrameType *tx_frame_type) argument
/frameworks/base/core/java/android/app/
H A DIBackupAgent.aidl113 * @param mode Access mode of the file system entity, e.g. 0660.
117 int type, String domain, String path, long mode, long mtime,
H A DUiModeManager.java28 * It provides functionality to disable the car mode and it gives access to the
29 * night mode settings.
35 * to the appropriate UI mode, sends broadcasts about the mode switch, and
36 * starts the corresponding mode activity if appropriate. See the
40 * <p>In addition, the user may manually switch the system to car mode without
41 * physically being in a dock. While in car mode -- whether by manual action
43 * displayed allowing the user to exit dock mode. Thus the dock mode
55 * Broadcast sent when the device's UI has switched to car mode, eithe
198 setNightMode(int mode) argument
[all...]
/frameworks/base/core/java/com/android/internal/backup/
H A DIObbBackupService.aidl43 long fileSize, int type, in String path, long mode, long mtime,
/frameworks/base/include/androidfw/
H A DAssetManager.h146 Asset* open(const char* fileName, AccessMode mode);
156 Asset* openNonAsset(const char* fileName, AccessMode mode);
162 Asset* openNonAsset(void* cookie, const char* fileName, AccessMode mode);
229 Asset* openInPathLocked(const char* fileName, AccessMode mode,
231 Asset* openNonAssetInPathLocked(const char* fileName, AccessMode mode,
233 Asset* openInLocaleVendorLocked(const char* fileName, AccessMode mode,
242 Asset* openAssetFromFileLocked(const String8& fileName, AccessMode mode);
244 const ZipEntryRO entry, AccessMode mode, const String8& entryName);
/frameworks/native/include/input/
H A DKeyLayoutMap.h38 // Axis mode.
39 Mode mode; member in struct:android::AxisInfo
54 AxisInfo() : mode(MODE_NORMAL), axis(-1), highAxis(-1), splitValue(0), flatOverride(-1) {
/frameworks/support/v4/jellybean/android/support/v4/view/
H A DViewCompatJB.java57 public static void setImportantForAccessibility(View view, int mode) { argument
58 view.setImportantForAccessibility(mode);
/frameworks/base/core/java/android/inputmethodservice/
H A DExtractEditLayout.java35 * limited screen real estate in extract mode.
54 final ExtractActionMode mode = new ExtractActionMode(cb);
55 if (mode.dispatchOnCreate()) {
56 mode.invalidate();
59 mActionMode = mode;
61 return mode;
67 * @return true if an action mode is currently active.
74 * Finishes a possibly started action mode.
159 // Not the active action mode - no-op
/frameworks/base/core/tests/coretests/src/android/content/
H A DMemoryFileProvider.java132 public ParcelFileDescriptor openFile(Uri url, String mode) throws FileNotFoundException { argument
137 return getBlobColumnAsFile(url, mode, sql);
152 private ParcelFileDescriptor getBlobColumnAsFile(Uri url, String mode, String sql) argument
154 if (!"r".equals(mode)) {
155 throw new FileNotFoundException("Mode " + mode + " not supported for " + url);
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodSubtype.java36 * (IME). Subtype can describe locale (e.g. en_US, fr_FR...) and mode (e.g. voice, keyboard...),
139 * Arrays.hashCode(new Object[] {locale, mode, extraValue,
158 * @param subtypeMode is the mode supported by this subtype.
185 String mode, String extraValue, boolean isAuxiliary,
191 builder.mSubtypeMode = mode;
207 public InputMethodSubtype(int nameId, int iconId, String locale, String mode, String extraValue, argument
209 this(nameId, iconId, locale, mode, extraValue, isAuxiliary, false);
219 public InputMethodSubtype(int nameId, int iconId, String locale, String mode, String extraValue, argument
221 this(nameId, iconId, locale, mode, extraValue, isAuxiliary,
234 * @param mode Th
184 getBuilder(int nameId, int iconId, String locale, String mode, String extraValue, boolean isAuxiliary, boolean overridesImplicitlyEnabledSubtype, int id, boolean isAsciiCapable) argument
256 InputMethodSubtype(int nameId, int iconId, String locale, String mode, String extraValue, boolean isAuxiliary, boolean overridesImplicitlyEnabledSubtype, int id) argument
521 hashCodeInternal(String locale, String mode, String extraValue, boolean isAuxiliary, boolean overridesImplicitlyEnabledSubtype, boolean isAsciiCapable) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DActionBarActivityDelegateICS.java195 public void onActionModeStarted(android.view.ActionMode mode) { argument
197 new ActionModeWrapper(getActionBarThemedContext(), mode));
220 public void onActionModeFinished(android.view.ActionMode mode) { argument
222 new ActionModeWrapper(getActionBarThemedContext(), mode));
349 public void onActionModeStarted(android.view.ActionMode mode) { argument
350 mWrapped.onActionModeStarted(mode);
351 ActionBarActivityDelegateICS.this.onActionModeStarted(mode);
355 public void onActionModeFinished(android.view.ActionMode mode) { argument
356 mWrapped.onActionModeFinished(mode);
357 ActionBarActivityDelegateICS.this.onActionModeFinished(mode);
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DCompatModePackages.java35 // Compatibility state: no longer ask user to select the mode.
37 // Compatibility state: compatibility mode is enabled.
80 String mode = parser.getAttributeValue(null, "mode");
82 if (mode != null) {
84 modeInt = Integer.parseInt(mode);
133 // Update -- if the app no longer can run in compat mode, clear
209 public void setFrontActivityScreenCompatModeLocked(int mode) { argument
215 setPackageScreenCompatModeLocked(r.info.applicationInfo, mode);
230 public void setPackageScreenCompatModeLocked(String packageName, int mode) { argument
243 setPackageScreenCompatModeLocked(ApplicationInfo ai, int mode) argument
[all...]
/frameworks/base/core/java/android/content/
H A DContentProvider.java295 String callingPkg, Uri uri, String mode, ICancellationSignal cancellationSignal)
297 enforceFilePermission(callingPkg, uri, mode);
301 uri, mode, CancellationSignal.fromTransport(cancellationSignal));
309 String callingPkg, Uri uri, String mode, ICancellationSignal cancellationSignal)
311 enforceFilePermission(callingPkg, uri, mode);
315 uri, mode, CancellationSignal.fromTransport(cancellationSignal));
380 private void enforceFilePermission(String callingPkg, Uri uri, String mode) argument
382 if (mode != null && mode.indexOf('w') != -1) {
1066 * @param mode Acces
294 openFile( String callingPkg, Uri uri, String mode, ICancellationSignal cancellationSignal) argument
308 openAssetFile( String callingPkg, Uri uri, String mode, ICancellationSignal cancellationSignal) argument
1083 openFile(Uri uri, String mode) argument
1153 openFile(Uri uri, String mode, CancellationSignal signal) argument
1209 openAssetFile(Uri uri, String mode) argument
1272 openAssetFile(Uri uri, String mode, CancellationSignal signal) argument
1291 openFileHelper(Uri uri, String mode) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dgc_pred.cpp202 mode = AMR mode (enum Mode)
203 code = pointer to the innovative codebook vector; Q12 in MR122 mode,
210 is calculated for MR795 mode, Q0 (Word16)
212 this is calculated for MR795 mode, Q15 (Word16)
262 enum Mode mode, // i : AMR mode
288 if (sub (mode, MR122) == 0)
376 if (sub (mode, MR102) == 0)
381 else if (sub (mode, MR79
466 gc_pred( gc_predState *st, enum Mode mode, Word16 *code, Word16 *exp_gcode0, Word16 *frac_gcode0, Word16 *exp_en, Word16 *frac_en, Flag *pOverflow ) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/
H A DSoftAMR.cpp342 int16 mode = ((inputPtr[0] >> 3) & 0x0f); local
344 if (mode >= 10 && mode <= 13) {
346 mode);
354 size_t frameSize = getFrameSize(mode);
359 if (mode >= 9) {
363 } else if (mode < 9) {
369 &frameType, &mode, 1, &rx_state); local
373 mode, mInputSampleBuffer,
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dbits.c36 Word16 coding_mode, /* i: coding bit-stream ratio mode */
37 Word16 mode, /* i: coding bit-stream ratio mode*/
86 *(dataOut + 2) = mode;
118 /* change mode index in case of SID frame */
161 /* insert SID type indication and speech mode in case of SID frame */
169 temp += mode & 0x000F;
35 PackBits(Word16 prms[], Word16 coding_mode, Word16 mode, Coder_State *st ) argument
/frameworks/base/core/java/android/provider/
H A DSearchRecentSuggestions.java124 * @param mode You can use mode flags here to determine certain functional aspects of your
131 public SearchRecentSuggestions(Context context, String authority, int mode) { argument
133 ((mode & SearchRecentSuggestionsProvider.DATABASE_MODE_QUERIES) == 0)) {
136 // unpack mode flags
137 mTwoLineDisplay = (0 != (mode & SearchRecentSuggestionsProvider.DATABASE_MODE_2LINES));
158 * If you did not configure two-line mode, or if a given suggestion does not have any
/frameworks/opt/net/voip/src/jni/rtp/
H A DAudioGroup.cpp99 bool set(int mode, int socket, sockaddr_storage *remote,
165 bool AudioStream::set(int mode, int socket, sockaddr_storage *remote, argument
169 if (mode < 0 || mode > LAST_MODE) {
172 mMode = mode;
221 ALOGD("stream[%d] is configured as %s %dkHz %dms mode %d", mSocket,
478 bool setMode(int mode);
623 bool AudioGroup::setMode(int mode) argument
625 if (mode < 0 || mode > LAST_MOD
782 int mode = mGroup->mMode; local
939 add(JNIEnv *env, jobject thiz, jint mode, jint socket, jstring jRemoteAddress, jint remotePort, jstring jCodecSpec, jint dtmfType) argument
997 int mode = env->GetIntField(thiz, gMode); local
1037 setMode(JNIEnv *env, jobject thiz, jint mode) argument
[all...]
/frameworks/av/include/media/
H A DICrypto.h48 CryptoPlugin::Mode mode,
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
H A Dq_plsf.h66 #include "mode.h"
144 enum Mode mode, /* i : coder mode */
148 Word16 *pred_init_i,/* o : init index for MA prediction in DTX mode */

Completed in 952 milliseconds

1234567891011>>