Searched defs:mode (Results 76 - 100 of 623) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dmime_io.cpp169 /* size of packed frame for each mode, excluding TOC byte */
174 /* number of unused speech bits in packed format for each mode */
532 int16 * mode,
551 const int16 * pt_AmrWbSortingTables = AmrWbSortingTables[*mode];
556 unpacked_size[*mode]*sizeof(*sorted_bits_into_int16));
561 for (i = unpacked_size[*mode] >> 3; i != 0; i--)
658 if (unpacked_size[*mode] % 4)
669 switch (*mode)
707 /* set mode index */
708 *mode
529 mime_unsorting(uint8 unsorted_bits[], int16 sorted_bits_into_int16[], int16 * frame_type, int16 * mode, uint8 quality, RX_State_wb *st) argument
[all...]
/frameworks/av/services/audiopolicy/enginedefault/src/
H A DEngine.h73 virtual status_t setPhoneState(audio_mode_t mode) argument
75 return mPolicyEngine->setPhoneState(mode);
113 status_t setPhoneState(audio_mode_t mode);
/frameworks/base/cmds/am/src/com/android/commands/am/
H A DAm.java102 String mode) {
101 onOpenFile(String path, String seLinuxContext, String mode) argument
/frameworks/base/core/java/android/app/
H A DUiModeManager.java35 * It provides functionality to disable the car mode and it gives access to the
36 * night mode settings.
42 * to the appropriate UI mode, sends broadcasts about the mode switch, and
43 * starts the corresponding mode activity if appropriate. See the
47 * <p>In addition, the user may manually switch the system to car mode without
48 * physically being in a dock. While in car mode -- whether by manual action
50 * displayed allowing the user to exit dock mode. Thus the dock mode
59 * Broadcast sent when the device's UI has switched to car mode, eithe
236 setNightMode(@ightMode int mode) argument
[all...]
/frameworks/base/core/java/android/os/
H A DPowerSaveState.java21 * 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;
/frameworks/base/core/jni/android/graphics/
H A DColorFilter.cpp42 SkBlendMode mode = static_cast<SkBlendMode>(modeHandle); local
43 return reinterpret_cast<jlong>(SkColorFilter::MakeModeFilter(srcColor, mode).release());
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
H A DWindowDecorActionBarTest.java48 ActionMode mode = mWindowDecorActionBar.startActionMode(mCallback);
50 assertNotNull(mode);
58 ActionMode mode = mWindowDecorActionBar.startActionMode(mCallback);
60 assertNull(mode);
80 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { argument
85 public void onDestroyActionMode(ActionMode mode) { argument
90 public boolean onCreateActionMode(ActionMode mode, Menu menu) { argument
96 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument
/frameworks/base/graphics/java/android/graphics/
H A DPorterDuff.java22 * of {@link Paint}'s {@link Paint#setXfermode(Xfermode) transfer mode}.
74 * PorterDuff.Mode mode = // choose a mode
75 * paint.setXfermode(new PorterDuffXfermode(mode));
171 * <p>The documentation of each individual alpha compositing or blending mode below
373 public static int modeToInt(Mode mode) { argument
374 return mode.nativeInt;
/frameworks/base/libs/hwui/
H A DLayer.h68 inline void setAlpha(int alpha, SkBlendMode mode) { argument
70 this->mode = mode;
75 inline SkBlendMode getMode() const { return mode; }
99 SkBlendMode mode);
134 * Blending mode of the layer.
136 SkBlendMode mode; member in class:android::uirenderer::Layer
H A DPixelBuffer.cpp38 uint8_t* map(AccessMode mode = kAccessMode_ReadWrite) override;
53 uint8_t* CpuPixelBuffer::map(AccessMode mode) { argument
55 mAccessMode = mode;
78 uint8_t* map(AccessMode mode = kAccessMode_ReadWrite) override;
106 uint8_t* GpuPixelBuffer::map(AccessMode mode) { argument
109 mMappedPointer = (uint8_t*)glMapBufferRange(GL_PIXEL_UNPACK_BUFFER, 0, getSize(), mode);
114 mAccessMode = mode;
/frameworks/base/libs/hwui/utils/
H A DPaintUtils.h50 SkBlendMode mode = paint->getBlendMode(); local
51 return mode == SkBlendMode::kSrcOver || mode == SkBlendMode::kSrc;
/frameworks/base/media/java/android/media/
H A DAudioGain.java24 * - mode: defines modes of operation or features
44 * Bit of AudioGain.mode() field indicating that
49 * Bit of AudioGain.mode() field indicating that
54 * Bit of AudioGain.mode() field indicating that
72 AudioGain(int index, int mode, int channelMask, argument
76 mMode = mode;
89 public int mode() { method in class:AudioGain
148 * @param mode: desired mode of operation
151 * @param rampDurationMs: ramp duration if mode MODE_RAM
154 buildConfig(int mode, int channelMask, int[] values, int rampDurationMs) argument
[all...]
/frameworks/base/native/webview/plat_support/
H A Dgraphic_buffer_impl.cpp54 int GraphicBufferImpl::MapStatic(long buffer_id, AwMapMode mode, void** vaddr) { argument
56 return buffer->Map(mode, vaddr);
77 status_t GraphicBufferImpl::Map(AwMapMode mode, void** vaddr) { argument
79 switch (mode) {
/frameworks/base/packages/Shell/src/com/android/shell/
H A DBugreportStorageProvider.java84 String documentId, String mode, CancellationSignal signal)
86 if (ParcelFileDescriptor.parseMode(mode) != ParcelFileDescriptor.MODE_READ_ONLY) {
87 throw new FileNotFoundException("Failed to open: " + documentId + ", mode = " + mode);
83 openDocument( String documentId, String mode, CancellationSignal signal) argument
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
H A DRemoteAnimationTargetCompat.java31 public final int mode; field in class:RemoteAnimationTargetCompat
52 mode = app.mode;
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
H A DAlarmTimeout.java47 public void schedule(long timeout, int mode) { argument
48 switch (mode) {
65 throw new IllegalArgumentException("Illegal mode: " + mode);
/frameworks/base/services/core/java/com/android/server/am/
H A DDumpHeapProvider.java77 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { argument
/frameworks/base/services/core/java/com/android/server/lights/
H A DLight.java38 * Low-persistence light mode.
45 public abstract void setFlashing(int color, int mode, int onMS, int offMS); argument
/frameworks/base/services/core/java/com/android/server/wm/
H A DDragAndDropPermissionsHandler.java45 DragAndDropPermissionsHandler(ClipData clipData, int sourceUid, String targetPackage, int mode, argument
49 mMode = mode;
/frameworks/base/services/tests/servicestests/src/com/android/server/appops/
H A DAppOpsServiceTest.java201 long minRejectMillis, int mode) {
215 assertWithMessage("Unexpected mode").that(mode).isEqualTo(opEntry.getMode());
200 assertContainsOp(List<PackageOps> loggedOps, int opCode, long minMillis, long minRejectMillis, int mode) argument
/frameworks/base/tests/JankBench/scripts/external/
H A Dstatistics.py35 mode Mode (most common value) of data.
98 'mean', 'mode',
451 def mode(data): function
454 ``mode`` assumes discrete data, and returns a single value. This is the
455 standard treatment of the mode as commonly taught in schools:
457 >>> mode([1, 1, 2, 3, 3, 3, 3, 4])
462 >>> mode(["red", "blue", "blue", "red", "green", "red", "red"])
465 If there is not exactly one most common value, ``mode`` will raise
474 'no unique mode; found %d equally common values' % len(table)
477 raise StatisticsError('no mode fo
[all...]
/frameworks/base/tests/backup/src/com/android/backuptest/
H A DBackupTestActivity.java204 void writeFile(String name, String contents, int mode) { argument
206 PrintStream out = new PrintStream(openFileOutput(name, mode));
/frameworks/base/tools/aapt2/io/
H A DFileStream.cpp42 int mode = O_RDONLY | O_CLOEXEC | O_BINARY; local
43 fd_.reset(TEMP_FAILURE_RETRY(::android::base::utf8::open(path.c_str(), mode)));
113 int mode = O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_BINARY; local
114 owned_fd_.reset(TEMP_FAILURE_RETRY(::android::base::utf8::open(path.c_str(), mode, 0666)));
/frameworks/native/cmds/installd/tests/
H A Dtest_utils.h77 uid_t uid, gid_t gid, int mode) {
105 if (::chmod(file.c_str(), mode) != 0) {
76 WriteBase64ToFile(const char* base64, const std::string& file, uid_t uid, gid_t gid, int mode) argument
/frameworks/native/include/input/
H A DKeyLayoutMap.h38 // Axis mode.
39 Mode mode; member in struct:android::AxisInfo
54 AxisInfo() : mode(MODE_NORMAL), axis(-1), highAxis(-1), splitValue(0), flatOverride(-1) {

Completed in 708 milliseconds

1234567891011>>