Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(279)

Issue 184453002: Android::Pass Bitmap.Config instead of bool to CreateJavaBitmap (Closed)

Created:
6 years, 9 months ago by sivag
Modified:
6 years, 9 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Android::Pass Bitmap.Config instead of bool to CreateJavaBitmap Now we have the enum conversion in place for Skia to Java and viceversa. Use this in CreateJavaBitmap and cleanup. BUG=342822 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=254968

Patch Set 1 : Pass Bitmap.Config instead of bool to CreateJavaBitmap #

Total comments: 13

Patch Set 2 : Code changed as per review comments. #

Total comments: 14

Patch Set 3 : Code changed as per review comments. #

Patch Set 4 : Added NOTREACHED check. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -16 lines) Patch
M ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java View 1 2 3 chunks +25 lines, -6 lines 0 comments Download
M ui/gfx/android/java_bitmap.cc View 1 2 3 3 chunks +28 lines, -10 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
sivag
PTAL..
6 years, 9 months ago (2014-02-28 12:03:42 UTC) #1
bulach
thanks! a few suggestions below. also, please put an "Android" prefix in the patch description, ...
6 years, 9 months ago (2014-02-28 13:19:25 UTC) #2
jdduke (slow)
https://codereview.chromium.org/184453002/diff/1/ui/gfx/android/java_bitmap.cc File ui/gfx/android/java_bitmap.cc (right): https://codereview.chromium.org/184453002/diff/1/ui/gfx/android/java_bitmap.cc#newcode125 ui/gfx/android/java_bitmap.cc:125: ScopedJavaLocalRef<jobject> ConvertToJavaBitmapConfig( On 2014/02/28 13:19:25, bulach wrote: > nit: ...
6 years, 9 months ago (2014-02-28 14:20:59 UTC) #3
sivag
Sorry For the delay. PTAL.. https://codereview.chromium.org/184453002/diff/1/ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java File ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java (right): https://codereview.chromium.org/184453002/diff/1/ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java#newcode22 ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java:22: Bitmap.Config bitmapConfig) { On ...
6 years, 9 months ago (2014-03-04 12:36:03 UTC) #4
bulach
nice! I have a few more small suggestions below: https://codereview.chromium.org/184453002/diff/20001/ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java File ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java (right): https://codereview.chromium.org/184453002/diff/20001/ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java#newcode84 ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java:84: ...
6 years, 9 months ago (2014-03-04 13:05:13 UTC) #5
sivag
PTAL.. https://codereview.chromium.org/184453002/diff/20001/ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java File ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java (right): https://codereview.chromium.org/184453002/diff/20001/ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java#newcode84 ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java:84: private static int getConfigEnumValue(Bitmap.Config bitmapConfig) { On 2014/03/04 ...
6 years, 9 months ago (2014-03-04 13:57:54 UTC) #6
bulach
lgtm, thanks! please let jdduke chime in as well..
6 years, 9 months ago (2014-03-04 14:19:50 UTC) #7
jdduke (slow)
lgtm
6 years, 9 months ago (2014-03-04 16:11:55 UTC) #8
sivag
The CQ bit was checked by siva.gunturi@samsung.com
6 years, 9 months ago (2014-03-04 17:09:17 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/siva.gunturi@samsung.com/184453002/60001
6 years, 9 months ago (2014-03-04 17:09:50 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-04 21:25:49 UTC) #11
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) content_browsertests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=274312
6 years, 9 months ago (2014-03-04 21:25:50 UTC) #12
sivag
The CQ bit was checked by siva.gunturi@samsung.com
6 years, 9 months ago (2014-03-05 00:29:01 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/siva.gunturi@samsung.com/184453002/60001
6 years, 9 months ago (2014-03-05 00:38:29 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/siva.gunturi@samsung.com/184453002/60001
6 years, 9 months ago (2014-03-05 01:26:54 UTC) #15
commit-bot: I haz the power
6 years, 9 months ago (2014-03-05 07:06:31 UTC) #16
Message was sent while issue was closed.
Change committed as 254968

Powered by Google App Engine
This is Rietveld 408576698