/frameworks/base/core/java/com/android/internal/widget/ |
H A D | PasswordEntryKeyboard.java | 30 * It has two modes: alpha and numeric. In alpha mode, it allows all Latin-1 characters and enables 31 * an additional keyboard with symbols. In numeric mode, it shows a 12-key DTMF dialer-like 62 public PasswordEntryKeyboard(Context context, int xmlLayoutResId, int mode) { argument 63 super(context, xmlLayoutResId, mode); 67 public PasswordEntryKeyboard(Context context, int xmlLayoutResId, int mode, argument 69 super(context, xmlLayoutResId, mode, width, height); 173 * Turn on shift mode. Sets shift mode and turns on icon for shift key.
|
/frameworks/base/libs/hwui/ |
H A D | ClipArea.h | 100 ClipBase(ClipMode mode) argument 101 : mode(mode) {} 103 : mode(ClipMode::Rectangle) 105 const ClipMode mode; member in struct:android::uirenderer::ClipBase
|
H A D | FontRenderer.h | 66 int alpha, SkXfermode::Mode mode, const SkPaint* paint) 76 , mode(mode) 93 SkXfermode::Mode mode; member in class:android::uirenderer::TextDrawFunctor 57 TextDrawFunctor( BakedOpRenderer* renderer, const BakedOpState* bakedState, const ClipBase* clip, float x, float y, bool pureTranslate, int alpha, SkXfermode::Mode mode, const SkPaint* paint) argument
|
/frameworks/base/libs/hwui/renderstate/ |
H A D | RenderState.cpp | 115 void RenderState::flush(Caches::FlushMode mode) { argument 116 switch (mode) { 125 mCaches->flush(mode); 162 void RenderState::invokeFunctor(Functor* functor, DrawGlInfo::Mode mode, DrawGlInfo* info) { argument 163 if (mode == DrawGlInfo::kModeProcessNoContext) { 166 (*functor)(mode, info); 169 (*functor)(mode, info);
|
/frameworks/base/media/java/android/media/ |
H A D | MediaExtractor.java | 492 * specified mode. 494 public native void seekTo(long timeUs, @SeekMode int mode); argument
|
/frameworks/base/media/lib/remotedisplay/java/com/android/media/remotedisplay/ |
H A D | RemoteDisplayProvider.java | 117 * 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 D | asset_manager.cpp | 87 AAsset* AAssetManager_open(AAssetManager* amgr, const char* filename, int mode) argument 90 switch (mode) {
|
/frameworks/base/packages/DocumentsUI/perf-tests/src/com/android/documentsui/ |
H A D | StressProvider.java | 172 public ParcelFileDescriptor openDocument(String docId, String mode, argument
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/ |
H A D | IconHelper.java | 61 // The display mode (MODE_GRID, MODE_LIST, etc). 67 * @param mode MODE_GRID or MODE_LIST 69 public IconHelper(Context context, int mode) { argument 71 setViewMode(mode); 86 * Sets the current display mode. This affects the thumbnail sizes that are loaded. 87 * @param mode See {@link State.MODE_LIST} and {@link State.MODE_GRID}. 89 public void setViewMode(@ViewMode int mode) { argument 90 mMode = mode; 91 int thumbSize = getThumbSize(mode); 96 private int getThumbSize(int mode) { argument [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
H A D | LocalBluetoothAdapter.java | 142 public void setScanMode(int mode) { argument 143 mAdapter.setScanMode(mode); 146 public boolean setScanMode(int mode, int duration) { argument 147 return mAdapter.setScanMode(mode, duration);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
H A D | BrightnessController.java | 179 // Update the slider and mode before attaching the listener so we don't 243 private void setMode(int mode) { argument 245 Settings.System.SCREEN_BRIGHTNESS_MODE, mode, 271 /** Fetch the brightness mode from the system settings and update the icon */
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | CompatModePackages.java | 56 // Compatibility state: no longer ask user to select the mode. 58 // Compatibility state: compatibility mode is enabled. 60 // Unsupported zoom state: don't warn the user about unsupported zoom mode. 113 String mode = parser.getAttributeValue(null, "mode"); 115 if (mode != null) { 117 modeInt = Integer.parseInt(mode); 184 // Update -- if the app no longer can run in compat mode, clear 280 public void setFrontActivityScreenCompatModeLocked(int mode) { argument 286 setPackageScreenCompatModeLocked(r.info.applicationInfo, mode); 301 setPackageScreenCompatModeLocked(String packageName, int mode) argument 314 setPackageScreenCompatModeLocked(ApplicationInfo ai, int mode) argument [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | DisplayPowerState.java | 173 * @param mode The electron beam animation mode to prepare. 176 public boolean prepareColorFade(Context context, int mode) { argument 177 if (!mColorFade.prepare(context, mode)) {
|
/frameworks/base/services/core/java/com/android/server/lights/ |
H A D | LightsService.java | 69 public void setFlashing(int color, int mode, int onMS, int offMS) { argument 71 setLightLocked(color, mode, onMS, offMS, BRIGHTNESS_MODE_USER); 121 private void setLightLocked(int color, int mode, int onMS, int offMS, int brightnessMode) { argument 122 if (!mLocked && (color != mColor || mode != mMode || onMS != mOnMS || offMS != mOffMS || 128 mMode = mode; 136 setLight_native(mNativePointer, mId, color, mode, onMS, offMS, brightnessMode); 178 Slog.e(TAG, "Failed to register VR mode state listener: " + e); 197 // User leaves VR mode before altering display settings. 201 Slog.v(TAG, "VR mode enabled, setting brightness to low persistence"); 207 if (DEBUG) Slog.v(TAG, "VR mode disable 243 setLight_native(long ptr, int light, int color, int mode, int onMS, int offMS, int brightnessMode) argument [all...] |
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockContentProvider.java | 87 String callingPackage, Uri url, String mode, ICancellationSignal signal) 89 return MockContentProvider.this.openAssetFile(url, mode); 94 String callingPackage, Uri url, String mode, ICancellationSignal signal, 96 return MockContentProvider.this.openFile(url, mode); 86 openAssetFile( String callingPackage, Uri url, String mode, ICancellationSignal signal) argument 93 openFile( String callingPackage, Uri url, String mode, ICancellationSignal signal, IBinder callerToken) argument
|
H A D | MockIContentProvider.java | 65 String callingPackage, Uri url, String mode, ICancellationSignal signal, 71 String callingPackage, Uri uri, String mode, ICancellationSignal signal) { 64 openFile( String callingPackage, Uri url, String mode, ICancellationSignal signal, IBinder callerToken) argument 70 openAssetFile( String callingPackage, Uri uri, String mode, ICancellationSignal signal) argument
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | Frame.java | 37 * frame data in the desired format. You must pass in a {@code mode} indicating whether you wish 58 /** Frame data access mode: Read */ 60 /** Frame data access mode: Write */ 174 final void assertAccessible(int mode) { argument 175 // Make sure frame is in write-mode 176 if (mReadOnly && mode == MODE_WRITE) {
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BitmapShader_Delegate.java | 207 private int getCoordinate(int i, int size, TileMode mode) { argument 209 switch (mode) { 229 switch (mode) {
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgePowerManager.java | 41 public boolean setPowerSaveMode(boolean mode) throws RemoteException { argument
|
/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | Archive.h | 46 char mode[8]; ///< file mode in ASCII octal member in struct:mcld::Archive::MemberHeader
|
/frameworks/native/libs/gui/ |
H A D | ISurfaceComposer.cpp | 207 virtual void setPowerMode(const sp<IBinder>& display, int mode) argument 212 data.writeInt32(mode); 489 int32_t mode = data.readInt32(); local 490 setPowerMode(display, mode);
|
/frameworks/native/services/sensorservice/ |
H A D | SensorDevice.cpp | 308 // If the underlying sensor is NOT in continuous mode, setDelay() should return an error. 309 // Calling setDelay() in batch mode is an invalid operation. 417 status_t SensorDevice::setMode(uint32_t mode) { argument 421 return mSensorModule->set_operation_mode(mode);
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
H A D | ImsCallSessionListenerBase.java | 185 public void callSessionUssdMessageReceived(IImsCallSession session, int mode, argument 208 * Notifies the TTY mode change by remote party. 210 * @param mode one of the following: - 217 public void callSessionTtyModeReceived(IImsCallSession session, int mode) { argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | CatCmdMessage.java | 44 public LaunchBrowserMode mode; field in class:CatCmdMessage.BrowserSettings 97 mBrowserSettings.mode = ((LaunchBrowserParams) cmdParams).mMode; 140 mBrowserSettings.mode = LaunchBrowserMode.values()[in.readInt()]; 173 dest.writeInt(mBrowserSettings.mode.ordinal());
|
H A D | CommandParams.java | 75 String url, LaunchBrowserMode mode) { 78 mMode = mode; 74 LaunchBrowserParams(CommandDetails cmdDet, TextMessage confirmMsg, String url, LaunchBrowserMode mode) argument
|