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

<<11121314151617181920>>

/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DLegacyMetadataMapper.java391 for (String mode : antiBandingModes) {
392 int convertedMode = convertAntiBandingMode(mode);
394 Log.v(TAG, "Antibanding mode " + ((mode == null) ? "NULL" : mode) +
647 // Special case where the only scene mode listed is AUTO => no scene mode
688 Log.v(TAG, "mapLens - focus-mode='" + p.getFocusMode() + "'");
955 // Only "OFF" test pattern mode is available
1070 static int convertSceneModeFromLegacy(String mode) { argument
1081 convertSceneModeToLegacy(int mode) argument
1118 convertEffectModeFromLegacy(String mode) argument
1129 convertEffectModeToLegacy(int mode) argument
1144 convertAntiBandingMode(String mode) argument
1176 convertAntiBandingModeOrDefault(String mode) argument
1468 convertAfModeToLegacy(int mode, List<String> supportedFocusModes) argument
[all...]
/frameworks/base/core/java/android/net/
H A DIpSecConfig.java59 // For tunnel mode IPv4 UDP Encapsulation
72 /** Set the mode for this IPsec transform */
73 public void setMode(int mode) { argument
74 mMode = mode;
/frameworks/base/core/jni/android/graphics/
H A DShader.cpp273 SkBlendMode mode = static_cast<SkBlendMode>(xfermodeHandle); local
275 sk_ref_sp(shaderA), sk_ref_sp(shaderB), mode)); local
/frameworks/base/core/jni/
H A Dandroid_graphics_drawable_AnimatedVectorDrawable.cpp92 RepeatMode mode = static_cast<RepeatMode>(repeatMode); local
93 set->addPropertyAnimator(holder, interpolator, startDelay, duration, repeatCount, mode);
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/
H A DPhoneWindowActionModeTest.java64 ActionMode mode = mPhoneWindow.getDecorView().startActionMode(
67 assertEquals(mWindowCallback.mLastCreatedActionMode, mode);
129 ActionMode mode = mPhoneWindow.getDecorView().startActionMode(
132 assertNotNull(mode);
133 assertEquals(mWindowCallback.mLastCreatedActionMode, mode);
142 ActionMode mode = mPhoneWindow.getDecorView().startActionMode(
145 assertNotNull(mode);
146 assertEquals(ActionMode.TYPE_PRIMARY, mode.getType());
155 ActionMode mode = mPhoneWindow.getDecorView().startActionMode(
158 assertNotNull(mode);
287 onActionModeStarted(ActionMode mode) argument
292 onActionModeFinished(ActionMode mode) argument
300 onPrepareActionMode(ActionMode mode, Menu menu) argument
305 onDestroyActionMode(ActionMode mode) argument
308 onCreateActionMode(ActionMode mode, Menu menu) argument
314 onActionItemClicked(ActionMode mode, MenuItem item) argument
[all...]
/frameworks/base/core/tests/overlaytests/device/src/com/android/overlaytest/
H A DOverlayBaseTest.java54 protected OverlayBaseTest(int mode) { argument
55 mMode = mode;
90 fail("Unknown mode!");
104 fail("Unknown mode!");
118 fail("Unknown mode!");
132 fail("Unknown mode!");
227 fail("Unknown mode " + mMode);
/frameworks/base/keystore/java/android/security/keystore/
H A DAndroidKeyStoreCipherSpiBase.java720 protected final void engineSetMode(String mode) throws NoSuchAlgorithmException { argument
722 // provide explicitly specify block mode.
729 // provide explicitly specify padding mode.
/frameworks/base/libs/androidfw/
H A DAsset.cpp132 * We can use "mode" to decide how we want to go about it.
134 /*static*/ Asset* Asset::createFromFile(const char* fileName, AccessMode mode) argument
179 pAsset->mAccessMode = mode;
191 AccessMode mode)
239 pAsset->mAccessMode = mode;
249 size_t length, AccessMode mode)
259 pAsset->mAccessMode = mode;
268 AccessMode mode)
279 pAsset->mAccessMode = mode;
288 AccessMode mode)
190 createFromCompressedFile(const char* fileName, AccessMode mode) argument
287 createFromUncompressedMap(FileMap* dataMap, AccessMode mode) argument
302 createFromUncompressedMap(std::unique_ptr<FileMap> dataMap, AccessMode mode) argument
321 createFromCompressedMap(FileMap* dataMap, size_t uncompressedLen, AccessMode mode) argument
336 createFromCompressedMap(std::unique_ptr<FileMap> dataMap, size_t uncompressedLen, AccessMode mode) argument
[all...]
/frameworks/base/libs/hwui/
H A DGlopBuilder.cpp224 void GlopBuilder::setFill(int color, float alphaScale, SkBlendMode mode, argument
227 if (mode != SkBlendMode::kClear) {
249 PaintUtils::isBlendedColorFilter(colorFilter) || mode != SkBlendMode::kSrcOver) {
250 if (CC_LIKELY(mode <= SkBlendMode::kScreen)) {
251 Blend::getFactors(mode, modeUsage, &mOutGlop->blend.src, &mOutGlop->blend.dst);
256 // If the blend mode cannot be implemented using shaders, fall
257 // back to the default SrcOver blend mode instead
259 mDescription.framebufferMode = mode;
426 float alpha, SkBlendMode mode,
433 setFill(SK_ColorWHITE, alpha, mode, modeUsag
425 setFillLayer(Texture& texture, const SkColorFilter* colorFilter, float alpha, SkBlendMode mode, Blend::ModeOrderSwap modeUsage) argument
[all...]
/frameworks/base/libs/hwui/renderstate/
H A DRenderState.cpp114 void RenderState::flush(Caches::FlushMode mode) { argument
115 switch (mode) {
124 if (mCaches) mCaches->flush(mode);
167 void RenderState::invokeFunctor(Functor* functor, DrawGlInfo::Mode mode, DrawGlInfo* info) { argument
168 if (mode == DrawGlInfo::kModeProcessNoContext) {
171 (*functor)(mode, info);
174 (*functor)(mode, info);
/frameworks/base/media/java/android/media/
H A DMediaExtractor.java604 * specified mode.
606 public native void seekTo(long timeUs, @SeekMode int mode); argument
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DTestDocumentsProvider.java311 public ParcelFileDescriptor openDocument(String docId, String mode, CancellationSignal signal) argument
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
H A DUserIconDrawable.java283 public void setTintMode(@NonNull PorterDuff.Mode mode) { argument
284 mTintMode = mode;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DBarTransitions.java80 * of what mode it is currently set to.
91 public void transitionTo(int mode, boolean animate) { argument
92 if (isAlwaysOpaque() && (mode == MODE_SEMI_TRANSPARENT || mode == MODE_TRANSLUCENT
93 || mode == MODE_TRANSPARENT)) {
94 mode = MODE_OPAQUE;
96 if (isAlwaysOpaque() && (mode == MODE_LIGHTS_OUT_TRANSPARENT)) {
97 mode = MODE_LIGHTS_OUT;
99 if (mMode == mode) return;
101 mMode = mode;
117 modeToString(int mode) argument
132 isLightsOut(int mode) argument
[all...]
H A DFingerprintUnlockController.java60 * already visible while pulsing in doze mode.
66 * acquire a fingerprint pulsing in doze mode.
200 public void startWakeAndUnlock(int mode) { argument
202 Log.v(TAG, "startWakeAndUnlock(" + mode + ")");
204 mMode = mode;
/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/display/
H A DColorDisplayService.java192 // Set the color mode, if valid, and immediately apply the updated tint matrix based on the
193 // existing activated state. This ensures consistency of tint across the color mode change.
204 // Initialize the current auto mode.
292 public void onDisplayColorModeChanged(int mode) { argument
293 if (mode == -1) {
302 setCoefficientMatrix(getContext(), DisplayTransformManager.needsLinearColorMatrix(mode));
306 dtm.setColorMode(mode, (mIsActivated != null && mIsActivated) ? mMatrixNight
/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/services/usb/java/com/android/server/usb/
H A DUsbHostManager.java52 * UsbHostManager manages USB state in host mode.
108 ConnectionRecord(String deviceAddress, int mode, byte[] descriptors) { argument
111 mMode = mode;
123 dump.write("mode", UsbConnectionRecordProto.MODE, mMode);
146 pw.println(formatTime() + " Connect " + mDeviceAddress + " mode:" + mMode);
162 pw.println(formatTime() + " Connect " + mDeviceAddress + " mode:" + mMode);
179 pw.println(formatTime() + " Connect " + mDeviceAddress + " mode:" + mMode);
199 pw.println(formatTime() + " Connect " + mDeviceAddress + " mode:" + mMode);
291 private void addConnectionRecord(String deviceAddress, int mode, byte[] rawDescriptors) { argument
297 new ConnectionRecord(deviceAddress, mode, rawDescriptor
[all...]
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
H A DVoiceInteractionSessionConnection.java298 void grantUriPermission(Uri uri, int mode, int srcUid, int destUid, String destPkg) { argument
306 mode, ContentProvider.getUserIdFromUri(uri, UserHandle.getUserId(srcUid)));
321 void grantClipDataItemPermission(ClipData.Item item, int mode, int srcUid, int destUid, argument
324 grantUriPermission(item.getUri(), mode, srcUid, destUid, destPkg);
328 grantUriPermission(intent.getData(), mode, srcUid, destUid, destPkg);
332 void grantClipDataPermissions(ClipData data, int mode, int srcUid, int destUid, argument
336 grantClipDataItemPermission(data.getItemAt(i), mode, srcUid, destUid, destPkg);
/frameworks/base/telephony/java/android/telephony/ims/feature/
H A DMmTelFeature.java591 * @return The {@link ImsEcbmImplBase} Emergency call-back mode interface for emergency VoLTE
609 * Sets the current UI TTY mode for the MmTelFeature.
610 * @param mode An integer containing the new UI TTY Mode, can consist of
621 * // Notify framework that the mode was changed.
629 public void setUiTtyMode(int mode, Message onCompleteMessage) { argument
/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/libs/gui/
H A DISurfaceComposer.cpp289 virtual void setPowerMode(const sp<IBinder>& display, int mode) argument
294 data.writeInt32(mode);
809 int32_t mode = data.readInt32(); local
810 setPowerMode(display, mode);

Completed in 4553 milliseconds

<<11121314151617181920>>