/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | AppCompatCallback.java | 31 * Called when a support action mode has been started. 33 * @param mode The new action mode. 35 void onSupportActionModeStarted(ActionMode mode); argument 38 * Called when a support action mode has finished. 40 * @param mode The action mode that just finished. 42 void onSupportActionModeFinished(ActionMode mode); argument 45 * Called when a support action mode is being started for this window. Gives the 46 * callback an opportunity to handle the action mode i [all...] |
/frameworks/base/media/java/android/media/ |
H A D | AudioGain.java | 24 * - 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...] |
H A D | BufferingParams.java | 36 * is playing back source). {@link BufferingParams} includes mode and corresponding 38 * based (in milliseconds), or time based (in kilobytes) or both, depending on the mode. 70 * This mode indicates that source buffering is not supported. 74 * This mode indicates that only time based source buffering is supported. This means 79 * This mode indicates that only size based source buffering is supported. This means 84 * This mode indicates that both time and size based source buffering are supported, 120 * Return the initial buffering mode used when {@link MediaPlayer} is being prepared. 128 * Return the rebuffering mode used when {@link MediaPlayer} is playing back source. 137 * It is meaningful only when initial buffering mode obatined from 147 * It is meaningful only when initial buffering mode obatine 278 isTimeBasedMode(int mode) argument 282 isSizeBasedMode(int mode) argument 294 setInitialBufferingMode(@ufferingMode int mode) argument 316 setRebufferingMode(@ufferingMode int mode) argument [all...] |
/frameworks/av/media/libmedia/ |
H A D | BufferingSettings.cpp | 27 bool BufferingSettings::IsValidBufferingMode(int mode) { argument 28 return (mode >= BUFFERING_MODE_NONE && mode < BUFFERING_MODE_COUNT); 32 bool BufferingSettings::IsTimeBasedBufferingMode(int mode) { argument 33 return (mode == BUFFERING_MODE_TIME_ONLY || mode == BUFFERING_MODE_TIME_THEN_SIZE); 37 bool BufferingSettings::IsSizeBasedBufferingMode(int mode) { argument 38 return (mode == BUFFERING_MODE_SIZE_ONLY || mode == BUFFERING_MODE_TIME_THEN_SIZE);
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | amrdecode.cpp | 83 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...] |
/frameworks/av/include/media/ |
H A D | BufferingSettings.h | 42 static bool IsValidBufferingMode(int mode); 43 static bool IsTimeBasedBufferingMode(int mode); 44 static bool IsSizeBasedBufferingMode(int mode);
|
/frameworks/av/media/libmedia/include/media/ |
H A D | BufferingSettings.h | 42 static bool IsValidBufferingMode(int mode); 43 static bool IsTimeBasedBufferingMode(int mode); 44 static bool IsSizeBasedBufferingMode(int mode);
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | prm2bits.cpp | 59 #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 D | g_pitch.h | 62 #include "mode.h" 103 enum Mode mode, /* i : AMR mode */
|
H A D | q_gain_c.h | 67 #include "mode.h" 116 enum Mode mode, /* i : AMR mode */
|
H A D | q_gain_p.h | 67 #include "mode.h" 108 enum Mode mode, /* i : AMR mode */
|
/frameworks/base/libs/hwui/ |
H A D | Layer.cpp | 27 SkBlendMode mode) 33 , mode(mode) { 26 Layer(RenderState& renderState, Api api, SkColorFilter* colorFilter, int alpha, SkBlendMode mode) argument
|
H A D | Layer.h | 74 inline void setAlpha(int alpha, SkBlendMode mode) { argument 76 this->mode = mode; 84 return mode; 109 SkBlendMode mode); 132 * Blending mode of the layer. 134 SkBlendMode mode; member in class:android::uirenderer::Layer
|
H A D | TreeInfo.h | 70 TreeInfo(TraversalMode mode, renderthread::CanvasContext& canvasContext) argument 71 : mode(mode) 72 , prepareTextures(mode == MODE_FULL) 76 TraversalMode mode; member in class:android::uirenderer::TreeInfo
|
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/ |
H A D | PhoneWindowActionModeTest.java | 64 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 D | d_gain_c.h | 58 #include "mode.h" 112 enum Mode mode, /* i : AMR mode */
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | pvamrwbdecoder.h | 122 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,
|
/frameworks/base/core/java/android/webkit/ |
H A D | ServiceWorkerWebSettings.java | 33 * @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/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | FrameBuffer1D.java | 38 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 D | BarTransitions.java | 80 * of what mode it is currently set to. 91 public void transitionTo(int mode, boolean animate) { argument 92 if (isAlwaysOpaque() && (mode == MODE_SEMI_TRANSPARENT || mode == MODE_TRANSLUCENT 93 || mode == MODE_TRANSPARENT)) { 94 mode = MODE_OPAQUE; 96 if (isAlwaysOpaque() && (mode == MODE_LIGHTS_OUT_TRANSPARENT)) { 97 mode = MODE_LIGHTS_OUT; 99 if (mMode == mode) return; 101 mMode = mode; 119 modeToString(int mode) argument 134 isLightsOut(int mode) argument [all...] |
/frameworks/opt/net/voip/src/java/android/net/rtp/ |
H A D | AudioGroup.java | 54 * 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 D | amrnb_enc_test.cpp | 49 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 D | AndroidCamera2Settings.java | 356 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 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/graphics/java/android/graphics/ |
H A D | PorterDuffColorFilter.java | 24 * color and a specific {@link PorterDuff Porter-Duff composite mode}. 32 * Create a color filter that uses the specified color and Porter-Duff mode. 34 * @param color The ARGB source color used with the specified Porter-Duff mode 35 * @param mode The porter-duff mode that is applied 41 public PorterDuffColorFilter(@ColorInt int color, @NonNull PorterDuff.Mode mode) { argument 43 mMode = mode; 80 * Returns the Porter-Duff mode used to composite this color filter's 93 * Specifies the Porter-Duff mode to use when compositing this color 102 public void setMode(@NonNull PorterDuff.Mode mode) { argument [all...] |