MCPcopy Create free account
hub / github.com/android/ndk-samples / Color

Enum Color

native-activity/app/src/main/cpp/main.cpp:53–57  ·  view source on GitHub ↗

Note: little endian, the opposite of normal hex color codes. ABGR, rather than RGBA.

Source from the content-addressed store, hash-verified

51// Note: little endian, the opposite of normal hex color codes. ABGR, rather
52// than RGBA.
53enum class Color : uint32_t {
54 kRed = 0x000000ff,
55 kGreen = 0x0000ff00,
56 kBlue = 0x00ff0000,
57};
58
59/**
60 * The implementation for our app.

Callers 1

Color.ktFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected