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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/bookmarks/BookmarkFolderSelectActivity.java

Issue 2467283004: Make some android code gender neutral. (Closed)
Patch Set: Remove extra line Created 4 years, 1 month 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
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/download/OMADownloadHandler.java » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.bookmarks; 5 package org.chromium.chrome.browser.bookmarks;
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 15 matching lines...) Expand all
26 import org.chromium.chrome.browser.widget.TintedDrawable; 26 import org.chromium.chrome.browser.widget.TintedDrawable;
27 import org.chromium.components.bookmarks.BookmarkId; 27 import org.chromium.components.bookmarks.BookmarkId;
28 28
29 import java.util.ArrayList; 29 import java.util.ArrayList;
30 import java.util.List; 30 import java.util.List;
31 31
32 /** 32 /**
33 * Dialog for moving bookmarks from one folder to another. A list of folders are shown and the 33 * Dialog for moving bookmarks from one folder to another. A list of folders are shown and the
34 * hierarchy of bookmark model is presented by indentation of list items. This d ialog can be shown 34 * hierarchy of bookmark model is presented by indentation of list items. This d ialog can be shown
35 * in two cases. One is when user choose to move an existing bookmark to a new f older. The other is 35 * in two cases. One is when user choose to move an existing bookmark to a new f older. The other is
36 * when user creates a new folder/bookmark, he/she can choose which parent the n ew folder/bookmark 36 * when user creates a new folder/bookmark, they can choose which parent the new folder/bookmark
37 * belong to. 37 * belong to.
38 * <p> 38 * <p>
39 * Note this fragment will not be restarted by OS. It will be dismissed if chrom e is killed in 39 * Note this fragment will not be restarted by OS. It will be dismissed if chrom e is killed in
40 * background. 40 * background.
41 */ 41 */
42 public class BookmarkFolderSelectActivity extends SynchronousInitializationActiv ity implements 42 public class BookmarkFolderSelectActivity extends SynchronousInitializationActiv ity implements
43 AdapterView.OnItemClickListener { 43 AdapterView.OnItemClickListener {
44 static final String 44 static final String
45 INTENT_SELECTED_FOLDER = "BookmarkFolderSelectActivity.selectedFolde r"; 45 INTENT_SELECTED_FOLDER = "BookmarkFolderSelectActivity.selectedFolde r";
46 static final String 46 static final String
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 * Sets up padding for the entry 350 * Sets up padding for the entry
351 */ 351 */
352 private void setUpPadding(FolderListEntry entry, TextView textView) { 352 private void setUpPadding(FolderListEntry entry, TextView textView) {
353 int paddingStart = mBasePadding + Math.min(entry.mDepth, MAX_FOLDER_ DEPTH) 353 int paddingStart = mBasePadding + Math.min(entry.mDepth, MAX_FOLDER_ DEPTH)
354 * mPaddingIncrement; 354 * mPaddingIncrement;
355 ApiCompatibilityUtils.setPaddingRelative(textView, paddingStart, 0, 355 ApiCompatibilityUtils.setPaddingRelative(textView, paddingStart, 0,
356 mBasePadding, 0); 356 mBasePadding, 0);
357 } 357 }
358 } 358 }
359 } 359 }
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/download/OMADownloadHandler.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698