/frameworks/base/core/java/android/content/ |
H A D | ContextWrapper.java | 169 public SharedPreferences getSharedPreferences(String name, int mode) { argument 170 return mBase.getSharedPreferences(name, mode); 180 public FileOutputStream openFileOutput(String name, int mode) argument 182 return mBase.openFileOutput(name, mode); 256 public File getDir(String name, int mode) { argument 257 return mBase.getDir(name, mode); 261 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory) { argument 262 return mBase.openOrCreateDatabase(name, mode, factory); 266 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory, argument 268 return mBase.openOrCreateDatabase(name, mode, factor [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | PackageInstaller.java | 869 public int mode = MODE_INVALID; field in class:PackageInstaller.SessionParams 894 * @param mode one of {@link #MODE_FULL_INSTALL} or 898 public SessionParams(int mode) { argument 899 this.mode = mode; 904 mode = source.readInt(); 1001 pw.printPair("mode", mode); 1021 dest.writeInt(mode); 1066 public int mode; field in class:PackageInstaller.SessionInfo [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | Keyboard.java | 132 /** Keyboard mode, or zero, if none. */ 178 /** The keyboard mode for this row */ 179 public int mode; field in class:Keyboard.Row 207 mode = a.getResourceId(com.android.internal.R.styleable.Keyboard_Row_keyboardMode, 515 * that have a keyboard mode defined but don't match the specified mode. 518 * @param modeId keyboard mode identifier 538 * that have a keyboard mode defined but don't match the specified mode. 541 * @param modeId keyboard mode identifie [all...] |
/frameworks/base/core/java/android/service/dreams/ |
H A D | DreamService.java | 344 public void onActionModeStarted(ActionMode mode) { argument 349 public void onActionModeFinished(ActionMode mode) { argument 488 * Returns whether or not this dream is in low profile mode. Defaults to true. 513 * Returns whether or not this dream is in fullscreen mode. Defaults to false. 589 * Note that since the purpose of doze mode is to conserve power (especially when 688 * used, the dream must make sure to set the mode back
|
/frameworks/base/core/java/android/service/notification/ |
H A D | ZenModeConfig.java | 43 * Persisted configuration for zen mode. 80 private static final String SLEEP_ATT_MODE = "mode"; 309 final String mode = parser.getAttributeValue(null, SLEEP_ATT_MODE); 310 rt.sleepMode = isValidSleepMode(mode)? mode : null; 474 downtime.mode = sleepMode; 542 // e.g. condition://android/downtime?start=10.00&end=7.00&mode=days%3A5%2C6&none=false 551 .appendQueryParameter("mode", downtime.mode) 570 downtime.mode 593 public String mode; field in class:ZenModeConfig.DowntimeInfo [all...] |
/frameworks/base/core/java/android/view/ |
H A D | SurfaceControl.java | 83 IBinder displayToken, int mode); 221 * Display power mode off: used while blanking the screen. 227 * Display power mode doze: used while putting the screen into low power mode. 233 * Display power mode normal: used while unblanking the screen. 239 * Display power mode doze: used while putting the screen into a suspended 240 * low power mode. Use only with {@link SurfaceControl#setDisplayPowerMode}. 527 public static void setDisplayPowerMode(IBinder displayToken, int mode) { argument 531 nativeSetDisplayPowerMode(displayToken, mode); 82 nativeSetDisplayPowerMode( IBinder displayToken, int mode) argument
|
/frameworks/base/core/java/android/widget/ |
H A D | HorizontalScrollView.java | 540 * drag mode. 1600 public void setOverScrollMode(int mode) { argument 1601 if (mode != OVER_SCROLL_NEVER) { 1611 super.setOverScrollMode(mode);
|
H A D | ImageView.java | 111 // AdjustViewBounds behavior will be in compatibility mode for older apps. 177 // blending mode SRC_ATOP. Preserve that default behavior. 462 * mode, which is {@link PorterDuff.Mode#SRC_IN} by default. 465 * mutate the drawable and apply the specified tint and tint mode using 492 * Specifies the blending mode used to apply the tint specified by 494 * mode is {@link PorterDuff.Mode#SRC_IN}. 496 * @param tintMode the blending mode used to apply the tint, may be 510 * @return the blending mode used to apply the tint to the image drawable 644 * @param scaleType The desired scaling mode. 1244 * @param mode Ho 1249 setColorFilter(int color, PorterDuff.Mode mode) argument 1272 setXfermode(Xfermode mode) argument [all...] |
H A D | Spinner.java | 79 * Use the theme-supplied value to select the dropdown mode. 107 * mode of displaying choices. <code>mode</code> may be one of 112 * @param mode Constant describing how the user will select choices from the spinner. 117 public Spinner(Context context, int mode) { argument 118 this(context, null, com.android.internal.R.attr.spinnerStyle, mode); 149 * and default style. <code>mode</code> may be one of {@link #MODE_DIALOG} or 158 * @param mode Constant describing how the user will select choices from the spinner. 163 public Spinner(Context context, AttributeSet attrs, int defStyleAttr, int mode) { argument 164 this(context, attrs, defStyleAttr, 0, mode); 187 Spinner( Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes, int mode) argument [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ToolbarActionBar.java | 204 "setSelectedNavigationIndex not valid for current navigation mode"); 305 public void setNavigationMode(@NavigationMode int mode) { argument 306 if (mode == ActionBar.NAVIGATION_MODE_TABS) { 309 mDecorToolbar.setNavigationMode(mode);
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
H A D | InputMethodUtils.java | 413 @Nullable final Locale locale, final boolean checkCountry, final String mode) { 433 if (mode == SUBTYPE_MODE_ANY || TextUtils.isEmpty(mode) || 434 mode.equalsIgnoreCase(subtype.getMode())) { 445 public static boolean containsSubtypeOf(InputMethodInfo imi, String language, String mode) { argument 452 if (mode == SUBTYPE_MODE_ANY || TextUtils.isEmpty(mode) || 453 mode.equalsIgnoreCase(subtype.getMode())) { 470 InputMethodInfo imi, String mode) { 475 if (subtype.overridesImplicitlyEnabledSubtype() && subtype.getMode().equals(mode)) { 412 containsSubtypeOf(final InputMethodInfo imi, @Nullable final Locale locale, final boolean checkCountry, final String mode) argument 469 getOverridingImplicitlyEnabledSubtypes( InputMethodInfo imi, String mode) argument 619 findLastResortApplicableSubtypeLocked( Resources res, List<InputMethodSubtype> subtypes, String mode, String locale, boolean canIgnoreLocaleAsLastResort) argument [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ToolbarWidgetWrapper.java | 482 public void setNavigationMode(int mode) { argument 484 if (mode != oldMode) { 498 mNavigationMode = mode; 500 switch (mode) { 517 throw new IllegalArgumentException("Invalid navigation mode " + mode);
|
/frameworks/base/core/jni/ |
H A D | android_opengl_GLES11.cpp | 671 /* void glDrawElements ( GLenum mode, GLsizei count, GLenum type, GLint offset ) */ 674 (JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint offset) { 679 (GLenum)mode, 673 android_glDrawElements__IIII(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint offset) argument
|
H A D | android_util_Process.cpp | 718 jint mode = formatData[fi]; local 719 if ((mode&PROC_PARENS) != 0) { 721 } else if ((mode&PROC_QUOTES != 0)) { 725 mode &= ~PROC_QUOTES; 728 const char term = (char)(mode&PROC_TERM_MASK); 737 if ((mode&PROC_PARENS) != 0) { 743 } else if ((mode&PROC_QUOTES) != 0) { 759 if ((mode&PROC_COMBINE) != 0) { 766 //ALOGI("Field %" PRId32 ": %" PRId32 "-%" PRId32 " dest=%" PRId32 " mode=0x%" PRIx32 "\n", i, start, end, di, mode); [all...] |
H A D | android_view_SurfaceControl.cpp | 426 static void nativeSetDisplayPowerMode(JNIEnv* env, jclass clazz, jobject tokenObj, jint mode) { argument 431 SurfaceComposerClient::setDisplayPowerMode(token, mode);
|
H A D | android_view_ThreadedRenderer.cpp | 161 virtual void startFrame(TreeInfo::TraversalMode mode) { argument 162 if (mode == TreeInfo::MODE_FULL) { 165 AnimationContext::startFrame(mode);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | BitmapDrawable.java | 388 * @param mode The repeat mode for this drawable. 394 public void setTileModeX(Shader.TileMode mode) { argument 395 setTileModeXY(mode, mBitmapState.mTileModeY); 404 * @param mode The repeat mode for this drawable. 410 public final void setTileModeY(Shader.TileMode mode) { argument 411 setTileModeXY(mBitmapState.mTileModeX, mode); 420 * @param xmode The X repeat mode for this drawable. 421 * @param ymode The Y repeat mode fo [all...] |
H A D | Drawable.java | 452 public void setXfermode(Xfermode mode) { argument 468 * Specify a color and Porter-Duff mode to be the color filter for this 471 public void setColorFilter(int color, PorterDuff.Mode mode) { argument 472 setColorFilter(new PorterDuffColorFilter(color, mode)); 501 * Specifies a tint blending mode for this drawable. 508 * @param tintMode A Porter-Duff blending mode 978 // Special stuff for compatibility mode: if the target density is not 982 // an application in compatibility mode, without scaling those down 1227 * in compatibility mode). 1291 * mode [all...] |
H A D | LayerDrawable.java | 62 * Padding mode used to nest each layer inside the padding of the previous 70 * Padding mode used to stack each layer directly atop the previous layer. 470 * @param mode padding mode, one of: 481 public void setPaddingMode(int mode) { argument 482 if (mLayerState.mPaddingMode != mode) { 483 mLayerState.mPaddingMode = mode; 488 * @return the current padding mode
|
H A D | RippleDrawable.java | 394 * @param mode padding mode, one of: 404 public void setPaddingMode(int mode) { argument 405 super.setPaddingMode(mode);
|
/frameworks/base/libs/androidfw/ |
H A D | BackupHelpers.cpp | 58 * - 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); 245 metadata.mode = tolel(mode); 368 r.s.mode = st.st_mode; 410 LOGP(" old: modTime=%d,%d mode=%04o size=%-3d crc32=0x%08x", 411 f.modTime_sec, f.modTime_nsec, f.mode, 750 int mode; local [all...] |
/frameworks/base/libs/hwui/ |
H A D | DisplayListRenderer.cpp | 262 status_t DisplayListRenderer::drawColor(int color, SkXfermode::Mode mode) { argument 263 addDrawOp(new (alloc()) DrawColorOp(color, mode));
|
H A D | OpenGLRenderer.h | 176 virtual status_t drawColor(int color, SkXfermode::Mode mode); 276 * @param mode Where to store the resulting xfermode 278 static inline void getAlphaAndModeDirect(const SkPaint* paint, int* alpha, SkXfermode::Mode* mode) { argument 279 *mode = getXfermodeDirect(paint); 446 * @param mode Where to store the resulting xfermode 448 inline void getAlphaAndMode(const SkPaint* paint, int* alpha, SkXfermode::Mode* mode) const; 551 * @param mode The blending mode of the layer 614 * @param paint The paint containing the color, blending mode, etc. 627 * @param paint The paint containing the color, blending mode, et [all...] |
H A D | ProgramCache.cpp | 783 void ProgramCache::generateBlend(String8& shader, const char* name, SkXfermode::Mode mode) { argument 788 shader.append(gBlendOps[mode]);
|
H A D | RenderNode.cpp | 245 if (info.mode == TreeInfo::MODE_FULL) { 253 if (info.mode == TreeInfo::MODE_FULL) { 720 void RenderNode::issueOperationsOf3dChildren(ChildrenSelectMode mode, argument 725 || (mode == kNegativeZChildren && zTranslatedNodes[0].key > 0.0f) 726 || (mode == kPositiveZChildren && zTranslatedNodes[size - 1].key < 0.0f)) { 745 if (mode == kNegativeZChildren) { 756 endIndex - drawIndex, mode == kNegativeZChildren ? "negative" : "positive");
|