Searched refs:mode (Results 401 - 425 of 752) sorted by relevance

<<11121314151617181920>>

/frameworks/native/libs/gui/
H A DSensorManager.cpp213 sp<SensorEventQueue> SensorManager::createEventQueue(String8 packageName, int mode) { argument
219 mSensorServer->createSensorEventConnection(packageName, mode, mOpPackageName);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWC2On1Adapter.h216 HWC2::Error setColorMode(int32_t mode);
220 HWC2::Error setPowerMode(HWC2::PowerMode mode);
262 HWC2::Error getHwc1IdForColorMode(int32_t mode,
269 // mode. Returns whether the merge was successful
437 auto mode = static_cast<HWC2::PowerMode>(intMode); local
439 mode);
509 HWC2::Error setBlendMode(HWC2::BlendMode mode);
597 auto mode = static_cast<HWC2::BlendMode>(intMode); local
599 &Layer::setBlendMode, mode);
/frameworks/rs/
H A DrsFont.h87 RenderMode mode = FRAMEBUFFER, Rect *bounds = nullptr,
150 Font::RenderMode mode = Font::FRAMEBUFFER,
/frameworks/support/v4/api21/android/support/v4/view/
H A DViewCompatLollipop.java109 static void setBackgroundTintMode(View view, PorterDuff.Mode mode) { argument
110 view.setBackgroundTintMode(mode);
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAppCompatActivity.java243 * Notifies the Activity that a support action mode has been started.
246 * @param mode The new action mode.
249 public void onSupportActionModeStarted(@NonNull ActionMode mode) { argument
253 * Notifies the activity that a support action mode has finished.
256 * @param mode The action mode that just finished.
259 public void onSupportActionModeFinished(@NonNull ActionMode mode) { argument
263 * Called when a support action mode is being started for this window. Gives the
264 * callback an opportunity to handle the action mode i
[all...]
/frameworks/wilhelm/src/android/util/
H A DAacAdtsExtractor.cpp263 ReadOptions::SeekMode mode; local
264 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Ddtx_dec.cpp60 #include "mode.h"
348 mode = AMR mode
394 enum Mode mode, // i : AMR mode
445 st->log_en_adjust = dtx_log_en_adjust[mode];
488 // make log_en speech coder mode independent
634 // 0.1*dtx_log_en_adjust[mode]);
636 shr(mult(shl(dtx_log_en_adjust[mode],5),3277),5));
751 // adjust level to speech coder mode
840 dtx_dec( dtx_decState *st, Word16 mem_syn[], D_plsfState* lsfState, gc_predState* predState, Cb_gain_averageState* averState, enum DTXStateType new_state, enum Mode mode, Word16 parm[], Word16 synth[], Word16 A_t[], Flag *pOverflow ) argument
[all...]
/frameworks/base/core/java/android/hardware/input/
H A DInputManager.java375 * Queries whether the device is in tablet mode.
391 * Register a tablet mode changed listener.
417 * Unregister a tablet mode changed listener.
835 * The synchronization mode determines whether the method blocks while waiting for
846 * @param mode The synchronization mode. One of:
854 public boolean injectInputEvent(InputEvent event, int mode) { argument
858 if (mode != INJECT_INPUT_EVENT_MODE_ASYNC
859 && mode != INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH
860 && mode !
[all...]
/frameworks/base/core/java/android/view/
H A DWindow.java109 * <p>This mode is especially useful with {@link View#SYSTEM_UI_FLAG_FULLSCREEN
114 * ActionBar is in this mode it will adjust the insets provided to
122 * If overlay is enabled, the action mode UI will be allowed to cover existing window content.
175 * Flag for setting the progress bar's indeterminate mode on.
184 * Flag for setting the progress bar's indeterminate mode off.
524 * Called when an action mode is being started for this window. Gives the
525 * callback an opportunity to handle the action mode in its own unique and
527 * to present the mode or choose not to start the mode at all. This is equivalent
531 * @param callback Callback to control the lifecycle of this action mode
556 onActionModeStarted(ActionMode mode) argument
564 onActionModeFinished(ActionMode mode) argument
1014 setSoftInputMode(int mode) argument
[all...]
H A DSurfaceControl.java86 IBinder displayToken, int mode);
230 * Display power mode off: used while blanking the screen.
236 * Display power mode doze: used while putting the screen into low power mode.
242 * Display power mode normal: used while unblanking the screen.
248 * Display power mode doze: used while putting the screen into a suspended
249 * low power mode. Use only with {@link SurfaceControl#setDisplayPowerMode}.
599 public static void setDisplayPowerMode(IBinder displayToken, int mode) { argument
603 nativeSetDisplayPowerMode(displayToken, mode);
85 nativeSetDisplayPowerMode( IBinder displayToken, int mode) argument
/frameworks/base/core/java/com/android/internal/widget/
H A DToolbarWidgetWrapper.java483 public void setNavigationMode(int mode) { argument
485 if (mode != oldMode) {
499 mNavigationMode = mode;
501 switch (mode) {
518 throw new IllegalArgumentException("Invalid navigation mode " + mode);
/frameworks/base/services/core/java/com/android/server/
H A DVibratorService.java460 int mode = mAppOpsService.checkAudioOperation(AppOpsManager.OP_VIBRATE,
462 if (mode == AppOpsManager.MODE_ALLOWED) {
463 mode = mAppOpsService.startOperation(AppOpsManager.getToken(mAppOpsService),
466 if (mode == AppOpsManager.MODE_ALLOWED) {
469 if (mode == AppOpsManager.MODE_ERRORED) {
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DToolbarWidgetWrapper.java459 public void setNavigationMode(int mode) { argument
461 if (mode != oldMode) {
475 mNavigationMode = mode;
477 switch (mode) {
494 throw new IllegalArgumentException("Invalid navigation mode " + mode);
/frameworks/base/core/java/android/widget/
H A DRemoteViews.java922 int colorFilter, PorterDuff.Mode mode, int level) {
927 this.filterMode = mode;
1943 int color, PorterDuff.Mode mode) {
1948 this.mode = mode;
1956 mode = readPorterDuffMode(parcel);
1960 int mode = parcel.readInt();
1961 if (mode >= 0 && mode < PorterDuff.Mode.values().length) {
1962 return PorterDuff.Mode.values()[mode];
921 SetDrawableParameters(int id, boolean targetBackground, int alpha, int colorFilter, PorterDuff.Mode mode, int level) argument
1942 TextViewDrawableColorFilterAction(int viewId, boolean isRelative, int index, int color, PorterDuff.Mode mode) argument
2001 final PorterDuff.Mode mode; field in class:RemoteViews.TextViewDrawableColorFilterAction
2506 setTextViewCompoundDrawablesRelativeColorFilter(int viewId, int index, int color, PorterDuff.Mode mode) argument
2737 setDrawableParameters(int viewId, boolean targetBackground, int alpha, int colorFilter, PorterDuff.Mode mode, int level) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.cpp338 CryptoPlugin::Mode mode,
344 index, offset, subSamples, numSubSamples, key, iv, mode, pattern,
623 void JMediaCodec::setVideoScalingMode(int mode) { argument
625 native_window_set_scaling_mode(mSurfaceTextureClient.get(), mode);
1295 enum CryptoPlugin::Mode mode; local
1297 mode = CryptoPlugin::kMode_Unencrypted;
1299 mode = CryptoPlugin::kMode_AES_CTR;
1301 mode = CryptoPlugin::kMode_AES_CBC;
1401 mode,
1669 JNIEnv *env, jobject thiz, jint mode) {
331 queueSecureInputBuffer( size_t index, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, int64_t presentationTimeUs, uint32_t flags, AString *errorDetailMsg) argument
1668 android_media_MediaCodec_setVideoScalingMode( JNIEnv *env, jobject thiz, jint mode) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dvlc_decode.cpp132 PV_STATUS PV_GetMBvectors(VideoDecData *video, uint mode) argument
154 if (mode == MODE_INTER4V || mode == MODE_INTER4V_Q)
156 if (mode == MODE_INTER4V)
222 if (mode == MODE_INTER4V || mode == MODE_INTER4V_Q)
224 if (mode == MODE_INTER4V)
878 /* the following is modified for 3-mode escape -- boon */
888 /* first escape mode. level is offset */
941 /* second escape mode
[all...]
/frameworks/base/core/jni/
H A Dandroid_os_Parcel.cpp452 jstring name, jint mode)
464 switch (mode&0x30000000) {
477 if (mode&0x08000000) flags |= O_CREAT;
478 if (mode&0x04000000) flags |= O_TRUNC;
479 if (mode&0x02000000) flags |= O_APPEND;
482 if (mode&0x00000001) realMode |= S_IROTH;
483 if (mode&0x00000002) realMode |= S_IWOTH;
685 // mode policy in sync for the libcore
451 android_os_Parcel_openFileDescriptor(JNIEnv* env, jclass clazz, jstring name, jint mode) argument
/frameworks/base/graphics/java/android/graphics/drawable/
H A DBitmapDrawable.java395 * @param mode The repeat mode for this drawable.
401 public void setTileModeX(Shader.TileMode mode) { argument
402 setTileModeXY(mode, mBitmapState.mTileModeY);
411 * @param mode The repeat mode for this drawable.
417 public final void setTileModeY(Shader.TileMode mode) { argument
418 setTileModeXY(mBitmapState.mTileModeX, mode);
427 * @param xmode The X repeat mode for this drawable.
428 * @param ymode The Y repeat mode fo
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLES20.java394 // C function void glBlendEquation ( GLenum mode )
397 int mode
553 // C function void glCullFace ( GLenum mode )
556 int mode
669 // C function void glDrawArrays ( GLenum mode, GLint first, GLsizei count )
672 int mode,
677 // C function void glDrawElements ( GLenum mode, GLsizei count, GLenum type, GLint offset )
680 int mode,
686 // C function void glDrawElements ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices )
689 int mode,
671 glDrawArrays( int mode, int first, int count ) argument
679 glDrawElements( int mode, int count, int type, int offset ) argument
688 glDrawElements( int mode, int count, int type, java.nio.Buffer indices ) argument
[all...]
/frameworks/native/opengl/include/GLES/
H A Dgl.h654 GL_API void GL_APIENTRY glCullFace (GLenum mode);
662 GL_API void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count);
663 GL_API void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
670 GL_API void GL_APIENTRY glFrontFace (GLenum mode);
688 GL_API void GL_APIENTRY glHint (GLenum target, GLenum mode);
702 GL_API void GL_APIENTRY glMatrixMode (GLenum mode);
721 GL_API void GL_APIENTRY glShadeModel (GLenum mode);
/frameworks/native/opengl/tests/angeles/include/GLES/
H A Dgl.h493 GLAPI void APIENTRY glCullFace (GLenum mode);
501 GLAPI void APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count);
502 GLAPI void APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
511 GLAPI void APIENTRY glFrontFace (GLenum mode);
518 GLAPI void APIENTRY glHint (GLenum target, GLenum mode);
537 GLAPI void APIENTRY glMatrixMode (GLenum mode);
562 GLAPI void APIENTRY glShadeModel (GLenum mode);
/frameworks/native/opengl/libagl/
H A Dlight.cpp94 c->lighting.colorMaterial.mode = GL_AMBIENT_AND_DIFFUSE;
96 c->fog.mode = GL_EXP;
600 c->fog.mode = param;
604 c->fog.mode = param;
608 c->fog.mode = param;
633 void glShadeModel(GLenum mode) argument
636 if (ggl_unlikely(mode != GL_SMOOTH && mode != GL_FLAT)) {
640 c->lighting.shadeModel = mode;
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Ddatapart_encode.cpp30 /* Purpose : Encode a frame of MPEG4 bitstream in datapartitioning mode. */
204 /* Purpose : Encode a slice of MPEG4 bitstream in DataPar mode and save */
216 UChar mode, *Mode = video->headerInfo.Mode; local
362 mode = Mode[mbnum];
420 Mode[mbnum] = mode;
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
H A DParameterManagerWrapper.cpp335 status_t ParameterManagerWrapper::setPhoneState(audio_mode_t mode) argument
343 if (!isValueValidForCriterion(criterion, static_cast<int>(mode))) {
346 criterion->setCriterionState((int)(mode));
/frameworks/base/core/java/com/android/internal/app/
H A DToolbarActionBar.java211 "setSelectedNavigationIndex not valid for current navigation mode");
312 public void setNavigationMode(@NavigationMode int mode) { argument
313 if (mode == ActionBar.NAVIGATION_MODE_TABS) {
316 mDecorToolbar.setNavigationMode(mode);

Completed in 840 milliseconds

<<11121314151617181920>>