/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
DrawableTest.java | 719 mockDrawable.setColorFilter(5, PorterDuff.Mode.CLEAR); 804 // Setting a PorterDuff.Mode should delegate to the BlendMode API 807 testTintDrawable.setTintMode(PorterDuff.Mode.OVERLAY); 814 // Setting a BlendMode should delegate to the PorterDuff.Mode API 818 // there is no equivalent for the luminosity blend mode on older API levels 843 test.setTintMode(PorterDuff.Mode.CLEAR); 861 test.setTintMode(PorterDuff.Mode.CLEAR); 870 d.setTintMode((PorterDuff.Mode) null); 871 assertEquals(BlendMode.SRC_IN, d.mode); 878 assertEquals(PorterDuff.Mode.SRC_IN, d.mode) 971 public PorterDuff.Mode mode; field in class:DrawableTest.TestNullPorterDuffDrawable 1001 public BlendMode mode; field in class:DrawableTest.TestNullBlendModeDrawable [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
ImageViewTest.java | 50 import android.graphics.PorterDuff.Mode; 403 mImageViewRegular.setColorFilter(0, PorterDuff.Mode.CLEAR); 535 mockDrawable.setXfermode(new PorterDuffXfermode(Mode.SRC_IN)); 574 assertEquals(Mode.SRC_ATOP, imageViewPorterDuffFilter.getMode()); 581 assertEquals(PorterDuff.Mode.SRC_ATOP, porterDuffColorFilter.getMode()); 606 assertEquals("Image tint mode inflated correctly", 607 PorterDuff.Mode.SRC_OVER, imageViewTinted.getImageTintMode()); 609 imageViewTinted.setImageTintMode(PorterDuff.Mode.SRC_IN); 610 assertEquals(PorterDuff.Mode.SRC_IN, imageViewTinted.getImageTintMode()); 620 assertEquals("Image tint mode inflated correctly" [all...] |
AbsSeekBarTest.java | 313 assertEquals("Thumb tint mode inflated correctly", 314 PorterDuff.Mode.SRC_OVER, inflatedView.getThumbTintMode()); 326 inflatedView.setThumbTintMode(PorterDuff.Mode.DST_ATOP); 327 assertEquals("Thumb tint mode changed correctly", 328 PorterDuff.Mode.DST_ATOP, inflatedView.getThumbTintMode()); 344 assertEquals("Thumb tint mode inflated correctly", 359 assertEquals("Thumb tint mode changed correctly", 376 assertEquals("TickMark tint mode inflated correctly", 377 PorterDuff.Mode.SRC_OVER, inflatedView.getTickMarkTintMode()); 390 inflatedView.setTickMarkTintMode(PorterDuff.Mode.DARKEN) [all...] |
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/ |
ConsoleOption.c | 506 &SerialIo->Mode->BaudRate,
512 &SerialIo->Mode->DataBits,
518 &SerialIo->Mode->Parity,
524 &SerialIo->Mode->StopBits,
1019 Get mode number according to column and row
1032 UINTN Mode;
1038 MaxMode = (UINTN) (ConOut->Mode->MaxMode);
1042 for (Mode = 0; Mode < MaxMode; Mode++) { [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BootMaintenanceManagerUiLib/ |
ConsoleOption.c | 507 &SerialIo->Mode->BaudRate,
513 &SerialIo->Mode->DataBits,
519 &SerialIo->Mode->Parity,
525 &SerialIo->Mode->StopBits,
983 Get mode number according to column and row
996 UINTN Mode;
1002 MaxMode = (UINTN) (ConOut->Mode->MaxMode);
1006 for (Mode = 0; Mode < MaxMode; Mode++) { [all...] |
/device/linaro/bootloader/edk2/EmbeddedPkg/Drivers/Lan9118Dxe/ |
Lan9118DxeUtil.c | 437 if (CompareMem (&Snp->Mode->CurrentAddress, &mZeroMac, NET_ETHER_ADDR_LEN)) {
438 Lan9118SetMacAddress (&Snp->Mode->CurrentAddress, Snp);
444 CopyMem (&Snp->Mode->CurrentAddress, &DefaultMacAddress, NET_ETHER_ADDR_LEN);
448 Lan9118ReadMacAddress (&Snp->Mode->CurrentAddress);
449 CopyMem (&Snp->Mode->PermanentAddress, &Snp->Mode->CurrentAddress, NET_ETHER_ADDR_LEN);
504 Snp->Mode->State = EfiSimpleNetworkStopped;
|
/device/linaro/bootloader/edk2/MdeModulePkg/Application/CapsuleApp/ |
CapsuleApp.c | 201 Print(L"Current GOP: Mode - %d, ", Gop->Mode->Mode);
202 Print(L"HorizontalResolution - %d, ", Gop->Mode->Info->HorizontalResolution);
203 Print(L"VerticalResolution - %d\n", Gop->Mode->Info->VerticalResolution);
247 DisplayCapsule->ImagePayload.Mode = Gop->Mode->Mode;
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ufs/UfsPassThruDxe/ |
UfsPassThru.c | 170 if ((This->Mode->IoAlign > 1) && !IS_ALIGNED(Packet->InDataBuffer, This->Mode->IoAlign)) {
174 if ((This->Mode->IoAlign > 1) && !IS_ALIGNED(Packet->OutDataBuffer, This->Mode->IoAlign)) {
178 if ((This->Mode->IoAlign > 1) && !IS_ALIGNED(Packet->SenseData, This->Mode->IoAlign)) {
[all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbMouseDxe/ |
UsbMouse.c | 275 UsbMouseDevice->SimplePointerProtocol.Mode = &UsbMouseDevice->Mode;
674 UsbMouseDev->Mode.LeftButton = TRUE;
677 UsbMouseDev->Mode.RightButton = TRUE;
679 UsbMouseDev->Mode.ResolutionX = 8;
680 UsbMouseDev->Mode.ResolutionY = 8;
681 UsbMouseDev->Mode.ResolutionZ = 0;
|
/external/syzkaller/pkg/ifuzz/gen/ |
gen.go | 104 insn.Mode = 1<<ifuzz.ModeLong64 | 1<<ifuzz.ModeProt32 187 // As spelled these have incorrect format for 16-bit addressing mode and with 67 prefix. 192 if insn.Mode == 0 { 193 insn.Mode = 1<<ifuzz.ModeLast - 1 306 insn.Mode &^= 1 << ifuzz.ModeReal16 347 insn.Mode &= 1 << ifuzz.ModeLong64 349 insn.Mode &^= 1 << ifuzz.ModeLong64 351 insn.Mode &= 1 << ifuzz.ModeProt32 353 insn.Mode &= 1<<ifuzz.ModeProt16 | 1<<ifuzz.ModeReal16 476 if insn.Mode == 0 [all...] |
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/ |
FrontPage.c | 27 // Boot video resolution and text mode.
34 // BIOS setup video resolution and text mode.
1017 // and text mode before launching setup at first time.
1039 // Get current video resolution and text mode.
1041 mBootHorizontalResolution = GraphicsOutput->Mode->Info->HorizontalResolution;
1042 mBootVerticalResolution = GraphicsOutput->Mode->Info->VerticalResolution;
1048 SimpleTextOut->Mode->Mode,
1057 // Get user defined text mode for setup. [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Application/UiApp/ |
FrontPage.c | 29 // Boot video resolution and text mode.
36 // BIOS setup video resolution and text mode.
654 This function will change video resolution and text mode
655 according to defined setup mode or defined boot mode
657 @param IsSetupMode Indicate mode is changed to setup mode or boot mode.
659 @retval EFI_SUCCESS Mode is changed successfully.
660 @retval Others Mode failed to be changed. [all...] |
/external/mesa3d/src/mesa/main/ |
api_validate.c | 107 "fragment shader does not allow advanced blending mode " 197 * only one of the front and back polygon mode is FILL_RECTANGLE_NV." 203 "polygon mode or neither"); 336 * Is 'mode' a valid value for glBegin(), glDrawArrays(), glDrawElements(), 342 _mesa_is_valid_prim_mode(const struct gl_context *ctx, GLenum mode) 344 /* The overwhelmingly common case is (mode <= GL_TRIANGLE_FAN). Test that 349 if (likely(mode <= GL_TRIANGLE_FAN)) 352 if (mode <= GL_POLYGON) 355 if (mode <= GL_TRIANGLE_STRIP_ADJACENCY) 358 if (mode == GL_PATCHES [all...] |
/external/perfetto/src/trace_processor/ |
span_join_operator_table.cc | 474 if (mode_ == Mode::kShadowSlice) { 480 mode_ = Mode::kRealSlice; 489 mode_ = Mode::kRealSlice; 493 mode_ = Mode::kShadowSlice; 498 mode_ = Mode::kShadowSlice; 522 mode_ = Mode::kShadowSlice; 528 mode_ = Mode::kRealSlice; 540 mode_ = Mode::kShadowSlice; 633 mode_ = Mode::kRealSlice; 640 if (mode_ != Mode::kRealSlice) [all...] |
/device/linaro/bootloader/OpenPlatformPkg/Drivers/SdMmc/XenonDxe/ |
SdMmcPciHci.c | 73 DEBUG ((DEBUG_INFO, " Retuning Mode Mode %d\n", Capability->RetuningMod + 1));
[all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/ |
SdMmcPciHci.c | 73 DEBUG ((DEBUG_INFO, " Retuning Mode Mode %d\n", Capability->RetuningMod + 1));
[all...] |
/external/syzkaller/pkg/ifuzz/ |
pseudo.go | 13 Mode: 1<<ModeLast - 1, 26 Mode: 1<<ModeLast - 1, 42 Mode: 1<<ModeLast - 1, 55 Mode: 1<<ModeLast - 1, 69 Mode: 1<<ModeLast - 1, 81 Mode: 1<<ModeLast - 1, 94 Mode: 1<<ModeLast - 1, 115 Mode: 1<<ModeLast - 1, 130 Mode: 1<<ModeLast - 1, 139 if cfg.Mode == ModeLong64 [all...] |
/developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/config/ |
AnalogComplicationConfigRecyclerViewAdapter.java | 411 new PorterDuffColorFilter(currentBackgroundColor, PorterDuff.Mode.SRC_ATOP); 431 new PorterDuffColorFilter(currentHighlightColor, PorterDuff.Mode.SRC_ATOP); 492 new PorterDuffColorFilter(Color.GRAY, PorterDuff.Mode.SRC_ATOP); 513 currentBackgroundColor, PorterDuff.Mode.SRC_ATOP); 553 new PorterDuffColorFilter(currentHighlightColor, PorterDuff.Mode.SRC_ATOP); 560 new PorterDuffColorFilter(Color.GRAY, PorterDuff.Mode.SRC_ATOP); [all...] |
/developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/config/ |
AnalogComplicationConfigRecyclerViewAdapter.java | 412 new PorterDuffColorFilter(currentBackgroundColor, PorterDuff.Mode.SRC_ATOP); 432 new PorterDuffColorFilter(currentHighlightColor, PorterDuff.Mode.SRC_ATOP); 493 new PorterDuffColorFilter(Color.GRAY, PorterDuff.Mode.SRC_ATOP); 514 currentBackgroundColor, PorterDuff.Mode.SRC_ATOP); 554 new PorterDuffColorFilter(currentHighlightColor, PorterDuff.Mode.SRC_ATOP); 561 new PorterDuffColorFilter(Color.GRAY, PorterDuff.Mode.SRC_ATOP); [all...] |
/device/linaro/bootloader/edk2/CorebootModulePkg/SataControllerDxe/ |
SataController.c | 94 This function is used to calculate the best PIO mode supported by specific IDE device 101 @retval EFI_UNSUPPORTED The device doesn't support PIO mode, 139 // if Temp is not modified, mean there is no advanced PIO mode supported, 140 // the best PIO Mode is the value in pio_cycle_timing. 149 // Limit the PIO mode to at most PIO4. 166 // Degrade the PIO mode if the mode has been disqualified 170 return EFI_UNSUPPORTED; // no mode below ATA_PIO_MODE_BELOW_2 187 // Degrade the PIO mode if the mode has been disqualifie [all...] |
/device/linaro/bootloader/edk2/DuetPkg/SataControllerDxe/ |
SataController.c | 94 This function is used to calculate the best PIO mode supported by specific IDE device
101 @retval EFI_UNSUPPORTED The device doesn't support PIO mode,
139 // if Temp is not modified, mean there is no advanced PIO mode supported,
140 // the best PIO Mode is the value in pio_cycle_timing.
149 // Limit the PIO mode to at most PIO4.
166 // Degrade the PIO mode if the mode has been disqualified
170 return EFI_UNSUPPORTED; // no mode below ATA_PIO_MODE_BELOW_2
187 // Degrade the PIO mode if the mode has been disqualified [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Graphics/ |
Print.c | 190 HorizontalResolution = GraphicsOutput->Mode->Info->HorizontalResolution;
191 VerticalResolution = GraphicsOutput->Mode->Info->VerticalResolution;
261 &mEfiColors[Sto->Mode->Attribute & 0x0f],
270 &mEfiColors[Sto->Mode->Attribute >> 4],
307 mEfiColors[Sto->Mode->Attribute & 0x0f],
308 mEfiColors[Sto->Mode->Attribute >> 4],
|
/device/linaro/bootloader/edk2/NetworkPkg/HttpBootDxe/ |
HttpBootDhcp4.c | 814 EFI_DHCP4_MODE_DATA Mode;
864 Status = Dhcp4->GetModeData (Dhcp4, &Mode);
869 ASSERT (Mode.State == Dhcp4Bound);
870 CopyMem (&Private->StationIp, &Mode.ClientAddress, sizeof (EFI_IPv4_ADDRESS));
871 CopyMem (&Private->SubnetMask, &Mode.SubnetMask, sizeof (EFI_IPv4_ADDRESS));
872 CopyMem (&Private->GatewayIp, &Mode.RouterAddress, sizeof (EFI_IPv4_ADDRESS));
|
/device/linaro/bootloader/edk2/OvmfPkg/SataControllerDxe/ |
SataController.c | 94 This function is used to calculate the best PIO mode supported by specific IDE device
101 @retval EFI_UNSUPPORTED The device doesn't support PIO mode,
139 // if Temp is not modified, mean there is no advanced PIO mode supported,
140 // the best PIO Mode is the value in pio_cycle_timing.
149 // Limit the PIO mode to at most PIO4.
166 // Degrade the PIO mode if the mode has been disqualified
170 return EFI_UNSUPPORTED; // no mode below ATA_PIO_MODE_BELOW_2
187 // Degrade the PIO mode if the mode has been disqualified [all...] |
/external/llvm/tools/llvm-ar/ |
llvm-ar.cpp | 326 // Utility function for printing out the file mode when the 't' operation is in 327 // verbose mode. 328 static void printMode(unsigned mode) { 329 outs() << ((mode & 004) ? "r" : "-"); 330 outs() << ((mode & 002) ? "w" : "-"); 331 outs() << ((mode & 001) ? "x" : "-"); 335 // the file names of each of the members. However, if verbose mode is requested 336 // ('v' modifier) then the file type, permission mode, user, group, size, and 340 sys::fs::perms Mode = C.getAccessMode(); 341 printMode((Mode >> 6) & 007) [all...] |