Searched defs:mode (Results 276 - 300 of 586) sorted by relevance

<<11121314151617181920>>

/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
426 final FloatingActionMode mode =
433 mode.updateViewLocationInWindow();
437 return mode;
440 private void setHandledFloatingActionMode(ActionMode mode) { argument
441 mFloatingActionMode = mode;
465 ActionMode mode = createFloatingActionMode(originatingView, wrappedCallback);
466 if (mode != null && wrappedCallback.onCreateActionMode(mode, mode
481 onCreateActionMode(ActionMode mode, Menu menu) argument
485 onPrepareActionMode(ActionMode mode, Menu menu) argument
490 onActionItemClicked(ActionMode mode, MenuItem item) argument
494 onDestroyActionMode(ActionMode mode) argument
504 onGetContentRect(ActionMode mode, View view, Rect outRect) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DExtensionControllerImpl.java196 public void addUiMode(int uiMode, Supplier<T> mode) { argument
197 mProducers.add(new UiModeItem(uiMode, mode));
200 public void addFeature(String feature, Supplier<T> mode) { argument
201 mProducers.add(new FeatureItem<>(feature, mode));
/frameworks/base/services/core/java/com/android/server/
H A DUiModeManagerService.java93 // flag set by resource, whether to enable Car dock launch when starting car mode.
95 // flag set by resource, whether to lock UI mode to the default one or not.
97 // flag set by resource, whether to night mode change for normal all or not.
247 Slog.e(TAG, "enableCarMode while UI mode is locked");
266 Slog.e(TAG, "disableCarMode while UI mode is locked");
295 public void setNightMode(int mode) {
300 "Night mode locked, requires MODIFY_DAY_NIGHT_MODE permission");
303 switch (mode) {
309 throw new IllegalArgumentException("Unknown mode: " + mode);
807 nightModeToStr(int mode) argument
[all...]
/frameworks/base/services/core/java/com/android/server/media/
H A DRemoteDisplayProviderProxy.java92 public void setDiscoveryMode(int mode) { argument
93 if (mDiscoveryMode != mode) {
94 mDiscoveryMode = mode;
96 mActiveConnection.setDiscoveryMode(mode);
356 public void setDiscoveryMode(int mode) { argument
358 mProvider.setDiscoveryMode(mode);
360 Slog.e(TAG, "Failed to deliver request to set discovery mode.", ex);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFrameManager.java115 public abstract Backing fetchBacking(int mode, int access, int[] dimensions, int elemSize); argument
135 public Backing fetchBacking(int mode, int access, int[] dimensions, int elemSize) { argument
173 public Backing fetchBacking(int mode, int access, int[] dimensions, int elemSize) { argument
175 int backingAccess = (mode == Frame.MODE_WRITE)
409 Backing fetchBacking(int mode, int access, int[] dimensions, int elemSize) { argument
410 return mCache.fetchBacking(mode, access, dimensions, elemSize);
/frameworks/compile/mclinker/tools/mcld/
H A DMain.cpp263 // --color=mode
526 // Setup symbol stripping mode.
778 // --icf=mode
780 mcld::GeneralOptions::ICF mode = local
786 if (mode == mcld::GeneralOptions::ICF::Unknown) {
791 config_.options().setICFMode(mode);
/frameworks/native/cmds/lshal/
H A DListCommand.cpp547 const std::string mode = "hwbinder"; local
555 mErr << "Error: Failed to list services for " << mode << ": "
611 .transport = mode,
626 .transport = mode,
/frameworks/native/libs/gui/
H A DISurfaceComposer.cpp253 virtual void setPowerMode(const sp<IBinder>& display, int mode) argument
258 data.writeInt32(mode);
725 int32_t mode = data.readInt32(); local
726 setPowerMode(display, mode);
/frameworks/native/libs/vr/libvrsensor/
H A Dpose_client.cpp110 // different mode.
121 // Sets the data mode for the pose service.
122 int SetMode(DvrPoseMode mode) { argument
125 trans.Send<int>(DVR_POSE_SET_MODE, &mode, sizeof(mode), nullptr, 0);
131 // Gets the data mode for the pose service.
133 int mode; local
136 trans.Send<int>(DVR_POSE_GET_MODE, nullptr, 0, &mode, sizeof(mode));
140 *out_mode = DvrPoseMode(mode);
347 dvrPoseClientModeSet(DvrPoseClient* client, DvrPoseMode mode) argument
351 dvrPoseClientModeGet(DvrPoseClient* client, DvrPoseMode* mode) argument
[all...]
/frameworks/native/opengl/libagl/
H A Dstate.cpp254 void glCullFace(GLenum mode) argument
257 switch (mode) {
265 c->cull.cullFace = mode;
268 void glFrontFace(GLenum mode) argument
271 switch (mode) {
279 c->cull.frontFace = mode;
282 void glHint(GLenum target, GLenum mode) argument
292 GGL_POINT_SMOOTH_NICE, mode==GL_NICEST);
295 c->perspective = (mode == GL_NICEST) ? 1 : 0;
/frameworks/native/services/sensorservice/
H A DSensorDevice.cpp461 status_t SensorDevice::setMode(uint32_t mode) { argument
465 static_cast<hardware::sensors::V1_0::OperationMode>(mode))));
594 // if mTBatch <= mTSample, it is in streaming mode. set mTbatch to 0 to demand this explicitly.
/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.cpp110 status_t MonitoredProducer::disconnect(int api, DisconnectMode mode) { argument
111 return mProducer->disconnect(api, mode);
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DGLES20RenderEngine.cpp261 void GLES20RenderEngine::setColorMode(android_color_mode mode) { argument
262 ALOGV("setColorMode: %s (0x%x)", decodeColorMode(mode).c_str(), mode);
264 if (mColorMode == mode) return;
266 if (!mPlatformHasWideColor || !mDisplayHasWideColor || mode == HAL_COLOR_MODE_SRGB ||
267 mode == HAL_COLOR_MODE_NATIVE) {
275 mColorMode = mode;
/frameworks/native/services/vr/hardware_composer/impl/
H A Dvr_composer_client.cpp248 Return<Error> VrComposerClient::setColorMode(Display display, ColorMode mode) { argument
249 return client_->setColorMode(display, mode);
252 Return<Error> VrComposerClient::setPowerMode(Display display, PowerMode mode) { argument
253 return client_->setPowerMode(display, mode);
H A Dvr_hwc.h152 void set_color_mode(ColorMode mode) { color_mode_ = mode; } argument
155 void set_power_mode(IComposerClient::PowerMode mode) { power_mode_ = mode; } argument
238 Error setColorMode(Display display, ColorMode mode) override;
239 Error setPowerMode(Display display, IComposerClient::PowerMode mode) override;
266 Error setLayerBlendMode(Display display, Layer layer, int32_t mode) override;
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
H A DCameraView.java57 byte mode = 0; field in class:CameraView
167 public void takePicture(int mode) { argument
187 mCameraOps.captureStillPicture(jpegRotation, name, mContext, mode);
221 switch (mode) {
252 public void setMode(byte mode) { argument
253 this.mode = mode;
257 return mode;
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
H A DCameraView.java57 byte mode = 0; field in class:CameraView
220 switch (mode) {
251 public void setMode(byte mode) { argument
252 this.mode = mode;
256 return mode;
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
H A DFilters.java314 public Filters(int mode, int[] filter) { argument
315 mMode = mode;
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/
H A DVrView.java79 public void setMode(byte mode) { argument
80 mMode = mode;
/frameworks/support/compat/tests/java/android/support/v4/provider/
H A DMockFontProvider.java261 public ParcelFileDescriptor openFile(Uri uri, String mode) { argument
/frameworks/support/transition/src/android/support/transition/
H A DVisibility.java101 int mode = TypedArrayUtils.getNamedInt(a, (XmlResourceParser) attrs,
105 if (mode != 0) {
106 setMode(mode);
112 * on <code>mode</code>.
114 * @param mode The behavior supported by this transition, a combination of
117 public void setMode(@Mode int mode) { argument
118 if ((mode & ~(MODE_IN | MODE_OUT)) != 0) {
121 mMode = mode;
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAppCompatActivity.java248 * Notifies the Activity that a support action mode has been started.
251 * @param mode The new action mode.
255 public void onSupportActionModeStarted(@NonNull ActionMode mode) { argument
259 * Notifies the activity that a support action mode has finished.
262 * @param mode The action mode that just finished.
266 public void onSupportActionModeFinished(@NonNull ActionMode mode) { argument
270 * Called when a support action mode is being started for this window. Gives the
271 * callback an opportunity to handle the action mode i
[all...]
H A DAppCompatDelegate.java92 * Mode which means to not use night mode, and therefore prefer {@code notnight} qualified
100 * Mode which means to always use night mode, and therefore prefer {@code night} qualified
108 * Mode which means to use night mode when it is determined that it is night or not.
120 * Mode which uses the system's night mode setting to determine if it is night or not.
161 * <p>This mode is especially useful with {@code View.SYSTEM_UI_FLAG_FULLSCREEN}, which allows
163 * When an ActionBar is in this mode it will adjust the insets provided to
173 * If overlay is enabled, the action mode UI will be allowed to cover existing window content.
362 * Start an action mode.
364 * @param callback Callback that will manage lifecycle events for this context mode
432 * <p>You can override the night mode usin
455 setLocalNightMode(@ightMode int mode) argument
470 setDefaultNightMode(@ightMode int mode) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DDecorToolbar.java81 void setNavigationMode(int mode); argument
/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...]

Completed in 636 milliseconds

<<11121314151617181920>>