diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-09-17 11:15:12 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-09-17 11:17:07 +0100 |
commit | 31e0785e807824529162a8e9423bcaaa5a93108d (patch) | |
tree | ef5dfc692370e24f90d7d7ab42f3e9beecd5e9ef /platform/android/example | |
parent | ea3da99fde35a29d9f6fccb0213f80847cf1f570 (diff) | |
download | mupdf-31e0785e807824529162a8e9423bcaaa5a93108d.tar.xz |
Android app: Update rgba -> bgra.
The separation class had a member renamed. Rename it here too.
Diffstat (limited to 'platform/android/example')
-rw-r--r-- | platform/android/example/mupdf/src/main/java/com/artifex/mupdf/android/ProofActivity.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/platform/android/example/mupdf/src/main/java/com/artifex/mupdf/android/ProofActivity.java b/platform/android/example/mupdf/src/main/java/com/artifex/mupdf/android/ProofActivity.java index 04ba3089..65b79c19 100644 --- a/platform/android/example/mupdf/src/main/java/com/artifex/mupdf/android/ProofActivity.java +++ b/platform/android/example/mupdf/src/main/java/com/artifex/mupdf/android/ProofActivity.java @@ -289,10 +289,10 @@ public class ProofActivity extends Activity implements View.OnClickListener, Doc String name = sep.name; // transform to a color that can be used to colorize icons - int alpha = (sep.rgba >> 24) & 0xFF; - int red = (sep.rgba >> 16) & 0xFF; - int green = (sep.rgba >> 8 ) & 0xFF; - int blue = (sep.rgba >> 0 ) & 0xFF; + int alpha = (sep.bgra >> 24) & 0xFF; + int red = (sep.bgra >> 16) & 0xFF; + int green = (sep.bgra >> 8 ) & 0xFF; + int blue = (sep.bgra >> 0 ) & 0xFF; int color = (alpha << 24) | (red << 16) | (green << 8) | (blue << 0); mColorAdapter.add(new ChooseColorItem(sep.name, color, true, sep)); |