/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | NavigationBarTransitions.java | 82 protected boolean isLightsOut(int mode) { argument 83 return super.isLightsOut(mode) || (mAutoDim && !mWallpaperVisible 84 && mode != MODE_WARNING);
|
H A D | PhoneStatusBarTransitions.java | 59 private float getNonBatteryClockAlphaFor(int mode) { argument 60 return isLightsOut(mode) ? ICON_ALPHA_WHEN_LIGHTS_OUT_NON_BATTERY_CLOCK 61 : !isOpaque(mode) ? ICON_ALPHA_WHEN_NOT_OPAQUE 65 private float getBatteryClockAlpha(int mode) { argument 66 return isLightsOut(mode) ? ICON_ALPHA_WHEN_LIGHTS_OUT_BATTERY_CLOCK 67 : getNonBatteryClockAlphaFor(mode); 70 private boolean isOpaque(int mode) { argument 71 return !(mode == MODE_SEMI_TRANSPARENT || mode == MODE_TRANSLUCENT 72 || mode 81 applyMode(int mode, boolean animate) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | ExtensionController.java | 58 ExtensionBuilder<T> withUiMode(int mode, Supplier<T> def); argument
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/ |
H A D | FakeExtensionController.java | 79 public ExtensionBuilder<T> withUiMode(int mode, Supplier<T> def) { argument
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | SystemAudioAction.java | 49 // The target audio status of the action, whether to enable the system audio mode or not. 61 * @param targetStatus Whether to enable the system audio mode or not 135 protected void setSystemAudioMode(boolean mode) { argument 136 tv().setSystemAudioMode(mode); 149 HdmiLogger.debug("Failed to start system audio mode request."); 164 HdmiLogger.debug("Unexpected system audio mode request:" + receivedStatus);
|
/frameworks/base/services/core/java/com/android/server/storage/ |
H A D | AppFuseBridge.java | 90 public ParcelFileDescriptor openFile(int pid, int mountId, int fileId, int mode) argument 108 new File(scope.mountPoint, String.valueOf(fileId)), mode);
|
/frameworks/base/telephony/java/android/telephony/mbms/ |
H A D | MbmsTempFileProvider.java | 83 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { argument 86 final int fileMode = ParcelFileDescriptor.parseMode(mode);
|
/frameworks/base/test-runner/src/android/test/ |
H A D | ProviderTestCase2.java | 86 public File getDir(String name, int mode) { argument 89 return getContext().getDir("mockcontext2_" + name, mode);
|
H A D | RenamingDelegatingContext.java | 150 int mode, SQLiteDatabase.CursorFactory factory) { 156 return mFileContext.openOrCreateDatabase(internalName, mode, factory); 161 int mode, SQLiteDatabase.CursorFactory factory, DatabaseErrorHandler errorHandler) { 167 return mFileContext.openOrCreateDatabase(internalName, mode, factory, errorHandler); 202 public FileOutputStream openFileOutput(String name, int mode) argument 205 return mFileContext.openFileOutput(renamedFileName(name), mode); 149 openOrCreateDatabase(String name, int mode, SQLiteDatabase.CursorFactory factory) argument 160 openOrCreateDatabase(String name, int mode, SQLiteDatabase.CursorFactory factory, DatabaseErrorHandler errorHandler) argument
|
/frameworks/base/tests/RemoteDisplayProvider/src/com/android/media/remotedisplay/test/ |
H A D | RemoteDisplayProviderService.java | 68 public void onDiscoveryModeChanged(int mode) { argument 69 Log.d(TAG, "onDiscoveryModeChanged: mode=" + mode); 71 if (mode != DISCOVERY_MODE_NONE) { 155 if (mode == DISCOVERY_MODE_ACTIVE) {
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
H A D | BlendComposite.java | 59 private BlendingMode mode; field in class:BlendComposite 61 private BlendComposite(BlendingMode mode) { argument 62 this(mode, 1.0f); 65 private BlendComposite(BlendingMode mode, float alpha) { argument 66 this.mode = mode; 70 public static BlendComposite getInstance(BlendingMode mode) { argument 71 return mode.getBlendComposite(); 74 public static BlendComposite getInstance(BlendingMode mode, float alpha) { argument 76 return getInstance(mode); [all...] |
H A D | RadialGradient_Delegate.java | 88 * @param tile The Shader tiling mode 103 int[] colors, float[] positions, TileMode mode) { 104 super(colors, positions, mode); 102 RadialGradientPaint(float x, float y, float radius, int[] colors, float[] positions, TileMode mode) argument
|
/frameworks/layoutlib/bridge/src/android/view/ |
H A D | WindowCallback.java | 136 public void onActionModeStarted(ActionMode mode) { argument 141 public void onActionModeFinished(ActionMode mode) { argument
|
/frameworks/native/cmds/installd/tests/ |
H A D | installd_service_test.cpp | 65 static void mkdir(const char* path, uid_t owner, gid_t group, mode_t mode) { argument 67 ::mkdir(fullPath, mode); 69 ::chmod(fullPath, mode); 72 static void touch(const char* path, uid_t owner, gid_t group, mode_t mode) { argument 74 O_RDWR | O_CREAT, mode); 76 ::fchmod(fd, mode);
|
/frameworks/native/libs/sensor/ |
H A D | ISensorServer.cpp | 91 int mode, const String16& opPackageName) 96 data.writeInt32(mode); 168 int32_t mode = data.readInt32(); local 170 sp<ISensorEventConnection> connection(createSensorEventConnection(packageName, mode, 90 createSensorEventConnection(const String8& packageName, int mode, const String16& opPackageName) argument
|
/frameworks/native/libs/vr/libdisplay/include/private/dvr/ |
H A D | shared_buffer_helpers.h | 21 CPUMappedBuffer(DvrGlobalBufferKey key, CPUUsageMode mode); 24 CPUMappedBuffer(std::unique_ptr<IonBuffer> buffer, CPUUsageMode mode); 27 CPUMappedBuffer(IonBuffer* buffer, CPUUsageMode mode); 58 // The usage mode. 69 CPUMappedBroadcastRing(DvrGlobalBufferKey key, CPUUsageMode mode) argument 70 : CPUMappedBuffer(key, mode) {} 72 CPUMappedBroadcastRing(std::unique_ptr<IonBuffer> buffer, CPUUsageMode mode) argument 73 : CPUMappedBuffer(std::move(buffer), mode) {} 75 CPUMappedBroadcastRing(IonBuffer* buffer, CPUUsageMode mode) argument 76 : CPUMappedBuffer(buffer, mode) {} [all...] |
/frameworks/opt/net/voip/src/java/android/net/rtp/ |
H A D | AudioGroup.java | 54 * allowed to run in a mode other than {@link #MODE_ON_HOLD}. The others will 59 * should set the audio mode to {@link AudioManager#MODE_IN_COMMUNICATION} 67 * This mode is similar to {@link #MODE_NORMAL} except the speaker and 73 * This mode is similar to {@link #MODE_NORMAL} except the microphone is 79 * This mode indicates that the speaker, the microphone, and all 88 * This mode is similar to {@link #MODE_NORMAL} except the echo suppression 120 * Returns the current mode. 127 * Changes the current mode. It must be one of {@link #MODE_ON_HOLD}, 131 * @param mode The mode t 134 setMode(int mode) argument 144 nativeSetMode(int mode) argument 164 nativeAdd(int mode, int socket, String remoteAddress, int remotePort, String codecSpec, int dtmfType, String opPackageName) argument [all...] |
H A D | RtpStream.java | 33 * This mode indicates that the stream sends and receives packets at the 34 * same time. This is the initial mode for new streams. 39 * This mode indicates that the stream only sends packets. 44 * This mode indicates that the stream only receives packets. 117 * Returns the current mode. 124 * Changes the current mode. It must be one of {@link #MODE_NORMAL}, 127 * @param mode The mode to change to. 128 * @throws IllegalArgumentException if the mode is invalid. 132 public void setMode(int mode) { argument [all...] |
/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | AmrCodec.cpp | 75 // Handle mode-set and octet-align. 76 const char *modes = strcasestr(fmtp, "mode-set="); 82 int mode = c - '0'; local 83 if (mode > mMode) { 84 mMode = mode; 86 mModeSet |= 1 << mode; 95 // TODO: handle mode-change-*.
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
H A D | UT_reduce_backward.java | 285 private Int2 mode(RenderScript RS, final byte[] inputArray) { method in class:UT_reduce_backward 294 private boolean mode(RenderScript RS, ScriptC_reduce_backward s) { method in class:UT_reduce_backward 297 final Int2 javaRslt = mode(RS, inputArray); 300 return result("mode", javaRslt, rsRslt); 319 pass &= mode(pRS, s);
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
H A D | UT_reduce_backward.java | 287 private Int2 mode(RenderScript RS, final byte[] inputArray) { method in class:UT_reduce_backward 296 private boolean mode(RenderScript RS, ScriptC_reduce_backward s) { method in class:UT_reduce_backward 299 final Int2 javaRslt = mode(RS, inputArray); 302 return result("mode", javaRslt, rsRslt); 321 pass &= mode(pRS, s);
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
H A D | VectorDrawableCommon.java | 35 public void setColorFilter(int color, PorterDuff.Mode mode) { argument 37 mDelegateDrawable.setColorFilter(color, mode); 40 super.setColorFilter(color, mode);
|
/frameworks/support/transition/tests/src/android/support/transition/ |
H A D | FadeTest.java | 239 InterruptibleFade(int mode, Runnable middle, float[] alphaValues) { argument 240 super(mode);
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | AppCompatDialog.java | 174 public void onSupportActionModeStarted(ActionMode mode) { argument 178 public void onSupportActionModeFinished(ActionMode mode) { argument
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/ |
H A D | ActionMode.java | 28 * Represents a contextual mode of the user interface. Action modes can be used to provide 74 * Set the title of the action mode. This method will have no visible effect if 85 * Set the title of the action mode. This method will have no visible effect if 96 * Set the subtitle of the action mode. This method will have no visible effect if 107 * Set the subtitle of the action mode. This method will have no visible effect if 118 * Set whether or not the title/subtitle display for this action mode 121 * <p>In many cases the supplied title for an action mode is merely 123 * mode to be useful. If the title is optional, the system may choose 137 * @return true if this action mode has been given a hint to consider the 148 * @return true if this action mode consider 255 onCreateActionMode(ActionMode mode, Menu menu) argument 264 onPrepareActionMode(ActionMode mode, Menu menu) argument 274 onActionItemClicked(ActionMode mode, MenuItem item) argument 281 onDestroyActionMode(ActionMode mode) argument [all...] |