| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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.ui; | 5 package org.chromium.components.web_contents_delegate_android; |
| 6 | 6 |
| 7 import android.content.Context; | 7 import android.content.Context; |
| 8 import android.graphics.Color; | 8 import android.graphics.Color; |
| 9 import android.graphics.drawable.GradientDrawable; | 9 import android.graphics.drawable.GradientDrawable; |
| 10 import android.graphics.drawable.LayerDrawable; | 10 import android.graphics.drawable.LayerDrawable; |
| 11 import android.text.TextUtils; | 11 import android.text.TextUtils; |
| 12 import android.view.View; | 12 import android.view.View; |
| 13 import android.view.ViewGroup; | 13 import android.view.ViewGroup; |
| 14 import android.widget.AbsListView; | 14 import android.widget.AbsListView; |
| 15 import android.widget.BaseAdapter; | 15 import android.widget.BaseAdapter; |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 @Override | 133 @Override |
| 134 public Object getItem(int position) { | 134 public Object getItem(int position) { |
| 135 return null; | 135 return null; |
| 136 } | 136 } |
| 137 | 137 |
| 138 @Override | 138 @Override |
| 139 public int getCount() { | 139 public int getCount() { |
| 140 return (mSuggestions.length + COLORS_PER_ROW - 1) / COLORS_PER_ROW; | 140 return (mSuggestions.length + COLORS_PER_ROW - 1) / COLORS_PER_ROW; |
| 141 } | 141 } |
| 142 } | 142 } |
| OLD | NEW |