Searched refs:mode (Results 26 - 50 of 752) sorted by relevance

1234567891011>>

/frameworks/base/media/java/android/media/
H A DAudioGain.java24 * - mode: defines modes of operation or features
44 * Bit of AudioGain.mode() field indicating that
49 * Bit of AudioGain.mode() field indicating that
54 * Bit of AudioGain.mode() field indicating that
72 AudioGain(int index, int mode, int channelMask, argument
76 mMode = mode;
89 public int mode() { method in class:AudioGain
148 * @param mode: desired mode of operation
151 * @param rampDurationMs: ramp duration if mode MODE_RAM
154 buildConfig(int mode, int channelMask, int[] values, int rampDurationMs) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DComposeShader.java43 /** Create a new compose shader, given shaders A, B, and a combining mode.
44 When the mode is applied, it will be given the result from shader A as its
46 @param shaderA The colors from this shader are seen as the "dst" by the mode
47 @param shaderB The colors from this shader are seen as the "src" by the mode
48 @param mode The mode that combines the colors from the two shaders. If mode
51 public ComposeShader(Shader shaderA, Shader shaderB, Xfermode mode) { argument
55 mXferMode = mode;
57 (mode !
67 ComposeShader(Shader shaderA, Shader shaderB, PorterDuff.Mode mode) argument
[all...]
H A DPorterDuffColorFilter.java24 * color and a specific {@link PorterDuff Porter-Duff composite mode}.
31 * Create a color filter that uses the specified color and Porter-Duff mode.
33 * @param color The ARGB source color used with the specified Porter-Duff mode
34 * @param mode The porter-duff mode that is applied
40 public PorterDuffColorFilter(@ColorInt int color, @NonNull PorterDuff.Mode mode) { argument
42 mMode = mode;
77 * Returns the Porter-Duff mode used to composite this color filter's
90 * Specifies the Porter-Duff mode to use when compositing this color
99 public void setMode(@NonNull PorterDuff.Mode mode) { argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Damrdecode.cpp83 Description: Changed '&' to '&&' in the setting of rx_type and mode for
153 state_data->prev_mode contains the new mode
161 used by each codec mode for WMF input format (const
165 used by each codec mode for IF2 input format (const
188 The codec mode and receive frame type is initialized based on the incoming
196 RX_NO_DATA, the mode is obtained from the buffer pointed to by
197 speech_bits_ptr, offset by MAX_SERIAL_SIZE+1, otherwise, the mode is set to
198 the previous mode (found the in state_data->prev_mode).
206 state_data is updated to the current mode.
265 // Determine AMR codec mode an
397 enum Mode mode = (enum Mode)MR475; local
[all...]
H A Ddec_gain.cpp72 #include "mode.h"
111 index = AMR mode of type enum Mode
183 enum Mode mode, /* i : AMR mode */
203 /* Read the quantized gains (table depends on mode) */
206 if (mode == MR102 || mode == MR74 || mode == MR67)
217 if (mode == MR475)
275 gc_pred(pred_state, mode, cod
181 Dec_gain( gc_predState *pred_state, enum Mode mode, Word16 index, Word16 code[], Word16 evenSubfr, Word16 * gain_pit, Word16 * gain_cod, Flag * pOverflow ) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dprm2bits.cpp59 #include "mode.h"
205 mode = AMR mode of type enum Mode
228 DESCRIPTION: depending on the mode, different numbers of parameters
246 enum Mode mode, // i : AMR mode
253 for (i = 0; i < prmno[mode]; i++)
255 Int2bin (prm[i], bitno[mode][i], bits);
256 bits += bitno[mode][i];
290 enum Mode mode, /*
289 Prm2bits( enum Mode mode, Word16 prm[], Word16 bits[] ) argument
[all...]
H A Dg_pitch.h62 #include "mode.h"
103 enum Mode mode, /* i : AMR mode */
H A Dq_gain_c.h67 #include "mode.h"
116 enum Mode mode, /* i : AMR mode */
H A Dq_gain_p.h67 #include "mode.h"
108 enum Mode mode, /* i : AMR mode */
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/
H A DPhoneWindowActionModeTest.java64 ActionMode mode = mPhoneWindow.getDecorView().startActionMode(
67 assertEquals(mWindowCallback.mLastCreatedActionMode, mode);
129 ActionMode mode = mPhoneWindow.getDecorView().startActionMode(
132 assertNotNull(mode);
133 assertEquals(mWindowCallback.mLastCreatedActionMode, mode);
142 ActionMode mode = mPhoneWindow.getDecorView().startActionMode(
145 assertNotNull(mode);
146 assertEquals(ActionMode.TYPE_PRIMARY, mode.getType());
155 ActionMode mode = mPhoneWindow.getDecorView().startActionMode(
158 assertNotNull(mode);
287 onActionModeStarted(ActionMode mode) argument
292 onActionModeFinished(ActionMode mode) argument
300 onPrepareActionMode(ActionMode mode, Menu menu) argument
305 onDestroyActionMode(ActionMode mode) argument
308 onCreateActionMode(ActionMode mode, Menu menu) argument
314 onActionItemClicked(ActionMode mode, MenuItem item) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
H A Dd_gain_c.h58 #include "mode.h"
112 enum Mode mode, /* i : AMR mode */
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dpvamrwbdecoder.h122 int16 mode, /* input : used mode */
133 int16 pvDecoder_AmrWb_homing_frame_test(int16 input_frame[], int16 mode);
135 int16 pvDecoder_AmrWb_homing_frame_test_first(int16 input_frame[], int16 mode);
142 int16 *mode,
H A Dhoming_amr_wb_dec.cpp52 int16 mode 16-bit mode
63 int16 dhf_test(int16 input_frame[], int16 mode, int16 nparms)
64 int16 decoder_homing_frame_test(int16 input_frame[], int16 mode)
65 int16 decoder_homing_frame_test_first(int16 input_frame[], int16 mode)
127 int16 dhf_test(int16 input_frame[], int32 mode, int16 nparms);
248 int16 dhf_test(int16 input_frame[], int32 mode, int16 nparms) argument
275 if (mode != MRDTX)
277 if (mode != MODE_24k)
294 /*If mode i
355 pvDecoder_AmrWb_homing_frame_test(int16 input_frame[], int16 mode) argument
366 pvDecoder_AmrWb_homing_frame_test_first(int16 input_frame[], int16 mode) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DServiceWorkerWebSettings.java33 * @param mode the mode to use. One of {@link WebSettings#LOAD_DEFAULT},
38 public abstract void setCacheMode(@WebSettings.CacheMode int mode); argument
41 * Gets the current setting for overriding the cache mode.
43 * @return the current setting for overriding the cache mode
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPorterDuffXfermode_Delegate.java76 /*package*/ static long nativeCreateXfermode(int mode) { argument
77 PorterDuffXfermode_Delegate newDelegate = new PorterDuffXfermode_Delegate(mode);
83 private PorterDuffXfermode_Delegate(int mode) { argument
84 mMode = getPorterDuffMode(mode);
/frameworks/support/v7/appcompat/src/android/support/v7/view/
H A DActionMode.java25 * Represents a contextual mode of the user interface. Action modes can be used to provide
71 * Set the title of the action mode. This method will have no visible effect if
82 * Set the title of the action mode. This method will have no visible effect if
93 * Set the subtitle of the action mode. This method will have no visible effect if
104 * Set the subtitle of the action mode. This method will have no visible effect if
115 * Set whether or not the title/subtitle display for this action mode
118 * <p>In many cases the supplied title for an action mode is merely
120 * mode to be useful. If the title is optional, the system may choose
134 * @return true if this action mode has been given a hint to consider the
145 * @return true if this action mode consider
251 onCreateActionMode(ActionMode mode, Menu menu) argument
260 onPrepareActionMode(ActionMode mode, Menu menu) argument
270 onActionItemClicked(ActionMode mode, MenuItem item) argument
277 onDestroyActionMode(ActionMode mode) argument
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DDragResizeMode.java25 * Describes the mode in which a window is drag resizing.
30 * Freeform mode: Client surface is fullscreen, and client is responsible to draw window at
41 static boolean isModeAllowedForStack(int stackId, int mode) { argument
42 switch (mode) {
/frameworks/support/v4/kitkat/android/support/v4/view/
H A DViewCompatKitKat.java29 public static void setAccessibilityLiveRegion(View view, int mode) { argument
30 view.setAccessibilityLiveRegion(mode);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFrameBuffer1D.java38 public ByteBuffer lockBytes(int mode) { argument
39 assertAccessible(mode);
40 return (ByteBuffer)mBackingStore.lockData(mode, BackingStore.ACCESS_BYTES);
51 public Allocation lockAllocation(int mode) { argument
52 assertAccessible(mode);
53 return (Allocation) mBackingStore.lockData(mode, BackingStore.ACCESS_ALLOCATION);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DBarTransitions.java79 * of what mode it is currently set to.
90 public void transitionTo(int mode, boolean animate) { argument
91 if (isAlwaysOpaque() && (mode == MODE_SEMI_TRANSPARENT || mode == MODE_TRANSLUCENT
92 || mode == MODE_TRANSPARENT)) {
93 mode = MODE_OPAQUE;
95 if (isAlwaysOpaque() && (mode == MODE_LIGHTS_OUT_TRANSPARENT)) {
96 mode = MODE_LIGHTS_OUT;
98 if (mMode == mode) return;
100 mMode = mode;
118 modeToString(int mode) argument
133 isLightsOut(int mode) argument
[all...]
/frameworks/opt/net/voip/src/java/android/net/rtp/
H A DAudioGroup.java54 * allowed to run in a mode other than {@link #MODE_ON_HOLD}. The others will
59 * should set the audio mode to {@link AudioManager#MODE_IN_COMMUNICATION}
67 * This mode is similar to {@link #MODE_NORMAL} except the speaker and
73 * This mode is similar to {@link #MODE_NORMAL} except the microphone is
79 * This mode indicates that the speaker, the microphone, and all
88 * This mode is similar to {@link #MODE_NORMAL} except the echo suppression
120 * Returns the current mode.
127 * Changes the current mode. It must be one of {@link #MODE_ON_HOLD},
131 * @param mode The mode t
134 setMode(int mode) argument
144 nativeSetMode(int mode) argument
164 nativeAdd(int mode, int socket, String remoteAddress, int remotePort, String codecSpec, int dtmfType, String opPackageName) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/test/
H A Damrnb_enc_test.cpp49 printf("Options +M* for setting compression bitrate mode, default is 4.75 kbps\n");
61 int encode(int mode, const char *srcFile, const char *dstFile) { argument
121 Frame_Type_3GPP frame_type = (Frame_Type_3GPP) mode;
123 bytesGenerated = AMREncode(amr->encCtx, amr->pidSyncCtx, (Mode)mode,
175 Mode mode = MR475; local
189 case '0': mode = MR475;
191 case '1': mode = MR515;
193 case '2': mode = MR59;
195 case '3': mode = MR67;
197 case '4': mode
[all...]
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DAndroidCamera2Settings.java356 Log.w(TAG, "Unable to convert to API 2 flash mode: " + mCurrentFlashMode);
366 Integer mode = null;
370 mode = CONTROL_AF_MODE_AUTO;
374 mode = CONTROL_AF_MODE_CONTINUOUS_PICTURE;
378 mode = CONTROL_AF_MODE_CONTINUOUS_VIDEO;
382 mode = CONTROL_AF_MODE_EDOF;
386 mode = CONTROL_AF_MODE_OFF;
391 mode = CONTROL_AF_MODE_MACRO;
395 Log.w(TAG, "Unable to convert to API 2 focus mode: " + mCurrentFocusMode);
400 mRequestSettings.set(CONTROL_AF_MODE, mode);
[all...]
/frameworks/base/core/java/android/view/
H A DActionMode.java24 * 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/libs/hwui/
H A DTreeInfo.h71 TreeInfo(TraversalMode mode, renderthread::CanvasContext& canvasContext) argument
72 : mode(mode)
73 , prepareTextures(mode == MODE_FULL)
77 TraversalMode mode; member in class:android::uirenderer::TreeInfo

Completed in 938 milliseconds

1234567891011>>