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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkFolderSelectActivity.java

Issue 1206673003: Merge java_staging/src into java/src. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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.enhancedbookmarks; 5 package org.chromium.chrome.browser.enhancedbookmarks;
6 6
7 import android.content.Context; 7 import android.content.Context;
8 import android.content.Intent; 8 import android.content.Intent;
9 import android.graphics.drawable.Drawable; 9 import android.graphics.drawable.Drawable;
10 import android.os.Bundle; 10 import android.os.Bundle;
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 * Sets up padding for the entry 331 * Sets up padding for the entry
332 */ 332 */
333 private void setUpPadding(FolderListEntry entry, TextView textView) { 333 private void setUpPadding(FolderListEntry entry, TextView textView) {
334 int paddingStart = mBasePadding + Math.min(entry.mDepth, MAX_FOLDER_ DEPTH) 334 int paddingStart = mBasePadding + Math.min(entry.mDepth, MAX_FOLDER_ DEPTH)
335 * mPaddingIncrement; 335 * mPaddingIncrement;
336 ApiCompatibilityUtils.setPaddingRelative(textView, paddingStart, 0, 336 ApiCompatibilityUtils.setPaddingRelative(textView, paddingStart, 0,
337 mBasePadding, 0); 337 mBasePadding, 0);
338 } 338 }
339 } 339 }
340 } 340 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698