| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 package org.chromium.chrome.browser.omnibox; | 5 package org.chromium.chrome.browser.omnibox; |
| 6 | 6 |
| 7 import android.graphics.Color; | 7 import android.graphics.Color; |
| 8 import android.graphics.Paint; | 8 import android.graphics.Paint; |
| 9 import android.text.Html; | 9 import android.text.Html; |
| 10 import android.text.Spannable; | 10 import android.text.Spannable; |
| (...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 public void updateDrawState(TextPaint tp) { | 288 public void updateDrawState(TextPaint tp) { |
| 289 tp.baselineShift += mBaselineShift; | 289 tp.baselineShift += mBaselineShift; |
| 290 } | 290 } |
| 291 | 291 |
| 292 @Override | 292 @Override |
| 293 public void updateMeasureState(TextPaint tp) { | 293 public void updateMeasureState(TextPaint tp) { |
| 294 tp.baselineShift += mBaselineShift; | 294 tp.baselineShift += mBaselineShift; |
| 295 } | 295 } |
| 296 } | 296 } |
| 297 } | 297 } |
| OLD | NEW |