/frameworks/base/libs/hwui/ |
H A D | ClipArea.h | 100 explicit 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 | 59 int alpha, SkBlendMode mode, const SkPaint* paint) 67 , mode(mode) 80 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 D | SkiaVulkanPipeline.cpp | 122 SkColorFilter* colorFilter, int alpha, SkBlendMode mode, bool blend) { 123 return new VkLayer(renderState, layerWidth, layerHeight, colorFilter, alpha, mode, blend); 143 // TODO: handle color mode 160 DrawGlInfo::Mode mode = DrawGlInfo::kModeProcessNoContext; local 161 (*functor)(mode, nullptr); 121 createLayer(RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight, SkColorFilter* colorFilter, int alpha, SkBlendMode mode, bool blend) argument
|
H A D | VectorDrawableAtlas.cpp | 258 void VectorDrawableAtlas::setStorageMode(StorageMode mode) { argument 259 mStorageMode = mode;
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | VulkanManager.cpp | 451 // If mailbox mode is available, use it, as it is the lowest-latency non- 452 // tearing mode. If not, fall back to FIFO which is always available. 453 VkPresentModeKHR mode = VK_PRESENT_MODE_FIFO_KHR; local 457 mode = presentModes[i]; 486 swapchainCreateInfo.presentMode = mode;
|
/frameworks/base/media/java/android/media/ |
H A D | BufferingParams.java | 36 * is playing back source). {@link BufferingParams} includes mode and corresponding 38 * based (in milliseconds), or time based (in kilobytes) or both, depending on the mode. 70 * This mode indicates that source buffering is not supported. 74 * This mode indicates that only time based source buffering is supported. This means 79 * This mode indicates that only size based source buffering is supported. This means 84 * This mode indicates that both time and size based source buffering are supported, 120 * Return the initial buffering mode used when {@link MediaPlayer} is being prepared. 128 * Return the rebuffering mode used when {@link MediaPlayer} is playing back source. 137 * It is meaningful only when initial buffering mode obatined from 147 * It is meaningful only when initial buffering mode obatine 278 isTimeBasedMode(int mode) argument 282 isSizeBasedMode(int mode) argument 294 setInitialBufferingMode(@ufferingMode int mode) argument 316 setRebufferingMode(@ufferingMode int mode) argument [all...] |
/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/SettingsLib/src/com/android/settingslib/bluetooth/ |
H A D | LocalBluetoothAdapter.java | 150 public void setScanMode(int mode) { argument 151 mAdapter.setScanMode(mode); 154 public boolean setScanMode(int mode, int duration) { argument 155 return mAdapter.setScanMode(mode, duration);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | LockscreenWallpaper.java | 240 public void setXfermode(@Nullable Xfermode mode) { argument 242 getDrawable().setXfermode(mode);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | RescueParty.java | 196 private static void resetAllSettings(Context context, int mode) throws Exception { argument 202 Settings.Global.resetToDefaultsAsUser(resolver, null, mode, UserHandle.USER_SYSTEM); 208 Settings.Secure.resetToDefaultsAsUser(resolver, null, mode, userId);
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | CompatModePackages.java | 57 // Compatibility state: no longer ask user to select the mode. 59 // Compatibility state: compatibility mode is enabled. 61 // Unsupported zoom state: don't warn the user about unsupported zoom mode. 114 String mode = parser.getAttributeValue(null, "mode"); 116 if (mode != null) { 118 modeInt = Integer.parseInt(mode); 185 // Update -- if the app no longer can run in compat mode, clear 282 public void setFrontActivityScreenCompatModeLocked(int mode) { argument 288 setPackageScreenCompatModeLocked(r.info.applicationInfo, mode); 303 setPackageScreenCompatModeLocked(String packageName, int mode) argument 316 setPackageScreenCompatModeLocked(ApplicationInfo ai, int mode) argument [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
H A D | IPv6TetheringCoordinator.java | 56 public final int mode; // IControlsTethering.STATE_* field in class:IPv6TetheringCoordinator.Downstream 60 Downstream(TetherInterfaceStateMachine tism, int mode, short subnetId) { argument 62 this.mode = mode; 88 public void addActiveDownstream(TetherInterfaceStateMachine downstream, int mode) { argument 92 // We never change the mode of a downstream except by first removing 93 // it and then re-adding it (with its new mode specified); 94 if (mActiveDownstreams.offer(new Downstream(downstream, mode, mNextSubnetId))) { 177 if (ds.mode == IControlsTethering.STATE_LOCAL_ONLY) { 182 // This downstream is in IControlsTethering.STATE_TETHERED mode [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | DisplayPowerState.java | 175 * @param mode The electron beam animation mode to prepare. 178 public boolean prepareColorFade(Context context, int mode) { argument 179 if (mColorFade == null || !mColorFade.prepare(context, mode)) {
|
H A D | DisplayTransformManager.java | 162 * Returns the current Daltonization mode. 171 * Sets the current Daltonization mode. This adjusts the color space to correct for or simulate 174 * @param mode the new Daltonization mode, or -1 to disable 176 public void setDaltonizerMode(int mode) { argument 178 if (mDaltonizerMode != mode) { 179 mDaltonizerMode = mode; 180 applyDaltonizerMode(mode); 212 * Propagates the provided Daltonization mode to the SurfaceFlinger. 214 private static void applyDaltonizerMode(int mode) { argument [all...] |
/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); 125 private void setLightLocked(int color, int mode, int onMS, int offMS, int brightnessMode) { argument 132 if (!mInitialized || color != mColor || mode != mMode || onMS != mOnMS || 139 mMode = mode; 146 setLight_native(mId, color, mode, onMS, offMS, brightnessMode); 215 static native void setLight_native(int light, int color, int mode, argument
|
/frameworks/base/telecomm/java/android/telecom/ |
H A D | InCallAdapter.java | 413 * Sets the RTT audio mode. 414 * @param mode the desired RTT audio mode 416 public void setRttMode(String callId, int mode) { argument 418 mAdapter.setRttMode(callId, mode);
|
/frameworks/base/telephony/java/android/telephony/ims/stub/ |
H A D | ImsCallSessionListenerImplBase.java | 193 public void callSessionUssdMessageReceived(IImsCallSession session, int mode, argument 233 * Notifies the TTY mode change by remote party. 235 * @param mode one of the following: - 242 public void callSessionTtyModeReceived(IImsCallSession session, int mode) { argument
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockContentProvider.java | 88 String callingPackage, Uri url, String mode, ICancellationSignal signal) 90 return MockContentProvider.this.openAssetFile(url, mode); 95 String callingPackage, Uri url, String mode, ICancellationSignal signal, 97 return MockContentProvider.this.openFile(url, mode); 87 openAssetFile( String callingPackage, Uri url, String mode, ICancellationSignal signal) argument 94 openFile( String callingPackage, Uri url, String mode, ICancellationSignal signal, IBinder callerToken) argument
|
H A D | MockIContentProvider.java | 71 String callingPackage, Uri url, String mode, ICancellationSignal signal, 78 String callingPackage, Uri uri, String mode, ICancellationSignal signal) { 70 openFile( String callingPackage, Uri url, String mode, ICancellationSignal signal, IBinder callerToken) argument 77 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/aapt2/util/ |
H A D | Files.cpp | 96 constexpr const mode_t mode = S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP; local 102 int result = ::android::base::utf8::mkdir(parent_path.c_str(), mode); 108 return ::android::base::utf8::mkdir(path.c_str(), mode) == 0 || errno == EEXIST;
|
/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/layoutlib/bridge/src/android/graphics/ |
H A D | BitmapShader_Delegate.java | 208 private int getCoordinate(int i, int size, TileMode mode) { argument 210 switch (mode) { 230 switch (mode) {
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgePowerManager.java | 43 public boolean setPowerSaveMode(boolean mode) throws RemoteException { argument
|