Searched refs:mode (Results 126 - 150 of 1008) sorted by relevance

1234567891011>>

/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/power/
H A DPowerManagerShellCommand.java44 case "set-mode":
57 int mode = -1;
59 mode = Integer.parseInt(getNextArgRequired());
64 mInterface.setPowerSaveMode(mode == LOW_POWER_MODE_ON);
75 pw.println(" set-mode MODE");
76 pw.println(" sets the power mode of the device to MODE.");
77 pw.println(" 1 turns low power mode on and 0 turns low power mode off.");
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dpitch_fr.cpp123 * mode dependent parameters used in Pitch_fr()
1057 mode = codec mode of type enum Mode
1111 enum Mode mode, // i : codec mode
1142 // set mode specific variables
1145 max_frac_lag = mode_dep_parm[mode].max_frac_lag;
1146 flag3 = mode_dep_parm[mode].flag3;
1147 frac = mode_dep_parm[mode].first_frac;
1148 last_frac = mode_dep_parm[mode]
1363 Pitch_fr( Pitch_frState *st, enum Mode mode, Word16 T_op[], Word16 exc[], Word16 xn[], Word16 h[], Word16 L_subfr, Word16 i_subfr, Word16 *pit_frac, Word16 *resu3, Word16 *ana_index, Flag *pOverflow ) argument
[all...]
H A Dcalc_en.h62 #include "mode.h"
153 enum Mode mode, /* i : coder mode */
H A Dgsmamr_enc.h180 enum Mode mode,
/frameworks/base/services/core/java/com/android/server/display/
H A DOverlayDisplayAdapter.java59 * with each mode specified as:
167 for (String mode : modeString.split("\\|")) {
168 Matcher modeMatcher = MODE_PATTERN.matcher(mode);
181 Slog.w(TAG, "Ignoring out-of-range overlay display mode: " + mode);
185 } else if (mode.isEmpty()) {
252 OverlayMode mode = modes.get(i);
253 mModes[i] = createMode(mode.mWidth, mode.mHeight, refreshRate);
291 Display.Mode mode
[all...]
/frameworks/base/cmds/media/src/com/android/commands/media/
H A DVolumeCtrl.java72 int mode = 0;
96 mode = VOLUME_CONTROL_MODE_SET;
100 mode = VOLUME_CONTROL_MODE_ADJUST;
111 if (mode == VOLUME_CONTROL_MODE_ADJUST) {
139 if (mode == VOLUME_CONTROL_MODE_SET) {
154 if (mode == VOLUME_CONTROL_MODE_SET) {
156 } else if (mode == VOLUME_CONTROL_MODE_ADJUST) {
/frameworks/base/libs/hwui/
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/services/core/java/com/android/server/lights/
H A DLightsService.java69 public void setFlashing(int color, int mode, int onMS, int offMS) { argument
71 setLightLocked(color, mode, onMS, offMS, BRIGHTNESS_MODE_USER);
125 private void setLightLocked(int color, int mode, int onMS, int offMS, int brightnessMode) { argument
132 if (!mInitialized || color != mColor || mode != mMode || onMS != mOnMS ||
139 mMode = mode;
146 setLight_native(mId, color, mode, onMS, offMS, brightnessMode);
215 static native void setLight_native(int light, int color, int mode, argument
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DBaseWrapContentWithAspectRatioTest.java230 public static MeasureSpecMatcher is(int size, int mode) { argument
231 MeasureSpecMatcher matcher = new MeasureSpecMatcher(size, mode);
244 public static MeasureSpecMatcher mode(int mode) { argument
245 MeasureSpecMatcher matcher = new MeasureSpecMatcher(0, mode);
251 private MeasureSpecMatcher(int size, int mode) { argument
253 mMode = mode;
264 final int mode = View.MeasureSpec.getMode(intValue);
268 if (checkMode && mode != mMode) {
278 final int mode
299 modeName(int mode) argument
[all...]
/frameworks/av/media/libmedia/
H A DVisualizer.cpp159 status_t Visualizer::setScalingMode(uint32_t mode) { argument
160 if ((mode != VISUALIZER_SCALING_MODE_NORMALIZED)
161 && (mode != VISUALIZER_SCALING_MODE_AS_PLAYED)) {
173 *((int32_t *)p->data + 1)= mode;
176 ALOGV("setScalingMode mode %d status %d p->status %d", mode, status, p->status);
181 mScalingMode = mode;
188 status_t Visualizer::setMeasurementMode(uint32_t mode) { argument
189 if ((mode != MEASUREMENT_MODE_NONE)
191 && ((mode
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DIAppOpsService.aidl44 void setUidMode(int code, int uid, int mode);
45 void setMode(int code, int uid, String packageName, int mode);
48 void setAudioRestriction(int code, int usage, int uid, int mode, in String[] exceptionPackages);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarWindowView.java86 // Implements the floating action mode for TextView's Cut/Copy/Past menu. Normally provided by
445 final FloatingActionMode mode =
452 mode.updateViewLocationInWindow();
456 return mode;
459 private void setHandledFloatingActionMode(ActionMode mode) { argument
460 mFloatingActionMode = mode;
484 ActionMode mode = createFloatingActionMode(originatingView, wrappedCallback);
485 if (mode != null && wrappedCallback.onCreateActionMode(mode, mode
500 onCreateActionMode(ActionMode mode, Menu menu) argument
504 onPrepareActionMode(ActionMode mode, Menu menu) argument
509 onActionItemClicked(ActionMode mode, MenuItem item) argument
513 onDestroyActionMode(ActionMode mode) argument
523 onGetContentRect(ActionMode mode, View view, Rect outRect) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/test/
H A Damrnbdec_test.cpp105 // Read mode
106 uint8_t mode; local
107 bytesRead = fread(&mode, 1, 1, fpInput);
111 Frame_Type_3GPP frameType = (Frame_Type_3GPP)((mode >> 3) & 0x0f);
/frameworks/base/cmds/svc/src/com/android/commands/svc/
H A DPowerCommand.java83 String mode = null;
85 mode = args[2];
89 pm.reboot(false, mode, true);
/frameworks/base/libs/hwui/utils/
H A DPaintUtils.h50 SkBlendMode mode = paint->getBlendMode(); local
51 return mode == SkBlendMode::kSrcOver || mode == SkBlendMode::kSrc;
/frameworks/native/services/surfaceflinger/Effects/
H A DDaltonizer.cpp29 void Daltonizer::setMode(ColorBlindnessMode mode) { argument
30 if (mode != mMode) {
32 mMode = mode;
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
H A DIntrinsicSizeFrameLayout.java78 final int mode = MeasureSpec.getMode(measureSpec);
80 if (mode == MeasureSpec.UNSPECIFIED) {
83 } else if (mode == MeasureSpec.AT_MOST) {
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
H A Dreduce_backward.rs160 uint32_t mode = 0;
162 if ((*h)[i] > (*h)[mode]) mode = i;
163 result->x = mode;
164 result->y = (*h)[mode];
167 #pragma rs reduce(mode) \
/frameworks/support/compat/src/main/java/androidx/core/widget/
H A DImageViewCompat.java72 * Return the blending mode used to apply the tint to the image drawable, if specified.
85 * Specifies the blending mode used to apply the tint specified by
87 * to the image drawable. The default mode is {@link PorterDuff.Mode#SRC_IN}.
89 public static void setImageTintMode(@NonNull ImageView view, @Nullable PorterDuff.Mode mode) { argument
91 view.setImageTintMode(mode);
107 ((TintableImageSourceView) view).setSupportImageTintMode(mode);
/frameworks/wilhelm/src/itf/
H A DIMetadataTraversal.cpp22 static SLresult IMetadataTraversal_SetMode(SLMetadataTraversalItf self, SLuint32 mode) argument
26 switch (mode) {
32 thiz->mMode = mode;
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
H A Dd_plsf.h66 #include "mode.h"
171 enum Mode mode, /* i : coder mode */
H A Dgc_pred.h60 #include "mode.h"
99 Word16 past_qua_en_MR122[4]; /* MA predictor memory for MR122 mode, Q10 */
130 enum Mode mode, /* i : AMR mode */
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dc_g_aver.h61 #include "mode.h"
143 enum Mode mode, /* i : AMR mode */

Completed in 499 milliseconds

1234567891011>>