Searched refs:mMode (Results 26 - 50 of 92) sorted by relevance

1234

/frameworks/base/libs/hwui/
H A DClipArea.h140 bool isRegion() const { return ClipMode::Region == mMode; }
142 bool isSimple() const { return mMode == ClipMode::Rectangle; }
144 bool isRectangleList() const { return mMode == ClipMode::RectangleList; }
186 ClipMode mMode; member in class:android::uirenderer::ClipArea
H A DClipArea.cpp179 ClipArea::ClipArea() : mMode(ClipMode::Rectangle) {}
193 mMode = ClipMode::Rectangle;
201 mMode = ClipMode::Rectangle;
210 switch (mMode) {
255 mMode = ClipMode::Rectangle;
289 ALOG_ASSERT(mMode == ClipMode::Rectangle);
290 mMode = ClipMode::RectangleList;
307 ClipMode oldMode = mMode;
308 mMode = ClipMode::Region;
358 switch (mMode) {
[all...]
H A DDeferredLayerUpdater.cpp68 mMode = PaintUtils::getBlendModeDirect(paint);
78 mLayer = mCreateLayerFn(mRenderState, mWidth, mHeight, mColorFilter, mAlpha, mMode, mBlend);
82 mLayer->setAlpha(mAlpha, mMode);
/frameworks/wilhelm/src/itf/
H A DIMetadataTraversal.cpp32 thiz->mMode = mode;
125 thiz->mMode = SL_METADATATRAVERSALMODE_NODE;
/frameworks/av/media/libstagefright/rtsp/
H A DARTPWriter.cpp136 mMode = INVALID;
138 mMode = H264;
140 mMode = H263;
142 mMode = AMR_NB;
144 mMode = AMR_WB;
197 if (mMode == H264) {
282 if (mMode == H264) {
285 } else if (mMode == H263) {
287 } else if (mMode == AMR_NB || mMode
[all...]
/frameworks/support/media/src/main/java/androidx/media/subtitle/
H A DCea608CCParser.java78 private int mMode = MODE_PAINT_ON; field in class:Cea608CCParser
116 switch (mMode) {
127 Log.w(TAG, "unrecoginized mode: " + mMode);
144 if (mMode == MODE_PAINT_ON || mMode == MODE_ROLL_UP) {
164 if (mMode == MODE_ROLL_UP) {
197 mMode = MODE_POP_ON;
210 if (mMode != MODE_ROLL_UP) {
215 mMode = MODE_ROLL_UP;
222 mMode
[all...]
/frameworks/native/services/sensorservice/
H A DFusion.cpp203 mMode = mode;
205 if (mMode != FUSION_NOGYRO) { //normal or game rotation
256 return ((mInitState & MAG) || (mMode == FUSION_NOMAG)) &&
257 ((mInitState & GYRO) || (mMode == FUSION_NOGYRO)) &&
269 if (mMode == FUSION_NOGYRO ) {
286 if (mMode != FUSION_NOMAG) {
297 if (mMode != FUSION_NOMAG) {
332 if ( mMode == FUSION_NOGYRO ) {
339 if ( mMode == FUSION_NOMAG) {
535 if (mMode !
[all...]
H A DFusion.h88 int mMode; member in class:android::Fusion
H A DRotationVectorSensor.h43 const int mMode; member in class:android::RotationVectorSensor
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/
H A DTouchLatencyActivity.java150 if (mMode == 0) {
160 mMode = (mMode + 1) % NUM_MODES;
162 item.setTitle(modes[mMode]);
166 private int mMode; field in class:TouchLatencyView
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiLockManager.java201 switch(lock.mMode) {
243 switch(wifiLock.mMode) {
298 int mMode; field in class:WifiLockManager.WifiLock
305 mMode = lockMode;
335 return "WifiLock{" + this.mTag + " type=" + this.mMode + " uid=" + mUid
H A DSoftApManager.java87 private final int mMode; field in class:SoftApManager
128 mMode = apConfig.getTargetMode();
172 pw.println("mMode: " + mMode);
217 intent.putExtra(WifiManager.EXTRA_WIFI_AP_MODE, mMode);
450 mMode);
476 mWifiMetrics.addSoftApUpChangedEvent(isUp, mMode);
512 mWifiMetrics.addSoftApUpChangedEvent(false, mMode);
537 mReportedBandwidth, mMode);
/frameworks/base/services/core/java/com/android/server/lights/
H A DLightsService.java132 if (!mInitialized || color != mColor || mode != mMode || onMS != mOnMS ||
139 mMode = mode;
159 private int mMode; field in class:LightsService.LightImpl
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbHostManager.java105 final int mMode; field in class:UsbHostManager.ConnectionRecord
111 mMode = mode;
123 dump.write("mode", UsbConnectionRecordProto.MODE, mMode);
126 if (mMode != DISCONNECT) {
145 if (mMode != DISCONNECT) {
146 pw.println(formatTime() + " Connect " + mDeviceAddress + " mode:" + mMode);
161 if (mMode != DISCONNECT) {
162 pw.println(formatTime() + " Connect " + mDeviceAddress + " mode:" + mMode);
178 if (mMode != DISCONNECT) {
179 pw.println(formatTime() + " Connect " + mDeviceAddress + " mode:" + mMode);
[all...]
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/
H A DSliceChildView.java40 protected int mMode; field in class:SliceChildView
111 mMode = mode;
119 return mMode;
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DBaseWrapContentWithAspectRatioTest.java228 private int mMode; field in class:BaseWrapContentWithAspectRatioTest.MeasureSpecMatcher
253 mMode = mode;
268 if (checkMode && mode != mMode) {
283 if (checkMode && mode != mMode) {
284 description.appendText(" Expected mode was ").appendValue(modeName(mMode))
295 description.appendText(" Measure spec mode:").appendValue(modeName(mMode));
/frameworks/base/core/tests/overlaytests/device/src/com/android/overlaytest/
H A DOverlayBaseTest.java45 private final int mMode; field in class:OverlayBaseTest
55 mMode = mode;
82 switch (mMode) {
96 switch (mMode) {
110 switch (mMode) {
124 switch (mMode) {
218 switch (mMode) {
227 fail("Unknown mode " + mMode);
/frameworks/av/media/libstagefright/codecs/amrnb/dec/
H A DSoftAMR.h58 } mMode; member in struct:android::SoftAMR
/frameworks/base/core/java/android/content/
H A DSearchRecentSuggestionsProvider.java79 private int mMode; field in class:SearchRecentSuggestionsProvider
183 mMode = mode;
304 if (mAuthority == null || mMode == 0) {
307 int mWorkingDbVersion = DATABASE_VERSION + mMode;
/frameworks/base/services/core/java/com/android/server/display/
H A DLocalDisplayAdapter.java253 && mActiveModeId != activeRecord.mMode.getModeId()) {
268 mSupportedModes.put(record.mMode.getModeId(), record);
276 mDefaultModeId = activeRecord.mMode.getModeId();
375 mInfo.supportedModes[i] = record.mMode;
700 public final Display.Mode mMode; field in class:LocalDisplayAdapter.DisplayModeRecord
703 mMode = createMode(phys.width, phys.height, phys.refreshRate);
714 int modeRefreshRate = Float.floatToIntBits(mMode.getRefreshRate());
716 return mMode.getPhysicalWidth() == info.width
717 && mMode.getPhysicalHeight() == info.height
722 return "DisplayModeRecord{mMode
[all...]
H A DVirtualDisplayAdapter.java208 private Display.Mode mMode; field in class:VirtualDisplayAdapter.VirtualDisplayDevice
221 mMode = createMode(width, height, REFRESH_RATE);
300 mMode = createMode(width, height, REFRESH_RATE);
329 mInfo.modeId = mMode.getModeId();
330 mInfo.defaultModeId = mMode.getModeId();
331 mInfo.supportedModes = new Display.Mode[] { mMode };
/frameworks/av/media/libstagefright/codecs/on2/dec/
H A DSoftVPX.cpp50 mMode(codingType == OMX_VIDEO_CodingVP8 ? MODE_VP8 : MODE_VP9),
57 const size_t kMinCompressionRatio = mMode == MODE_VP8 ? 2 : 4;
58 const char *mime = mMode == MODE_VP8 ? MEDIA_MIMETYPE_VIDEO_VP8 : MEDIA_MIMETYPE_VIDEO_VP9;
102 mMode == MODE_VP8 ? &vpx_codec_vp8_dx_algo : &vpx_codec_vp9_dx_algo,
266 if (mMode == MODE_VP9) {
/frameworks/opt/net/voip/src/jni/rtp/
H A DAudioGroup.cpp118 int mMode; member in class:__anon1944::AudioStream
174 mMode = mode;
224 (codec ? codec->name : "RAW"), mSampleRate, mInterval, mMode);
238 if (mMode == SEND_ONLY) {
283 if (mMode != RECEIVE_ONLY && mDtmfEvent != -1) {
307 if (mMode != RECEIVE_ONLY) {
338 if (mMode != RECEIVE_ONLY) {
365 if (mMode == SEND_ONLY) {
503 int mMode; member in class:__anon1944::AudioGroup
553 mMode
[all...]
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
H A DViewfinderProcessor.java58 private volatile int mMode = 1; field in class:ViewfinderProcessor
124 mMode++;
128 return mMode;
207 switch (mMode % 6) {
261 public static void processImage(Bitmap image, Context context, int mMode) { argument
297 switch (mMode % 6) {
/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java949 private int mMode = MODE_NOTHING; field in class:EditStyledText.EditorManager
980 mEST.notifyStateChanged(mMode, mState);
993 mMode = MODE_SELECT;
1001 mEST.notifyStateChanged(mMode, mState);
1011 mEST.notifyStateChanged(mMode, mState);
1021 mEST.notifyStateChanged(mMode, mState);
1029 // mEST.notifyStateChanged(mMode, mState);
1037 mEST.notifyStateChanged(mMode, mState);
1042 mEST.notifyStateChanged(mMode, mState);
1047 mEST.notifyStateChanged(mMode, mStat
2793 private int mMode = EditStyledText.MODE_NOTHING; field in class:EditStyledText.EditModeActions
[all...]

Completed in 1194 milliseconds

1234