Searched defs:mode (Results 201 - 225 of 623) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/content/
H A DIContentProvider.java51 String callingPkg, Uri url, String mode, ICancellationSignal signal,
55 String callingPkg, Uri url, String mode, ICancellationSignal signal)
50 openFile( String callingPkg, Uri url, String mode, ICancellationSignal signal, IBinder callerToken) argument
54 openAssetFile( String callingPkg, Uri url, String mode, ICancellationSignal signal) argument
H A DSearchRecentSuggestionsProvider.java91 // a small set of mode bitflags in the version int.
98 * This mode bit configures the database to record recent queries. <i>required</i>
104 * This mode bit configures the database to include a 2nd annotation line with each entry.
122 * as a mode flags field, and configures the database columns depending on the mode bits
166 * @param mode You can use mode flags here to determine certain functional aspects of your
173 protected void setupSuggestions(String authority, int mode) { argument
175 ((mode & DATABASE_MODE_QUERIES) == 0)) {
178 // unpack mode flag
[all...]
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteSession.java73 * specifying the desired transaction mode. Once an explicit transaction has begun,
173 * Transaction mode: Deferred.
189 * Corresponds to the SQLite <code>BEGIN DEFERRED</code> transaction mode.
195 * Transaction mode: Immediate.
203 * Corresponds to the SQLite <code>BEGIN IMMEDIATE</code> transaction mode.
209 * Transaction mode: Exclusive.
217 * Corresponds to the SQLite <code>BEGIN EXCLUSIVE</code> transaction mode.
277 * @param transactionMode The transaction mode. One of: {@link #TRANSACTION_MODE_DEFERRED},
935 private Transaction obtainTransaction(int mode, SQLiteTransactionListener listener) { argument
945 transaction.mMode = mode;
[all...]
/frameworks/base/core/java/android/hardware/usb/
H A DUsbPort.java133 * The actual mode of the port may vary depending on what is plugged into it.
162 public static String modeToString(int mode) { argument
164 if (mode == MODE_NONE) {
168 if ((mode & MODE_DUAL) == MODE_DUAL) {
171 if ((mode & MODE_DFP) == MODE_DFP) {
173 } else if ((mode & MODE_UFP) == MODE_UFP) {
177 if ((mode & MODE_AUDIO_ACCESSORY) == MODE_AUDIO_ACCESSORY) {
180 if ((mode & MODE_DEBUG_ACCESSORY) == MODE_DEBUG_ACCESSORY) {
185 return Integer.toString(mode);
256 public static void checkDataRole(int mode) { argument
269 isModeSupported(int mode) argument
[all...]
/frameworks/base/core/java/android/net/
H A DSntpClient.java112 // set mode = 3 (client) and version = 3
113 // mode is in low 3 bits of first byte
132 final byte mode = (byte) (buffer[0] & 0x7);
140 checkValidServerReply(leap, mode, stratum, transmitTime);
212 byte leap, byte mode, int stratum, long transmitTime)
217 if ((mode != NTP_MODE_SERVER) && (mode != NTP_MODE_BROADCAST)) {
218 throw new InvalidServerReplyException("untrusted mode: " + mode);
211 checkValidServerReply( byte leap, byte mode, int stratum, long transmitTime) argument
/frameworks/base/core/java/android/os/
H A DShellCommand.java235 public ParcelFileDescriptor openFileForSystem(String path, String mode) { argument
236 if (DEBUG) Slog.d(TAG, "openFileForSystem: " + path + " mode=" + mode);
239 "u:r:system_server:s0", mode);
/frameworks/base/core/java/android/transition/
H A DVisibility.java97 int mode = a.getInt(R.styleable.VisibilityTransition_transitionVisibilityMode, 0);
99 if (mode != 0) {
100 setMode(mode);
115 * on <code>mode</code>.
117 * @param mode The behavior supported by this transition, a combination of
121 public void setMode(@VisibilityMode int mode) { argument
122 if ((mode & ~(MODE_IN | MODE_OUT)) != 0) {
125 mMode = mode;
/frameworks/base/core/java/android/view/
H A DActionMode.java25 * Represents a contextual mode of the user interface. Action modes can be used to provide
38 * The action mode is treated as a Primary mode. This is the default.
43 * The action mode is treated as a Floating Toolbar.
49 * Default value to hide the action mode for
87 * Set the title of the action mode. This method will have no visible effect if
98 * Set the title of the action mode. This method will have no visible effect if
109 * Set the subtitle of the action mode. This method will have no visible effect if
120 * Set the subtitle of the action mode. This method will have no visible effect if
131 * Set whether or not the title/subtitle display for this action mode
314 onCreateActionMode(ActionMode mode, Menu menu) argument
323 onPrepareActionMode(ActionMode mode, Menu menu) argument
333 onActionItemClicked(ActionMode mode, MenuItem item) argument
340 onDestroyActionMode(ActionMode mode) argument
362 onGetContentRect(ActionMode mode, View view, Rect outRect) argument
[all...]
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/core/java/android/webkit/
H A DFindActionModeCallback.java200 public boolean onCreateActionMode(ActionMode mode, Menu menu) { argument
201 if (!mode.isUiFocusable()) {
202 // If the action mode we're running in is not focusable the user
209 mode.setCustomView(mCustomView);
210 mode.getMenuInflater().inflate(com.android.internal.R.menu.webview_find,
212 mActionMode = mode;
223 public void onDestroyActionMode(ActionMode mode) { argument
231 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { argument
236 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument
294 public boolean onCreateActionMode(ActionMode mode, Men argument
299 onPrepareActionMode(ActionMode mode, Menu menu) argument
304 onActionItemClicked(ActionMode mode, MenuItem item) argument
309 onDestroyActionMode(ActionMode mode) argument
[all...]
/frameworks/base/core/java/com/android/internal/colorextraction/drawable/
H A DGradientDrawable.java139 public void setXfermode(@Nullable Xfermode mode) { argument
140 mPaint.setXfermode(mode);
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarContextView.java118 // Allow full screen width in split mode.
201 public void initForMode(final ActionMode mode) { argument
213 mode.finish();
217 final MenuBuilder menu = (MenuBuilder) mode.getMenu();
232 // Allow full screen width in split mode.
421 // Action mode started
/frameworks/base/core/tests/coretests/src/android/provider/
H A DMockFontProvider.java219 public ParcelFileDescriptor openFile(Uri uri, String mode) { argument
/frameworks/base/graphics/java/android/graphics/drawable/
H A DColorDrawable.java220 * @param mode new transfer mode
223 public void setXfermode(@Nullable Xfermode mode) { argument
224 mPaint.setXfermode(mode);
230 * @return current transfer mode
/frameworks/base/libs/hwui/
H A DClipArea.h94 explicit ClipBase(ClipMode mode) : mode(mode) {} argument
95 explicit ClipBase(const Rect& rect) : mode(ClipMode::Rectangle), rect(rect) {}
96 const ClipMode mode; member in struct:android::uirenderer::ClipBase
H A DFontRenderer.h55 float x, float y, bool pureTranslate, int alpha, SkBlendMode mode,
64 , mode(mode)
76 SkBlendMode mode; member in class:android::uirenderer::TextDrawFunctor
54 TextDrawFunctor(BakedOpRenderer* renderer, const BakedOpState* bakedState, const ClipBase* clip, float x, float y, bool pureTranslate, int alpha, SkBlendMode mode, const SkPaint* paint) argument
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaVulkanPipeline.cpp118 sk_sp<SkColorFilter> colorFilter, int alpha, SkBlendMode mode,
120 return new VkLayer(renderState, layerWidth, layerHeight, colorFilter, alpha, mode, blend);
139 // TODO: handle color mode
156 DrawGlInfo::Mode mode = DrawGlInfo::kModeProcessNoContext; local
157 (*functor)(mode, nullptr);
117 createLayer(RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight, sk_sp<SkColorFilter> colorFilter, int alpha, SkBlendMode mode, bool blend) argument
H A DVectorDrawableAtlas.cpp277 void VectorDrawableAtlas::setStorageMode(StorageMode mode) { argument
278 mStorageMode = mode;
/frameworks/base/libs/hwui/renderthread/
H A DVulkanManager.cpp459 // If mailbox mode is available, use it, as it is the lowest-latency non-
460 // tearing mode. If not, fall back to FIFO which is always available.
461 VkPresentModeKHR mode = VK_PRESENT_MODE_FIFO_KHR; local
465 mode = presentModes[i];
494 swapchainCreateInfo.presentMode = mode;
/frameworks/base/media/lib/remotedisplay/java/com/android/media/remotedisplay/
H A DRemoteDisplayProvider.java117 * Discovery mode: Do not perform any discovery.
122 * Discovery mode: Passive or low-power periodic discovery.
124 * This mode indicates that an application is interested in knowing whether there
133 * Discovery mode: Active discovery.
135 * This mode indicates that the user is actively trying to connect to a route
136 * and we should perform continuous scans. This mode may use significantly more
174 * Called when the current discovery mode changes.
176 * @param mode The new discovery mode.
178 public void onDiscoveryModeChanged(int mode) { argument
305 setDiscoveryMode(int mode) argument
335 setDiscoveryMode(int mode) argument
[all...]
/frameworks/base/native/android/
H A Dasset_manager.cpp66 AAsset* AAssetManager_open(AAssetManager* amgr, const char* filename, int mode) argument
69 switch (mode) {
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DLocalBluetoothAdapter.java151 public void setScanMode(int mode) { argument
152 mAdapter.setScanMode(mode);
155 public boolean setScanMode(int mode, int duration) { argument
156 return mAdapter.setScanMode(mode, duration);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DLockscreenWallpaper.java240 public void setXfermode(@Nullable Xfermode mode) { argument
242 getDrawable().setXfermode(mode);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DZenModeControllerImpl.java50 /** Platform implementation of the zen mode controller. **/
214 protected void updateZenMode(int mode) { argument
215 mZenMode = mode;
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DUiAutomationManager.java257 public boolean setSoftKeyboardShowMode(int mode) { argument

Completed in 513 milliseconds

1234567891011>>