/frameworks/support/core-utils/java/android/support/v4/print/ |
D | PrintHelper.java | 98 public void setColorMode(int colorMode); in setColorMode() argument 130 public void setColorMode(int colorMode) { in setColorMode() argument 131 mColorMode = colorMode; in setColorMode() 176 public void setColorMode(int colorMode) { in setColorMode() argument 177 mPrintHelper.setColorMode(colorMode); in setColorMode() 316 public void setColorMode(int colorMode) { in setColorMode() argument 317 mImpl.setColorMode(colorMode); in setColorMode()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | LocalDisplayAdapter.java | 290 for (int colorMode: colorModes) { in updateColorModesLocked() 291 if (!mSupportedColorModes.contains(colorMode)) { in updateColorModesLocked() 294 pendingColorModes.add(colorMode); in updateColorModesLocked() 367 mInfo.colorMode = mActiveColorMode; in getDisplayDeviceInfoLocked() 543 int colorMode, int modeId) { in requestDisplayModesInTransactionLocked() argument 545 requestColorModeInTransactionLocked(colorMode)) { in requestDisplayModesInTransactionLocked() 576 public boolean requestColorModeInTransactionLocked(int colorMode) { in requestColorModeInTransactionLocked() argument 577 if (mActiveColorMode == colorMode) { in requestColorModeInTransactionLocked() 580 if (!mSupportedColorModes.contains(colorMode)) { in requestColorModeInTransactionLocked() 581 Slog.w(TAG, "Unable to find color mode " + colorMode in requestColorModeInTransactionLocked() [all …]
|
D | DisplayDeviceInfo.java | 164 public int colorMode; field in DisplayDeviceInfo 288 if (colorMode != other.colorMode) { in diff() 330 colorMode = other.colorMode; in copyFrom() 358 sb.append(", colorMode ").append(colorMode); in toString()
|
D | PersistentDataStore.java | 195 public boolean setColorMode(DisplayDevice device, int colorMode) { in setColorMode() argument 200 if (state.setColorMode(colorMode)) { in setColorMode() 390 public boolean setColorMode(int colorMode) { in setColorMode() argument 391 if (colorMode == mColorMode) { in setColorMode() 394 mColorMode = colorMode; in setColorMode()
|
D | LogicalDisplay.java | 239 mBaseDisplayInfo.colorMode = deviceInfo.colorMode; in updateLocked() 395 public void setRequestedColorModeLocked(int colorMode) { in setRequestedColorModeLocked() argument 396 mRequestedColorMode = colorMode; in setRequestedColorModeLocked()
|
D | DisplayManagerService.java | 556 private void requestColorModeInternal(int displayId, int colorMode) { in requestColorModeInternal() argument 560 display.getRequestedColorModeLocked() != colorMode) { in requestColorModeInternal() 561 display.setRequestedColorModeLocked(colorMode); in requestColorModeInternal() 712 int colorMode = mPersistentDataStore.getColorMode(device); in handleDisplayDeviceAddedLocked() local 713 if (colorMode == Display.COLOR_MODE_INVALID) { in handleDisplayDeviceAddedLocked() 716 colorMode = mDefaultDisplayDefaultColorMode; in handleDisplayDeviceAddedLocked() 718 colorMode = Display.COLOR_MODE_DEFAULT; in handleDisplayDeviceAddedLocked() 721 display.setRequestedColorModeLocked(colorMode); in handleDisplayDeviceAddedLocked() 743 mPersistentDataStore.setColorMode(device, info.colorMode); in handleDisplayDeviceChanged() 1391 public void requestColorMode(int displayId, int colorMode) { in requestColorMode() argument [all …]
|
D | DisplayDevice.java | 143 public void requestDisplayModesInTransactionLocked(int colorMode, int modeId) { in requestDisplayModesInTransactionLocked() argument
|
/frameworks/base/core/java/android/view/ |
D | DisplayInfo.java | 173 public int colorMode; field in DisplayInfo 291 && colorMode == other.colorMode in equals() 332 colorMode = other.colorMode; in copyFrom() 372 colorMode = source.readInt(); in readFromParcel() 416 dest.writeInt(colorMode); in writeToParcel() 595 sb.append(colorMode); in toString()
|
D | Display.java | 733 public void requestColorMode(int colorMode) { in requestColorMode() argument 734 mGlobal.requestColorMode(mDisplayId, colorMode); in requestColorMode() 744 return mDisplayInfo.colorMode; in getColorMode()
|
D | SurfaceControl.java | 88 int colorMode); in nativeSetActiveColorMode() argument 649 public static boolean setActiveColorMode(IBinder displayToken, int colorMode) { in setActiveColorMode() argument 653 return nativeSetActiveColorMode(displayToken, colorMode); in setActiveColorMode()
|
/frameworks/base/core/java/android/print/ |
D | PrintAttributes.java | 204 public void setColorMode(int colorMode) { in setColorMode() argument 205 enforceValidColorMode(colorMode); in setColorMode() 206 mColorMode = colorMode; in setColorMode() 1342 static String colorModeToString(int colorMode) { in colorModeToString() argument 1343 switch (colorMode) { in colorModeToString() 1373 static void enforceValidColorMode(int colorMode) { in enforceValidColorMode() argument 1374 if ((colorMode & VALID_COLOR_MODES) == 0 || Integer.bitCount(colorMode) != 1) { in enforceValidColorMode() 1375 throw new IllegalArgumentException("invalid color mode: " + colorMode); in enforceValidColorMode() 1434 public @NonNull Builder setColorMode(@ColorMode int colorMode) { in setColorMode() argument 1435 mAttributes.setColorMode(colorMode); in setColorMode()
|
D | PrinterCapabilitiesInfo.java | 197 final int colorMode = mDefaults[PROPERTY_COLOR_MODE]; in getDefaults() local 198 if (colorMode > 0) { in getDefaults() 199 builder.setColorMode(colorMode); in getDefaults() 336 final int colorMode = 1 << Integer.numberOfTrailingZeros(colorModes); in colorModesToString() local 337 colorModes &= ~colorMode; in colorModesToString() 341 builder.append(PrintAttributes.colorModeToString(colorMode)); in colorModesToString()
|
/frameworks/base/libs/hwui/ |
D | Program.h | 151 SkXfermode::Mode colorMode; member 192 colorMode = SkXfermode::kClear_Mode; in reset() 249 key |= (colorMode & PROGRAM_MAX_XFERMODE) << PROGRAM_XFERMODE_COLOR_OP_SHIFT; in key()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWComposer_hwc1.h | 262 android_color_mode_t colorMode; member 269 colorMode == rhs.colorMode;
|
D | HWC2On1Adapter.cpp | 1682 android_color_mode_t colorMode = static_cast<android_color_mode_t>(getAttribute(ColorMode)); in setHwc1Id() local 1683 mHwc1Ids.emplace(colorMode, id); in setHwc1Id() 1794 android_color_mode_t colorMode = id.first; in toString() local 1797 if (colorMode == mDisplay.mActiveColorMode) { in toString() 1799 colorMode); in toString() 1802 colorMode); in toString()
|
D | HWComposer_hwc1.cpp | 408 config.colorMode = static_cast<android_color_mode_t>(values[i]); in queryDisplayProperties() 526 return mDisplayData[disp].configs[currentConfig].colorMode; in getColorMode() 1195 config.refresh, config.colorMode); in dump()
|
/frameworks/support/core-utils/kitkat/android/support/v4/print/ |
D | PrintHelperKitkat.java | 147 public void setColorMode(int colorMode) { in setColorMode() argument 148 mColorMode = colorMode; in setColorMode() 681 private Bitmap convertBitmapForColorMode(Bitmap original, int colorMode) { in convertBitmapForColorMode() argument 682 if (colorMode != COLOR_MODE_MONOCHROME) { in convertBitmapForColorMode()
|
/frameworks/base/core/java/android/hardware/display/ |
D | IDisplayManager.aidl | 63 void requestColorMode(int displayId, int colorMode); in requestColorMode() argument
|
D | DisplayManagerGlobal.java | 357 public void requestColorMode(int displayId, int colorMode) { in requestColorMode() argument 359 mDm.requestColorMode(displayId, colorMode); in requestColorMode()
|
/frameworks/native/libs/gui/ |
D | ISurfaceComposer.cpp | 325 android_color_mode_t colorMode) { in setActiveColorMode() argument 337 result = data.writeInt32(colorMode); in setActiveColorMode() 577 android_color_mode_t colorMode = getActiveColorMode(display); in onTransact() local 578 result = reply->writeInt32(static_cast<int32_t>(colorMode)); in onTransact()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | PrintActivity.java | 1126 final int colorMode = attributes.getColorMode(); in updatePrintAttributesFromCapabilities() local 1127 if ((capabilities.getColorModes() & colorMode) == 0) { in updatePrintAttributesFromCapabilities() 1674 final int colorMode = 1 << colorBitOffset; in updateOptionsUi() local 1675 remainingColorModes &= ~colorMode; in updateOptionsUi() 1676 if (colorMode != mColorModeSpinnerAdapter.getItem(adapterIndex).value) { in updateOptionsUi() 1694 final int colorMode = 1 << colorBitOffset; in updateOptionsUi() local 1695 if (colorMode == oldColorMode) { in updateOptionsUi() 1699 remainingColorModes &= ~colorMode; in updateOptionsUi() 1700 mColorModeSpinnerAdapter.add(new SpinnerItem<>(colorMode, in updateOptionsUi() 2013 final int colorMode = attributes.getColorMode(); in canUpdateDocument() local [all …]
|
/frameworks/native/include/gui/ |
D | ISurfaceComposer.h | 144 android_color_mode_t colorMode) = 0;
|
D | SurfaceComposerClient.h | 94 static status_t setActiveColorMode(const sp<IBinder>& display, android_color_mode_t colorMode);
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.h | 230 virtual status_t setActiveColorMode(const sp<IBinder>& display, android_color_mode_t colorMode); 270 void setActiveColorModeInternal(const sp<DisplayDevice>& hw, android_color_mode_t colorMode);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | PrintSpoolerService.java | 949 final int colorMode = attributes.getColorMode(); in doWriteStateLocked() local 951 String.valueOf(colorMode)); in doWriteStateLocked() 1207 String colorMode = parser.getAttributeValue(null, ATTR_COLOR_MODE); in parsePrintJob() local 1208 builder.setColorMode(Integer.parseInt(colorMode)); in parsePrintJob()
|