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

1234567891011>>

/frameworks/base/libs/hwui/
H A DPixelBuffer.cpp38 uint8_t* map(AccessMode mode = kAccessMode_ReadWrite) override;
54 uint8_t* CpuPixelBuffer::map(AccessMode mode) { argument
56 mAccessMode = mode;
79 uint8_t* map(AccessMode mode = kAccessMode_ReadWrite) override;
108 uint8_t* GpuPixelBuffer::map(AccessMode mode) { argument
111 mMappedPointer = (uint8_t*) glMapBufferRange(GL_PIXEL_UNPACK_BUFFER, 0, getSize(), mode);
116 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/compat/java/android/support/v4/widget/
H A DImageViewCompat.java38 void setImageTintMode(ImageView view, PorterDuff.Mode mode); argument
57 public void setImageTintMode(ImageView view, PorterDuff.Mode mode) { argument
59 ((TintableImageSourceView) view).setSupportImageTintMode(mode);
98 public void setImageTintMode(ImageView view, PorterDuff.Mode mode) { argument
99 view.setImageTintMode(mode);
146 * Return the blending mode used to apply the tint to the image drawable, if specified.
153 * Specifies the blending mode used to apply the tint specified by
155 * to the image drawable. The default mode is {@link PorterDuff.Mode#SRC_IN}.
157 public static void setImageTintMode(ImageView view, PorterDuff.Mode mode) { argument
158 IMPL.setImageTintMode(view, mode);
[all...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBaseWrapContentWithAspectRatioTest.java228 public static MeasureSpecMatcher is(int size, int mode) { argument
229 MeasureSpecMatcher matcher = new MeasureSpecMatcher(size, mode);
242 public static MeasureSpecMatcher mode(int mode) { argument
243 MeasureSpecMatcher matcher = new MeasureSpecMatcher(0, mode);
249 private MeasureSpecMatcher(int size, int mode) { argument
251 mMode = mode;
262 final int mode = View.MeasureSpec.getMode(intValue);
266 if (checkMode && mode != mMode) {
276 final int mode
297 modeName(int mode) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAppCompatDelegateImplV14.java62 // If we have a icicle and we haven't had a local night mode set yet, try and read
97 // If we're already been started, we may need to setup auto mode again
119 // Make sure we clean up any receivers setup for AUTO mode
126 public void setLocalNightMode(@NightMode final int mode) { argument
127 switch (mode) {
132 if (mLocalNightMode != mode) {
133 mLocalNightMode = mode;
142 Log.i(TAG, "setLocalNightMode() called with an unknown mode");
148 int mapNightMode(@NightMode final int mode) { argument
149 switch (mode) {
190 updateForNightMode(@pplyableNightMode final int mode) argument
[all...]
/frameworks/av/media/libmedia/
H A DVisualizer.cpp161 status_t Visualizer::setScalingMode(uint32_t mode) { argument
162 if ((mode != VISUALIZER_SCALING_MODE_NORMALIZED)
163 && (mode != VISUALIZER_SCALING_MODE_AS_PLAYED)) {
175 *((int32_t *)p->data + 1)= mode;
178 ALOGV("setScalingMode mode %d status %d p->status %d", mode, status, p->status);
183 mScalingMode = mode;
190 status_t Visualizer::setMeasurementMode(uint32_t mode) { argument
191 if ((mode != MEASUREMENT_MODE_NONE)
193 && ((mode
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DIAppOpsService.aidl42 void setUidMode(int code, int uid, int mode);
43 void setMode(int code, int uid, String packageName, int mode);
46 void setAudioRestriction(int code, int usage, int uid, int mode, in String[] exceptionPackages);
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaOpenGLPipeline.cpp140 SkColorFilter* colorFilter, int alpha, SkBlendMode mode, bool blend) {
142 mode, blend);
187 DrawGlInfo::Mode mode = DrawGlInfo::kModeProcessNoContext; local
189 mode = DrawGlInfo::kModeProcess;
192 (*functor)(mode, nullptr);
195 if (mode != DrawGlInfo::kModeProcessNoContext) {
139 createLayer(RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight, SkColorFilter* colorFilter, int alpha, SkBlendMode mode, bool blend) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarWindowView.java83 // Implements the floating action mode for TextView's Cut/Copy/Past menu. Normally provided by
417 final FloatingActionMode mode =
424 mode.updateViewLocationInWindow();
428 return mode;
431 private void setHandledFloatingActionMode(ActionMode mode) { argument
432 mFloatingActionMode = mode;
456 ActionMode mode = createFloatingActionMode(originatingView, wrappedCallback);
457 if (mode != null && wrappedCallback.onCreateActionMode(mode, mode
472 onCreateActionMode(ActionMode mode, Menu menu) argument
476 onPrepareActionMode(ActionMode mode, Menu menu) argument
481 onActionItemClicked(ActionMode mode, MenuItem item) argument
485 onDestroyActionMode(ActionMode mode) argument
495 onGetContentRect(ActionMode mode, View view, Rect outRect) argument
[all...]
/frameworks/native/cmds/installd/tests/
H A Dinstalld_service_test.cpp65 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/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.h52 SkBlendMode mode = paint->getBlendMode(); local
53 return mode == SkBlendMode::kSrcOver
54 || 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/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 */
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dcalc_en.h62 #include "mode.h"
153 enum Mode mode, /* i : coder mode */
H A Dgsmamr_enc.h180 enum Mode mode,
H A Dpitch_fr.h65 #include "mode.h"
128 enum Mode mode, /* i : codec mode */
/frameworks/base/core/java/android/hardware/input/
H A DInputManagerInternal.java33 public abstract boolean injectInputEvent(InputEvent event, int displayId, int mode); argument
/frameworks/base/core/java/android/view/
H A DWindowCallbackWrapper.java147 public void onActionModeStarted(ActionMode mode) { argument
148 mWrapped.onActionModeStarted(mode);
152 public void onActionModeFinished(ActionMode mode) { argument
153 mWrapped.onActionModeFinished(mode);
/frameworks/base/libs/hwui/renderstate/
H A DBlend.h39 static void getFactors(SkBlendMode mode, ModeOrderSwap modeUsage,

Completed in 1559 milliseconds

1234567891011>>