Searched refs:mode (Results 126 - 150 of 609) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
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...]
H A Dph_disp.h69 #include "mode.h"
163 ; mode and computes total excitation for synthesis part
170 enum Mode mode, /* i : codec 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/services/core/java/com/android/server/am/
H A DUriPermissionOwner.java69 void removeUriPermissionsLocked(int mode) { argument
70 removeUriPermissionLocked(null, mode);
73 void removeUriPermissionLocked(ActivityManagerService.GrantUri grantUri, int mode) { argument
74 if ((mode & Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0
89 if ((mode & Intent.FLAG_GRANT_WRITE_URI_PERMISSION) != 0
H A DCompatModePackages.java52 // Compatibility state: no longer ask user to select the mode.
54 // Compatibility state: compatibility mode is enabled.
107 String mode = parser.getAttributeValue(null, "mode");
109 if (mode != null) {
111 modeInt = Integer.parseInt(mode);
160 // Update -- if the app no longer can run in compat mode, clear
236 public void setFrontActivityScreenCompatModeLocked(int mode) { argument
242 setPackageScreenCompatModeLocked(r.info.applicationInfo, mode);
257 public void setPackageScreenCompatModeLocked(String packageName, int mode) { argument
270 setPackageScreenCompatModeLocked(ApplicationInfo ai, int 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/base/media/lib/remotedisplay/java/com/android/media/remotedisplay/
H A DRemoteDisplayProvider.java117 * Discovery mode: Do not perform any discovery.
122 * Discovery mode: Passive or low-power periodic discovery.
124 * This mode indicates that an application is interested in knowing whether there
133 * Discovery mode: Active discovery.
135 * This mode indicates that the user is actively trying to connect to a route
136 * and we should perform continuous scans. This mode may use significantly more
174 * Called when the current discovery mode changes.
176 * @param mode The new discovery mode.
178 public void onDiscoveryModeChanged(int mode) { argument
305 setDiscoveryMode(int mode) argument
335 setDiscoveryMode(int mode) 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/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...),
152 * Arrays.hashCode(new Object[] {locale, mode, extraValue,
171 * @param subtypeMode is the mode supported by this subtype.
198 String mode, String extraValue, boolean isAuxiliary,
204 builder.mSubtypeMode = mode;
220 public InputMethodSubtype(int nameId, int iconId, String locale, String mode, String extraValue, argument
222 this(nameId, iconId, locale, mode, extraValue, isAuxiliary,
235 * @param mode The mode supported by the subtype
246 * auxiliary input mode, an
197 getBuilder(int nameId, int iconId, String locale, String mode, String extraValue, boolean isAuxiliary, boolean overridesImplicitlyEnabledSubtype, int id, boolean isAsciiCapable) argument
257 InputMethodSubtype(int nameId, int iconId, String locale, String mode, String extraValue, boolean isAuxiliary, boolean overridesImplicitlyEnabledSubtype, int id) argument
522 hashCodeInternal(String locale, String mode, String extraValue, boolean isAuxiliary, boolean overridesImplicitlyEnabledSubtype, boolean isAsciiCapable) argument
[all...]
/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/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DPorterDuffUtility.java58 * PorterDuff mode and the alpha. Defaults to {@link Mode#SRC_OVER} for invalid modes.
60 public static Composite getComposite(Mode mode, int alpha255) { argument
62 switch (mode) {
101 String.format("Unsupported PorterDuff Mode: %1$s", mode.name()),
/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...]
H A DAmrCodec.cpp75 // Handle mode-set and octet-align.
76 const char *modes = strcasestr(fmtp, "mode-set=");
82 int mode = c - '0'; local
83 if (mode > mMode) {
84 mMode = mode;
86 mModeSet |= 1 << mode;
95 // TODO: handle mode-change-*.
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DCryptoPlugin.h44 Mode mode, const void* srcPtr,
/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 */
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dcl_ltp.h70 #include "mode.h"
136 enum Mode mode, /* i : coder mode */
H A Dgain_q.h78 #include "mode.h"
150 enum Mode mode, /* i : coder mode */
H A Dqua_gain.cpp70 #include "mode.h"
122 mode -- enum Mode -- AMR mode
194 enum Mode mode, /* i : AMR mode */
233 if (mode == MR102 || mode == MR74 || mode == MR67)
193 Qua_gain( enum Mode mode, Word16 exp_gcode0, Word16 frac_gcode0, Word16 frac_coeff[], Word16 exp_coeff[], Word16 gp_limit, Word16 *gain_pit, Word16 *gain_cod, Word16 *qua_ener_MR122, Word16 *qua_ener, Flag *pOverflow ) argument
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
H A Dbits.h81 int PackBits(Word16 prms[], Word16 coding_mode, Word16 mode, Coder_State *st);
/frameworks/base/libs/hwui/
H A DProgramCache.h54 void generateBlend(String8& shader, const char* name, SkXfermode::Mode mode);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DLocationControllerImpl.java120 int mode = enabled
125 .putIntForUser(cr, Settings.Secure.LOCATION_MODE, mode, currentUserId);
135 int mode = Settings.Secure.getIntForUser(resolver, Settings.Secure.LOCATION_MODE,
137 return mode != Settings.Secure.LOCATION_MODE_OFF;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DBackingStore.java33 /** Access mode None: Frame data will not be accessed at all. */
35 /** Access mode Bytes: Frame data will be accessed as a ByteBuffer. */
37 /** Access mode Texture: Frame data will be accessed as a TextureSource. */
39 /** Access mode RenderTarget: Frame data will be accessed as a RenderTarget. */
41 /** Access mode Object: Frame data will be accessed as a generic Object. */
43 /** Access mode Bitmap: Frame data will be accessed as a Bitmap. */
45 /** Access mode Allocation: Frame data will be accessed as a RenderScript Allocation. */
84 public Object lockData(int mode, int accessFormat) { argument
85 return lockBacking(mode, accessFormat).lock(accessFormat);
88 public Backing lockBacking(int mode, in argument
186 fetchBacking(int mode, int access) argument
201 getBacking(int mode, int access) argument
215 attachNewBacking(int mode, int access) argument
224 createBacking(int mode, int access) argument
296 lock(Backing backingToLock, int mode) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DCatCmdMessage.java44 public LaunchBrowserMode mode; field in class:CatCmdMessage.BrowserSettings
96 mBrowserSettings.mode = ((LaunchBrowserParams) cmdParams).mMode;
138 mBrowserSettings.mode = LaunchBrowserMode.values()[in.readInt()];
170 dest.writeInt(mBrowserSettings.mode.ordinal());

Completed in 1541 milliseconds

1234567891011>>