Searched defs:mode (Results 176 - 200 of 309) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/app/
H A DActionBar.java48 * your activity, you can enable an action mode that offers actions specific to the selected
61 * Standard navigation mode. Consists of either a logo or icon
69 * List navigation mode. Instead of static title text this mode
76 * Tab navigation mode. Instead of static title text this mode
135 * Set the action bar into custom navigation mode, supplying a view
149 * Set the action bar into custom navigation mode, supplying a view
169 * Set the action bar into custom navigation mode, supplying a view
248 * Set the adapter and navigation callback for list navigation mode
491 setNavigationMode(int mode) argument
[all...]
H A DNativeActivity.java368 void showIme(int mode) { argument
369 mIMM.showSoftInput(mNativeContentView, mode);
372 void hideIme(int mode) { argument
373 mIMM.hideSoftInputFromWindow(mNativeContentView.getWindowToken(), mode);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothAdapter.java144 * Activity Action: Show a system activity that requests discoverable mode.
147 * <p>Discoverable mode is equivalent to {@link
162 * for global notification whenever the scan mode changes. For example, an
199 * Broadcast Action: Indicates the Bluetooth scan mode of the local Adapter
212 * intents to request the current scan mode. Possible values are:
220 * intents to request the previous scan mode. Possible values are:
500 * such as Airplane mode, or the adapter is already turned on.
639 * Get the current Bluetooth scan mode of the local Bluetooth adapter.
640 * <p>The Bluetooth scan mode determines if the local adapter is
652 * @return scan mode
692 setScanMode(int mode, int duration) argument
703 setScanMode(int mode) argument
[all...]
/frameworks/base/core/java/android/service/dreams/
H A DDreamService.java310 public void onActionModeStarted(ActionMode mode) { argument
315 public void onActionModeFinished(ActionMode mode) { argument
452 * Returns whether or not this dream is in low profile mode. Defaults to true.
475 * Returns whether or not this dream is in fullscreen mode. Defaults to false.
/frameworks/base/core/java/android/view/
H A DGLES20RecordingCanvas.java296 public void drawVertices(VertexMode mode, int vertexCount, float[] verts, int vertOffset, argument
299 super.drawVertices(mode, vertexCount, verts, vertOffset, texs, texOffset, colors,
/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/core/jni/android/graphics/
H A DShader.cpp465 SkShader* shaderA, SkShader* shaderB, SkXfermode* mode)
467 return new SkComposeShader(shaderA, shaderB, mode);
474 SkXfermode* mode = (SkXfermode*) au.get(); local
475 return new SkComposeShader(shaderA, shaderB, mode);
481 SkXfermode::Mode mode = SkPorterDuff::ToXfermodeMode(porterDuffMode); local
482 return new SkiaComposeShader(shaderA, shaderB, mode, shader);
489 SkiaShader* shaderA, SkiaShader* shaderB, SkXfermode* mode) {
492 if (!SkXfermode::IsMode(mode, &skiaMode)) {
464 ComposeShader_create1(JNIEnv* env, jobject o, SkShader* shaderA, SkShader* shaderB, SkXfermode* mode) argument
488 ComposeShader_postCreate1(JNIEnv* env, jobject o, SkShader* shader, SkiaShader* shaderA, SkiaShader* shaderB, SkXfermode* mode) argument
/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/graphics/java/android/graphics/drawable/
H A DDrawable.java415 * Specify a color and porterduff mode to be the colorfilter for this
418 public void setColorFilter(int color, PorterDuff.Mode mode) { argument
419 setColorFilter(new PorterDuffColorFilter(color, mode));
775 // Special stuff for compatibility mode: if the target density is not
779 // an application in compatibility mode, without scaling those down
957 * in compatibility mode).
/frameworks/base/libs/androidfw/
H A DBackupHelpers.cpp58 * - 4-byte access mode (little-endian)
64 int mode; member in struct:android::file_metadata_v1
215 write_update_file(BackupDataWriter* dataStream, int fd, int mode, const String8& key, argument
218 LOGP("write_update_file %s (%s) : mode 0%o\n", realFilename, key.string(), mode);
247 metadata.mode = tolel(mode);
362 r.s.mode = st.st_mode;
410 LOGP(" new: modTime=%d,%d mode=%04o size=%-3d crc32=0x%08x",
411 f.modTime_sec, f.modTime_nsec, f.mode,
744 int mode; local
[all...]
/frameworks/base/libs/hwui/
H A DShapeCache.h549 SkXfermode* mode = SkXfermode::Create(SkXfermode::kSrc_Mode); local
550 SkSafeUnref(paint.setXfermode(mode));
/frameworks/base/libs/hwui/font/
H A DFont.cpp285 int numGlyphs, int x, int y, RenderMode mode, uint8_t *bitmap,
296 RenderGlyph render = gRenderGlyph[mode];
284 render(SkPaint* paint, const char* text, uint32_t start, uint32_t len, int numGlyphs, int x, int y, RenderMode mode, uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH, Rect* bounds, const float* positions) argument
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardUpdateMonitor.java508 protected void handleRingerModeChange(int mode) { argument
509 if (DEBUG) Log.d(TAG, "handleRingerModeChange(" + mode + ")");
510 mRingMode = mode;
514 cb.onRingerModeChanged(mode);
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/
H A DKeyguardUpdateMonitor.java410 protected void handleRingerModeChange(int mode) { argument
411 if (DEBUG) Log.d(TAG, "handleRingerModeChange(" + mode + ")");
412 mRingMode = mode;
414 mCallbacks.get(i).onRingerModeChanged(mode);
/frameworks/base/services/java/com/android/server/wm/
H A DSession.java225 public void setInTouchMode(boolean mode) { argument
227 mService.mInTouchMode = mode;
/frameworks/native/libs/utils/
H A DRefBase.cpp574 void RefBase::extendObjectLifetime(int32_t mode) argument
576 android_atomic_or(mode, &mRefs->mFlags);
/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/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/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...]
/frameworks/base/media/jni/audioeffect/
H A Dandroid_media_Visualizer.cpp494 android_media_visualizer_native_setScalingMode(JNIEnv *env, jobject thiz, jint mode) argument
501 return translateError(lpVisualizer->setScalingMode(mode));
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsBackupAgent.java452 int type, String domain, String relpath, long mode, long mtime)
451 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String relpath, long mode, long mtime) argument
H A DSettingsProvider.java958 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { argument
990 return context.getContentResolver().openFileDescriptor(soundUri, mode);
995 return super.openFile(uri, mode);
999 public AssetFileDescriptor openAssetFile(Uri uri, String mode) throws FileNotFoundException { argument
1033 pfd = context.getContentResolver().openFileDescriptor(soundUri, mode);
1041 return super.openAssetFile(soundUri, mode);
1055 return super.openAssetFile(uri, mode);
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorPlayer.cpp277 M4xVSS_MediaRendering mode,
281 return mPlayer->setMediaRenderingMode(mode, outputVideoSize);
276 setMediaRenderingMode( M4xVSS_MediaRendering mode, M4VIDEOEDITING_VideoFrameSize outputVideoSize) argument
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
H A DVideoEditorVideoEncoder.cpp1218 M4ENCODER_GlobalInterface** pEncoderInterface, M4ENCODER_OpenMode mode){
1226 pEncoderInterface, mode);
1284 M4ENCODER_GlobalInterface** pEncoderInterface, M4ENCODER_OpenMode mode){
1286 pEncoderInterface, mode);
1290 M4ENCODER_GlobalInterface** pEncoderInterface, M4ENCODER_OpenMode mode){
1292 pEncoderInterface, mode);
1296 M4ENCODER_GlobalInterface** pEncoderInterface, M4ENCODER_OpenMode mode){
1298 pEncoderInterface, mode);
1216 VideoEditorVideoEncoder_getInterface(M4ENCODER_Format format, M4ENCODER_Format* pFormat, M4ENCODER_GlobalInterface** pEncoderInterface, M4ENCODER_OpenMode mode) argument
1283 VideoEditorVideoEncoder_getInterface_H263(M4ENCODER_Format* pFormat, M4ENCODER_GlobalInterface** pEncoderInterface, M4ENCODER_OpenMode mode) argument
1289 VideoEditorVideoEncoder_getInterface_MPEG4(M4ENCODER_Format* pFormat, M4ENCODER_GlobalInterface** pEncoderInterface, M4ENCODER_OpenMode mode) argument
1295 VideoEditorVideoEncoder_getInterface_H264(M4ENCODER_Format* pFormat, M4ENCODER_GlobalInterface** pEncoderInterface, M4ENCODER_OpenMode mode) argument
/frameworks/av/media/libmedia/
H A DAudioSystem.cpp161 status_t AudioSystem::setMode(audio_mode_t mode) argument
163 if (uint32_t(mode) >= AUDIO_MODE_CNT) return BAD_VALUE;
166 return af->setMode(mode);

Completed in 3441 milliseconds

1234567891011>>