/frameworks/base/core/java/android/widget/ |
H A D | StackView.java | 366 private void setupStackSlider(View v, int mode) { argument 367 mStackSlider.setMode(mode); 1022 void setMode(int mode) { argument 1023 mMode = mode;
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ActionBarImpl.java | 363 "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 D | ActionBarView.java | 359 // Allow full screen width in split mode. 436 // Allow full screen width in split mode. 670 public void setNavigationMode(int mode) { argument 672 if (mode != oldMode) { 685 switch (mode) { 709 mNavigationMode = mode; 806 // Don't show while in expanded mode or with empty text 1031 // In LTR mode, we start from left padding and go to the right; in RTL mode, we start
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Canvas.cpp | 318 jint color, SkPorterDuff::Mode mode) { 319 canvas->drawColor(color, SkPorterDuff::ToXfermodeMode(mode)); 329 SkCanvas::PointMode mode) { 354 canvas->drawPoints(mode, count, pts, paint); 679 SkCanvas::VertexMode mode, int vertexCount, 731 canvas->drawVertices(mode, ptCount, verts, texs, colors, NULL, 317 drawColor__II(JNIEnv* env, jobject, SkCanvas* canvas, jint color, SkPorterDuff::Mode mode) argument 327 doPoints(JNIEnv* env, jobject jcanvas, jfloatArray jptsArray, jint offset, jint count, jobject jpaint, SkCanvas::PointMode mode) argument 678 drawVertices(JNIEnv* env, jobject, SkCanvas* canvas, SkCanvas::VertexMode mode, int vertexCount, jfloatArray jverts, int vertIndex, jfloatArray jtexs, int texIndex, jintArray jcolors, int colorIndex, jshortArray jindices, int indexIndex, int indexCount, const SkPaint* paint) argument
|
H A D | Paint.cpp | 109 static void setHinting(JNIEnv* env, jobject paint, jint mode) { argument 112 mode == 0 ? SkPaint::kNo_Hinting : SkPaint::kSlight_Hinting);
|
/frameworks/base/core/jni/ |
H A D | android_opengl_GLES10.cpp | 402 /* void glCullFace ( GLenum mode ) */ 405 (JNIEnv *_env, jobject _this, jint mode) { 407 (GLenum)mode 553 /* void glDrawArrays ( GLenum mode, GLint first, GLsizei count ) */ 556 (JNIEnv *_env, jobject _this, jint mode, jint first, jint count) { 558 (GLenum)mode, 564 /* void glDrawElements ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices ) */ 567 (JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf) { 588 (GLenum)mode, 927 /* void glFrontFace ( GLenum mode ) */ 404 android_glCullFace__I(JNIEnv *_env, jobject _this, jint mode) argument 555 android_glDrawArrays__III(JNIEnv *_env, jobject _this, jint mode, jint first, jint count) argument 566 android_glDrawElements__IIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf) argument 929 android_glFrontFace__I(JNIEnv *_env, jobject _this, jint mode) argument 1814 android_glHint__II(JNIEnv *_env, jobject _this, jint target, jint mode) argument 2918 android_glMatrixMode__I(JNIEnv *_env, jobject _this, jint mode) argument 3322 android_glShadeModel__I(JNIEnv *_env, jobject _this, jint mode) argument [all...] |
H A D | android_util_AssetManager.cpp | 117 jstring fileName, jint mode) 131 if (mode != Asset::ACCESS_UNKNOWN && mode != Asset::ACCESS_RANDOM 132 && mode != Asset::ACCESS_STREAMING && mode != Asset::ACCESS_BUFFER) { 133 jniThrowException(env, "java/lang/IllegalArgumentException", "Bad access mode"); 137 Asset* a = am->open(fileName8.c_str(), (Asset::AccessMode)mode); 211 jint mode) 225 if (mode != Asset::ACCESS_UNKNOWN && mode ! 116 android_content_AssetManager_openAsset(JNIEnv* env, jobject clazz, jstring fileName, jint mode) argument 208 android_content_AssetManager_openNonAssetNative(JNIEnv* env, jobject clazz, jint cookie, jstring fileName, jint mode) argument [all...] |
H A D | android_view_GLES20Canvas.cpp | 95 Caches::FlushMode mode) { 97 Caches::getInstance().flush(mode); 419 OpenGLRenderer* renderer, jint color, SkXfermode::Mode mode) { 420 renderer->drawColor(color, mode); 94 android_view_GLES20Canvas_flushCaches(JNIEnv* env, jobject clazz, Caches::FlushMode mode) argument 418 android_view_GLES20Canvas_drawColor(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jint color, SkXfermode::Mode mode) argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 781 * specified RGB color, using srcover porterduff mode. 793 * specified ARGB color, using srcover porterduff mode. 806 * specified color, using srcover porterduff mode. 819 * @param mode the porter-duff mode to apply to the color 821 public void drawColor(int color, PorterDuff.Mode mode) { argument 822 native_drawColor(mNativeCanvas, color, mode.nativeInt); 1051 * then the bitmap will be drawn as if it were in a Shader with CLAMP mode. 1077 * then the bitmap will be drawn as if it were in a Shader with CLAMP mode. 1108 * then the bitmap will be drawn as if it were in a Shader with CLAMP mode 1299 drawVertices(VertexMode mode, int vertexCount, float[] verts, int vertOffset, float[] texs, int texOffset, int[] colors, int colorOffset, short[] indices, int indexOffset, int indexCount, Paint paint) argument 1673 native_drawColor(int nativeCanvas, int color, int mode) argument 1724 nativeDrawVertices(int nCanvas, int mode, int n, float[] verts, int vertOffset, float[] texs, int texOffset, int[] colors, int colorOffset, short[] indices, int indexOffset, int indexCount, int nPaint) argument [all...] |
/frameworks/base/libs/androidfw/ |
H A D | AssetManager.cpp | 499 Asset* AssetManager::open(const char* fileName, AccessMode mode) argument 521 Asset* pAsset = openNonAssetInPathLocked(assetName.string(), mode, mAssetPaths.itemAt(i)); 536 Asset* AssetManager::openNonAsset(const char* fileName, AccessMode mode) argument 555 fileName, mode, mAssetPaths.itemAt(i)); 564 Asset* AssetManager::openNonAsset(void* cookie, const char* fileName, AccessMode mode) argument 580 fileName, mode, mAssetPaths.itemAt(which)); 781 Asset* AssetManager::openNonAssetInPathLocked(const char* fileName, AccessMode mode, argument 791 pAsset = openAssetFromFileLocked(path, mode); 796 pAsset = openAssetFromFileLocked(path, mode); 818 pAsset = openAssetFromZipLocked(pZip, entry, mode, pat 840 openInPathLocked(const char* fileName, AccessMode mode, const asset_path& ap) argument 869 openInLocaleVendorLocked(const char* fileName, AccessMode mode, const asset_path& ap, const char* locale, const char* vendor) argument 1057 openAssetFromFileLocked(const String8& pathName, AccessMode mode) argument 1079 openAssetFromZipLocked(const ZipFileRO* pZipFile, const ZipEntryRO entry, AccessMode mode, const String8& entryName) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | DisplayListRenderer.cpp | 517 SkXfermode::Mode mode = (SkXfermode::Mode) getInt(); local 1143 SkXfermode::Mode mode = (SkXfermode::Mode) getInt(); local 1148 alpha, mode); 1648 SkXfermode::Mode mode; local 1649 OpenGLRenderer::getAlphaAndModeDirect(paint, &alpha, &mode); 1659 addInt(mode); 1664 status_t DisplayListRenderer::drawColor(int color, SkXfermode::Mode mode) { argument 1667 addInt(mode);
|
/frameworks/base/services/input/ |
H A D | InputDispatcher.h | 65 * Constants used to determine the input event injection synchronization mode. 291 * The synchronization mode determines whether the method blocks while waiting for 314 /* Sets the input dispatching mode. 674 Mode mode; member in struct:android::InputDispatcher::CancelationOptions 685 CancelationOptions(Mode mode, const char* reason) : argument 686 mode(mode), reason(reason), keyCode(-1), deviceId(-1) { }
|
/frameworks/base/services/java/com/android/server/ |
H A D | NetworkManagementService.java | 1038 /* @param mode can be "AP", "STA" or "P2P" */ 1040 public void wifiFirmwareReload(String wlanIface, String mode) { argument 1043 mConnector.execute("softap", "fwreload", wlanIface, mode);
|
H A D | WifiService.java | 90 // on device idle state, airplane mode and boot. 152 /* Wifi enabled while in airplane mode */ 154 /* Wifi disabled due to airplane mode on */ 159 /* Tracks current airplane mode state */ 495 // If we are already disabled (could be due to airplane mode), avoid changing persist 545 // if airplane mode is on or not. The scenario of 546 // wifi being disabled due to airplane mode being turned on 559 /* On airplane mode disable, restore wifi state if necessary */ 1165 /* Disable tethering when airplane mode is enabled */ 1213 * Returns true if Wi-Fi is sensitive to airplane mode, an 1511 DeathRecipient(int mode, String tag, IBinder binder, WorkSource ws) argument [all...] |
/frameworks/base/services/java/com/android/server/am/ |
H A D | ActivityStack.java | 2337 // Finally, if this is a normal launch mode (that is, not 3821 int mode, boolean oomAdj) { 3827 return finishCurrentActivityLocked(r, index, mode, oomAdj); 3831 int index, int mode, boolean oomAdj) { 3835 if (mode == FINISH_AFTER_VISIBLE && r.nowVisible) { 3867 if (mode == FINISH_IMMEDIATELY 3820 finishCurrentActivityLocked(ActivityRecord r, int mode, boolean oomAdj) argument 3830 finishCurrentActivityLocked(ActivityRecord r, int index, int mode, boolean oomAdj) argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Canvas_Delegate.java | 617 /*package*/ static void native_drawColor(int nativeCanvas, final int color, final int mode) { argument 637 PorterDuffXfermode_Delegate.getPorterDuffMode(mode), 0xFF); 971 /*package*/ static void nativeDrawVertices(int nCanvas, int mode, int n, argument 1343 PorterDuff.Mode mode = 1346 forceSrcMode[0] = mode == PorterDuff.Mode.SRC_OVER || 1347 mode == PorterDuff.Mode.SRC; 1351 // if we can't force SRC mode, then create a temp bitmap of TYPE_RGB
|
H A D | Paint_Delegate.java | 290 /*package*/ static void setHinting(Paint thisPaint, int mode) { argument 297 delegate.mHintingMode = mode;
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
H A D | RecipientEditTextView.java | 1676 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument 1681 public void onDestroyActionMode(ActionMode mode) { argument 1685 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { argument 1693 public boolean onCreateActionMode(ActionMode mode, Menu menu) { argument 2516 // Start drag mode.
|
/frameworks/base/media/java/android/media/ |
H A D | AudioManager.java | 42 * AudioManager provides access to volume and ringer mode control. 69 * Sticky broadcast intent action indicating that the ringer mode has 70 * changed. Includes the new ringer mode. 78 * The new ringer mode. 94 * current ringer mode and listen to {@link #RINGER_MODE_CHANGED_ACTION} instead. 144 * current ringer mode and listen to {@link #RINGER_MODE_CHANGED_ACTION} instead. 155 * current ringer mode and listen to {@link #RINGER_MODE_CHANGED_ACTION} instead. 278 * with {@link #ADJUST_LOWER}, then the ringer mode may switch the silent or 279 * vibrate mode. 283 * affected by the ringer mode 1389 setMode(int mode) argument 1501 setRouting(int mode, int routes, int mask) argument 1514 getRouting(int mode) argument [all...] |
H A D | MediaPlayer.java | 263 * <li>If the looping mode was being set to <var>true</var>with 266 * <li>If the looping mode was set to <var>false 699 /* Do not change these video scaling mode values below without updating 705 * Specifies a video scaling mode. The content is stretched to the 710 * there is no content cropping with this video scaling mode. 715 * Specifies a video scaling mode. The content is scaled, maintaining 722 * Sets video scaling mode. To make the target video scaling mode 725 * scaling mode is {@link #VIDEO_SCALING_MODE_SCALE_TO_FIT}. 733 * @param mode targe 739 setVideoScalingMode(int mode) argument 1073 setWakeMode(Context context, int mode) argument 2429 isVideoScalingModeSupported(int mode) argument [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES11.java | 242 // C function void glDrawElements ( GLenum mode, GLsizei count, GLenum type, GLint offset ) 245 int mode, 244 glDrawElements( int mode, int count, int type, int offset ) argument
|
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
H A D | GL11.java | 214 int mode, 213 glDrawElements( int mode, int count, int type, int offset ) argument
|
/frameworks/base/core/java/android/app/ |
H A D | ActivityManagerNative.java | 1024 int mode = data.readInt(); 1025 int res = checkUriPermission(uri, pid, uid, mode); 1049 int mode = data.readInt(); 1050 grantUriPermission(app, targetPkg, uri, mode); 1060 int mode = data.readInt(); 1061 revokeUriPermission(app, uri, mode); 1478 int mode = data.readInt(); 1479 grantUriPermissionFromOwner(owner, fromUid, targetPkg, uri, mode); 1491 int mode = data.readInt(); 1492 revokeUriPermissionFromOwner(owner, uri, mode); 3103 checkUriPermission(Uri uri, int pid, int uid, int mode) argument 3119 grantUriPermission(IApplicationThread caller, String targetPkg, Uri uri, int mode) argument 3133 revokeUriPermission(IApplicationThread caller, Uri uri, int mode) argument 3664 grantUriPermissionFromOwner(IBinder owner, int fromUid, String targetPkg, Uri uri, int mode) argument 3680 revokeUriPermissionFromOwner(IBinder owner, Uri uri, int mode) argument 3776 setFrontActivityScreenCompatMode(int mode) argument 3800 setPackageScreenCompatMode(String packageName, int mode) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | GLES20Canvas.java | 941 public void drawColor(int color, PorterDuff.Mode mode) { argument 942 nDrawColor(mRenderer, color, mode.nativeInt); 945 private static native void nDrawColor(int renderer, int color, int mode); argument 1320 public void drawVertices(VertexMode mode, int vertexCount, float[] verts, int vertOffset, argument
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebSettingsClassic.java | 1554 public void setCacheMode(int mode) { argument 1555 if (mode != mOverrideCacheMode) { 1556 mOverrideCacheMode = mode; 1648 // AutoFill is always disabled in private browsing mode.
|