Test Week - Add more coverage for Folder.java
* Refactored Folder class * 30 methods covered * Adding more coverage for Folder.java Bug: 353303621 Test: Not Applicable Flag: TEST_ONLY Change-Id: Ibd7ca8c2121ddc71c33f91262b46e593670eadfe
This commit is contained in:
1 parent
892d358394
commit
f8962a5406
6 files changed
+1141
-95
No files matched your search
@@ -361,8 +361,8 @@ public class FolderPagedView extends PagedView<PageIndicatorDots> implements Cli
|
||||
// Update footer
|
||||
mPageIndicator.setVisibility(getPageCount() > 1 ? View.VISIBLE : View.GONE);
|
||||
// Set the gravity as LEFT or RIGHT instead of START, as START depends on the actual text.
|
||||
mFolder.mFolderName.setGravity(getPageCount() > 1 ?
|
||||
(mIsRtl ? Gravity.RIGHT : Gravity.LEFT) : Gravity.CENTER_HORIZONTAL);
|
||||
mFolder.getFolderName().setGravity(getPageCount() > 1
|
||||
? (mIsRtl ? Gravity.RIGHT : Gravity.LEFT) : Gravity.CENTER_HORIZONTAL);
|
||||
}
|
||||
|
||||
public int getDesiredWidth() {
|
||||
|
||||
Reference in new issue
Block a user