/frameworks/base/services/core/java/com/android/server/lights/ |
H A D | Light.java | 38 * Low-persistence light mode. 45 public abstract void setFlashing(int color, int mode, int onMS, int offMS); argument
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | FramebufferBlendActivity.java | 87 private void drawBlendedBitmap(Canvas canvas, PorterDuff.Mode mode) { argument 93 mPaint.setXfermode(new PorterDuffXfermode(mode)); 99 private void drawBlendedBitmapInverse(Canvas canvas, PorterDuff.Mode mode) { argument 104 mPaint.setXfermode(new PorterDuffXfermode(mode));
|
/frameworks/webview/chromium/plat_support/ |
H A D | draw_gl_functor.cpp | 58 aw_info.mode = AwDrawGLInfo::kModeDraw; 77 aw_info.mode = AwDrawGLInfo::kModeProcess; 80 aw_info.mode = AwDrawGLInfo::kModeProcessNoContext; 83 aw_info.mode = AwDrawGLInfo::kModeSync;
|
/frameworks/base/core/java/android/content/ |
H A D | ContentProvider.java | 367 String callingPkg, Uri uri, String mode, ICancellationSignal cancellationSignal, 371 enforceFilePermission(callingPkg, uri, mode, callerToken); 375 uri, mode, CancellationSignal.fromTransport(cancellationSignal)); 383 String callingPkg, Uri uri, String mode, ICancellationSignal cancellationSignal) 387 enforceFilePermission(callingPkg, uri, mode, null); 391 uri, mode, CancellationSignal.fromTransport(cancellationSignal)); 486 private void enforceFilePermission(String callingPkg, Uri uri, String mode, argument 488 if (mode != null && mode.indexOf('w') != -1) { 503 final int mode 366 openFile( String callingPkg, Uri uri, String mode, ICancellationSignal cancellationSignal, IBinder callerToken) argument 382 openAssetFile( String callingPkg, Uri uri, String mode, ICancellationSignal cancellationSignal) argument 1417 openFile(@onNull Uri uri, @NonNull String mode) argument 1487 openFile(@onNull Uri uri, @NonNull String mode, @Nullable CancellationSignal signal) argument 1543 openAssetFile(@onNull Uri uri, @NonNull String mode) argument 1606 openAssetFile(@onNull Uri uri, @NonNull String mode, @Nullable CancellationSignal signal) argument 1625 openFileHelper(@onNull Uri uri, @NonNull String mode) argument [all...] |
/frameworks/native/libs/vr/libvrsensor/ |
H A D | pose_client.cpp | 93 // different mode. 104 // Sets the data mode for the pose service. 105 int SetMode(DvrPoseMode mode) { argument 108 trans.Send<int>(DVR_POSE_SET_MODE, &mode, sizeof(mode), nullptr, 0); 114 // Gets the data mode for the pose service. 116 int mode; local 119 trans.Send<int>(DVR_POSE_GET_MODE, nullptr, 0, &mode, sizeof(mode)); 123 *out_mode = DvrPoseMode(mode); 313 dvrPoseSetMode(DvrPose* client, DvrPoseMode mode) argument 317 dvrPoseGetMode(DvrPose* client, DvrPoseMode* mode) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | dec_amr.h | 70 #include "mode.h" 178 Word16 Decoder_amr_reset(Decoder_amrState *st, enum Mode mode); 187 enum Mode mode, /* i : AMR mode */
|
H A D | ph_disp.cpp | 393 mode = codec mode (enum Mode) 440 enum Mode mode, // i : codec mode 548 if (sub(mode, MR122) != 0 && 549 sub(mode, MR102) != 0 && 550 sub(mode, MR74) != 0 && 566 // Choose filter corresponding to codec mode and dispersion criterium 567 if (sub (mode, MR795) == 0) 656 enum Mode mode, /* 654 ph_disp( ph_dispState *state, enum Mode mode, Word16 x[], Word16 cbGain, Word16 ltpGain, Word16 inno[], Word16 pitch_fac, Word16 tmp_shift, Flag *pOverflow ) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | sid_sync.cpp | 74 #include "mode.h" 439 mode = codec mode (enum Mode) 457 This function performs SID frame synchronization to ensure that the mode 458 only switches to a neighbouring mode. 496 enum Mode mode, 502 if (mode == MRDTX) 495 sid_sync(void *state, enum Mode mode, enum TXFrameType *tx_frame_type) argument
|
/frameworks/av/media/libstagefright/omx/ |
H A D | OMXUtils.h | 66 inline static const char *asString(IOMX::PortMode mode, const char *def = "??") { argument 68 switch (mode) {
|
/frameworks/av/services/audiopolicy/ |
H A D | audio_policy.conf | 59 # mode <gain modes supported> # e.g. AUDIO_GAIN_MODE_CHANNELS 60 # channel_mask <controlled channels> # needed if mode AUDIO_GAIN_MODE_CHANNELS 65 # min_ramp_ms <min duration in ms> # needed if mode AUDIO_GAIN_MODE_RAMP 66 # max_ramp_ms <max duration ms> # needed if mode AUDIO_GAIN_MODE_RAMP 96 mode AUDIO_GAIN_MODE_JOINT
|
/frameworks/base/core/java/android/os/ |
H A D | PowerSaveState.java | 21 * 1. Whether battery saver mode is enabled 22 * 2. Specific parameters to use in battery saver mode(i.e. screen brightness, gps mode) 86 public Builder setGpsMode(int mode) { argument 87 mGpsMode = mode;
|
H A D | ParcelFileDescriptor.java | 114 * There are no guarantees that this access mode will remain on 130 * There are no guarantees that this access mode will remain on 199 * @param mode The desired access mode, must be one of 207 * be opened with the requested mode. 210 public static ParcelFileDescriptor open(File file, int mode) throws FileNotFoundException { argument 211 final FileDescriptor fd = openInternal(file, mode); 221 * @param mode The desired access mode, must be one of 232 * be opened with the requested mode 235 open(File file, int mode, Handler handler, final OnCloseListener listener) argument 287 openInternal(File file, int mode) argument 555 parseMode(String mode) argument [all...] |
/frameworks/base/core/java/com/android/internal/backup/ |
H A D | IObbBackupService.aidl | 43 long fileSize, int type, in String path, long mode, long mtime,
|
/frameworks/base/core/jni/android/graphics/ |
H A D | ColorFilter.cpp | 39 SkBlendMode mode = static_cast<SkBlendMode>(modeHandle); local 40 return reinterpret_cast<jlong>(SkColorFilter::MakeModeFilter(srcColor, mode).release());
|
/frameworks/base/libs/androidfw/include/androidfw/ |
H A D | Asset.h | 160 static Asset* createFromFile(const char* fileName, AccessMode mode); 166 AccessMode mode); 176 AccessMode mode); 190 size_t uncompressedLength, AccessMode mode); 198 static Asset* createFromUncompressedMap(FileMap* dataMap, AccessMode mode); 201 AccessMode mode); 210 size_t uncompressedLen, AccessMode mode); 213 size_t uncompressedLen, AccessMode mode);
|
/frameworks/base/libs/hwui/ |
H A D | GlLayer.cpp | 36 SkColorFilter* colorFilter, int alpha, SkBlendMode mode, bool blend) 37 : Layer(renderState, Api::OpenGL, colorFilter, alpha, mode) 35 GlLayer(RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight, SkColorFilter* colorFilter, int alpha, SkBlendMode mode, bool blend) argument
|
H A D | ClipArea.h | 100 explicit ClipBase(ClipMode mode) argument 101 : mode(mode) {} 103 : mode(ClipMode::Rectangle) 105 const ClipMode mode; member in struct:android::uirenderer::ClipBase
|
/frameworks/base/tools/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/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/content/ |
H A D | SharingSupportProvider.java | 75 public ParcelFileDescriptor openFile(Uri uri, String mode) { argument 77 if (mode.equals("r") &&
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/content/ |
H A D | SharingSupportProvider.java | 75 public ParcelFileDescriptor openFile(Uri uri, String mode) { argument 77 if (mode.equals("r") &&
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | DefaultMeasureSpecTest.java | 128 int mode = View.MeasureSpec.getMode(mHSpec); 129 switch (mode) { 143 int mode = View.MeasureSpec.getMode(mWSpec); 144 switch (mode) { 167 int mode = View.MeasureSpec.getMode(spec); 168 if (mode == View.MeasureSpec.AT_MOST) { 171 if (mode == View.MeasureSpec.UNSPECIFIED) { 174 if (mode == View.MeasureSpec.EXACTLY) {
|
/frameworks/base/core/java/android/content/pm/ |
H A D | ActivityInfo.java | 72 * The launch mode style requested by the activity. From the 101 * The document launch mode style requested by the activity. From the 188 * Activity is resizeable and supported picture-in-picture mode. This flag is now deprecated 221 * Value indicating if the resizing mode the activity supports. 245 * default color mode (sRGB, low dynamic range). 275 * The color mode requested by this activity. The target display may not be 402 * Bit in {@link #flags} indicating that this activity should be run with VR mode enabled. 439 * Bit in {@link #flags} indicating if the activity supports picture-in-picture mode. 706 * can itself handle the ui mode. Set from the 852 * The desired soft input mode fo 1041 isResizeableMode(int mode) argument 1051 isPreserveOrientationMode(int mode) argument 1058 resizeModeToString(int mode) argument [all...] |
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | LegacyResultMapper.java | 166 * control.mode 183 int mode = LegacyMetadataMapper.convertSceneModeFromLegacy(legacySceneMode); 184 if (mode != LegacyMetadataMapper.UNKNOWN_MODE) { 185 result.set(CaptureResult.CONTROL_SCENE_MODE, mode); 189 Log.w(TAG, "Unknown scene mode " + legacySceneMode + 200 int mode = LegacyMetadataMapper.convertEffectModeFromLegacy(legacyEffectMode); 201 if (mode != LegacyMetadataMapper.UNKNOWN_MODE) { 202 result.set(CaptureResult.CONTROL_EFFECT_MODE, mode); 204 Log.w(TAG, "Unknown effect mode " + legacyEffectMode + 223 // flash.mode, flas 453 convertLegacyAfMode(String mode) argument 480 convertLegacyAwbMode(String mode) argument [all...] |
/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbPort.java | 121 * The actual mode of the port may vary depending on what is plugged into it. 150 public static String modeToString(int mode) { argument 151 switch (mode) { 161 return Integer.toString(mode); 231 public static void checkDataRole(int mode) { argument 232 Preconditions.checkArgumentInRange(mode, Constants.PortDataRole.NONE,
|
/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | MemoryFileProvider.java | 132 public ParcelFileDescriptor openFile(Uri url, String mode) throws FileNotFoundException { argument 137 return getBlobColumnAsFile(url, mode, sql); 152 private ParcelFileDescriptor getBlobColumnAsFile(Uri url, String mode, String sql) argument 154 if (!"r".equals(mode)) { 155 throw new FileNotFoundException("Mode " + mode + " not supported for " + url);
|