Searched refs:mode (Results 201 - 225 of 457) sorted by relevance

1234567891011>>

/frameworks/base/libs/hwui/
H A DSkiaColorFilter.h112 * and PorterDuff blending mode.
115 ANDROID_API SkiaBlendFilter(SkColorFilter *skFilter, int color, SkXfermode::Mode mode);
/frameworks/native/opengl/include/EGL/
H A Deglext.h143 EGLAPI EGLBoolean EGLAPIENTRY eglSignalSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode);
149 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode);
207 EGLBoolean eglSignalSyncNV (EGLSyncNV sync, EGLenum mode);
214 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSIGNALSYNCNVPROC) (EGLSyncNV sync, EGLenum mode);
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dfindhalfpel.cpp180 And decide between 1MV or 4MV mode
185 UChar *mode, Int xpos, Int ypos, Int *xhmin, Int *yhmin, UChar *hp_mem)
269 *mode = MODE_INTER;
282 *mode = MODE_INTER4V;
184 FindHalfPelBlk(VideoEncData *video, UChar *cur, MOT *mot, Int sad16, UChar *ncand8[], UChar *mode, Int xpos, Int ypos, Int *xhmin, Int *yhmin, UChar *hp_mem) argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmapShader_Delegate.java203 private int getCoordinate(int i, int size, TileMode mode) { argument
205 switch (mode) {
225 switch (mode) {
/frameworks/base/media/java/android/media/audiofx/
H A DVisualizer.java48 * <p>In addition to the polling capture mode described above with {@link #getWaveForm(byte[])} and
49 * {@link #getFft(byte[])} methods, a callback mode is also available by installing a listener by
86 * Defines a capture mode where amplification is applied based on the content of the captured
87 * data. This is the default Visualizer mode, and is suitable for music visualization.
91 * Defines a capture mode where the playback volume will affect (scale) the range of the
318 * @param mode see {@link #SCALING_MODE_NORMALIZED}
324 public int setScalingMode(int mode) argument
331 return native_setScalingMode(mode);
336 * Returns the current scaling mode on the captured visualization data.
337 * @return the scaling mode, se
639 native_setScalingMode(int mode) argument
[all...]
/frameworks/base/core/java/android/content/
H A DContext.java59 * File creation mode: the default mode, where the created file can only
72 * access mode will remain on a file, such as when it goes through a
74 * File creation mode: allow all other applications to have read access
87 * access mode will remain on a file, such as when it goes through a
89 * File creation mode: allow all other applications to have write access
97 * File creation mode: for use with {@link #openFileOutput}, if the file
467 * @param mode Operating mode. Use 0 or {@link #MODE_PRIVATE} for the
484 int mode);
483 getSharedPreferences(String name, int mode) argument
525 openFileOutput(String name, int mode) argument
752 getDir(String name, int mode) argument
775 openOrCreateDatabase(String name, int mode, CursorFactory factory) argument
803 openOrCreateDatabase(String name, int mode, CursorFactory factory, DatabaseErrorHandler errorHandler) argument
[all...]
/frameworks/base/core/java/android/hardware/input/
H A DInputManager.java589 * The synchronization mode determines whether the method blocks while waiting for
600 * @param mode The synchronization mode. One of:
608 public boolean injectInputEvent(InputEvent event, int mode) { argument
612 if (mode != INJECT_INPUT_EVENT_MODE_ASYNC
613 && mode != INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH
614 && mode != INJECT_INPUT_EVENT_MODE_WAIT_FOR_RESULT) {
615 throw new IllegalArgumentException("mode is invalid");
619 return mIm.injectInputEvent(event, mode);
/frameworks/base/core/java/android/view/
H A DWindow.java76 * <p>This mode is especially useful with {@link View#SYSTEM_UI_FLAG_FULLSCREEN
81 * ActionBar is in this mode it will adjust the insets provided to
89 * If overlay is enabled, the action mode UI will be allowed to cover existing window content.
103 /** Flag for setting the progress bar's indeterminate mode on */
105 /** Flag for setting the progress bar's indeterminate mode off */
363 * Called when an action mode is being started for this window. Gives the
364 * callback an opportunity to handle the action mode in its own unique and
366 * to present the mode or choose not to start the mode at all.
368 * @param callback Callback to control the lifecycle of this action mode
379 onActionModeStarted(ActionMode mode) argument
387 onActionModeFinished(ActionMode mode) argument
688 setSoftInputMode(int mode) argument
[all...]
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContext.java131 public SharedPreferences getSharedPreferences(String name, int mode) { argument
141 public FileOutputStream openFileOutput(String name, int mode) throws FileNotFoundException { argument
186 public File getDir(String name, int mode) { argument
191 public SQLiteDatabase openOrCreateDatabase(String file, int mode, argument
197 public SQLiteDatabase openOrCreateDatabase(String file, int mode, argument
/frameworks/base/core/java/com/android/internal/app/
H A DActionBarImpl.java363 "setSelectedNavigationIndex not valid for current navigation mode");
445 ActionModeImpl mode = new ActionModeImpl(callback);
446 if (mode.dispatchOnCreate()) {
447 mode.invalidate();
448 mContextView.initForMode(mode);
460 mActionMode = mode;
461 return mode;
832 // Not the active action mode - no-op
851 // Clear out the context mode views after the animation finishes
1138 public void setNavigationMode(int mode) { argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternUtils.java197 * Gets the device policy password mode. If the mode is non-specific, returns
239 * Returns the actual password mode, as set by keyguard after updating the password.
593 * as the requested mode, but will adjust the mode to be as good as the
604 * as the requested mode, but will adjust the mode to be as good as the
616 * as the requested mode, but will adjust the mode to be as good as the
721 * Retrieves the quality mode w
[all...]
H A DPasswordEntryKeyboardHelper.java157 public void setKeyboardMode(int mode) { argument
158 switch (mode) {
174 mKeyboardMode = mode;
217 // Switch back to old keyboard if we're not in capslock mode
296 // Maybe turn off shift if not in capslock mode.
/frameworks/av/media/libstagefright/mpeg2ts/
H A DMPEG2PSExtractor.cpp540 ElementaryStreamQueue::Mode mode; local
544 mode = ElementaryStreamQueue::H264;
547 mode = ElementaryStreamQueue::AAC;
551 mode = ElementaryStreamQueue::MPEG_AUDIO;
556 mode = ElementaryStreamQueue::MPEG_VIDEO;
560 mode = ElementaryStreamQueue::MPEG4_VIDEO;
569 mQueue = new ElementaryStreamQueue(mode);
/frameworks/base/core/jni/
H A Dandroid_os_Parcel.cpp374 jstring name, jint mode)
389 switch (mode&0x30000000) {
402 if (mode&0x08000000) flags |= O_CREAT;
403 if (mode&0x04000000) flags |= O_TRUNC;
404 if (mode&0x02000000) flags |= O_APPEND;
407 if (mode&0x00000001) realMode |= S_IROTH;
408 if (mode&0x00000002) realMode |= S_IWOTH;
605 // mode policy in sync for the libcore
373 android_os_Parcel_openFileDescriptor(JNIEnv* env, jclass clazz, jstring name, jint mode) argument
/frameworks/base/opengl/java/android/opengl/
H A DGLES10.java467 // C function void glCullFace ( GLenum mode )
470 int mode
526 // C function void glDrawArrays ( GLenum mode, GLint first, GLsizei count )
529 int mode,
534 // C function void glDrawElements ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices )
537 int mode,
609 // C function void glFrontFace ( GLenum mode )
612 int mode
693 // C function void glHint ( GLenum target, GLenum mode )
697 int mode
528 glDrawArrays( int mode, int first, int count ) argument
536 glDrawElements( int mode, int count, int type, java.nio.Buffer indices ) argument
[all...]
H A DGLErrorWrapper.java201 public void glCullFace(int mode) { argument
203 mgl.glCullFace(mode);
255 public void glDrawArrays(int mode, int first, int count) { argument
257 mgl.glDrawArrays(mode, first, count);
261 public void glDrawElements(int mode, int count, int type, Buffer indices) { argument
263 mgl.glDrawElements(mode, count, type, indices);
327 public void glFrontFace(int mode) { argument
329 mgl.glFrontFace(mode);
384 public void glHint(int target, int mode) { argument
386 mgl.glHint(target, mode);
546 glMatrixMode(int mode) argument
712 glShadeModel(int mode) argument
1003 glDrawElements(int mode, int count, int type, int offset) argument
1395 glBlendEquation(int mode) argument
[all...]
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL10.java393 int mode
434 int mode,
440 int mode,
493 int mode
545 int mode
690 int mode
846 int mode
433 glDrawArrays( int mode, int first, int count ) argument
439 glDrawElements( int mode, int count, int type, java.nio.Buffer indices ) argument
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.cpp156 CryptoPlugin::Mode mode,
161 index, offset, subSamples, numSubSamples, key, iv, mode,
267 void JMediaCodec::setVideoScalingMode(int mode) { argument
269 native_window_set_scaling_mode(mSurfaceTextureClient.get(), mode);
500 jint mode = env->GetIntField(cryptoInfoObj, gFields.cryptoInfoModeID); local
581 (CryptoPlugin::Mode)mode,
710 JNIEnv *env, jobject thiz, jint mode) {
718 if (mode != NATIVE_WINDOW_SCALING_MODE_SCALE_TO_WINDOW
719 && mode != NATIVE_WINDOW_SCALING_MODE_SCALE_CROP) {
724 codec->setVideoScalingMode(mode);
149 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, int64_t presentationTimeUs, uint32_t flags, AString *errorDetailMsg) argument
709 android_media_MediaCodec_setVideoScalingMode( JNIEnv *env, jobject thiz, jint mode) argument
[all...]
H A Dandroid_media_MediaExtractor.cpp174 int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) {
175 return mImpl->seekTo(timeUs, mode);
377 JNIEnv *env, jobject thiz, jlong timeUs, jint mode) {
385 if (mode < MediaSource::ReadOptions::SEEK_PREVIOUS_SYNC
386 || mode >= MediaSource::ReadOptions::SEEK_CLOSEST) {
391 extractor->seekTo(timeUs, (MediaSource::ReadOptions::SeekMode)mode);
589 int32_t mode; local
590 if (!meta->findInt32(kKeyCryptoMode, &mode)) {
591 mode = CryptoPlugin::kMode_AES_CTR;
602 mode);
173 seekTo( int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) argument
376 android_media_MediaExtractor_seekTo( JNIEnv *env, jobject thiz, jlong timeUs, jint mode) argument
[all...]
/frameworks/native/opengl/libagl/
H A Darray.cpp46 static void validate_arrays(ogles_context_t* c, GLenum mode);
400 void vertex_cache_t::dump_stats(GLenum mode) argument
406 switch (mode) {
1080 void validate_arrays(ogles_context_t* c, GLenum mode) argument
1090 c->perspective && mode!=GL_POINTS && (enables & GGL_ENABLE_TMUS);
1095 switch (mode) {
1110 (mode == GL_POINTS) ? GL_FLAT : c->lighting.shadeModel);
1341 void glDrawArrays(GLenum mode, GLint first, GLsizei count) argument
1348 switch (mode) {
1368 validate_arrays(c, mode);
1385 glDrawElements( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DSpinner.java74 * Use the theme-supplied value to select the dropdown mode.
99 * mode of displaying choices. <code>mode</code> may be one of
104 * @param mode Constant describing how the user will select choices from the spinner.
109 public Spinner(Context context, int mode) { argument
110 this(context, null, com.android.internal.R.attr.spinnerStyle, mode);
142 * and default style. <code>mode</code> may be one of {@link #MODE_DIALOG} or
152 * @param mode Constant describing how the user will select choices from the spinner.
157 public Spinner(Context context, AttributeSet attrs, int defStyle, int mode) { argument
163 if (mode
[all...]
/frameworks/base/services/java/com/android/server/
H A DUiModeManagerService.java227 public void setNightMode(int mode) { argument
228 switch (mode) {
234 throw new IllegalArgumentException("Unknown mode: " + mode);
240 if (isDoingNightModeLocked() && mNightMode != mode) {
242 Settings.Secure.UI_NIGHT_MODE, mode);
243 mNightMode = mode;
317 // Disabling the car mode clears the night mode.
430 // keep screen on when charging and in car mode
[all...]
/frameworks/av/media/libstagefright/include/
H A DAwesomePlayer.h302 void modifyFlags(unsigned value, FlagMode mode);
330 status_t setVideoScalingMode(int32_t mode);
331 status_t setVideoScalingMode_l(int32_t mode);
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorPreviewController.h64 M4xVSS_MediaRendering mode,
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayer.h58 status_t setVideoScalingMode(int32_t mode);

Completed in 2240 milliseconds

1234567891011>>