Home
last modified time | relevance | path

Searched refs:mIndicator (Results 1 – 4 of 4) sorted by relevance

/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DPagingIndicatorTest.java34 private PagingIndicator mIndicator; field in PagingIndicatorTest
38 mIndicator = new PagingIndicator(InstrumentationRegistry.getTargetContext()); in setup()
43 mIndicator.setPageCount(3); in testDotPosition()
45 mIndicator.setPageCount(6); in testDotPosition()
47 mIndicator.setPageCount(9); in testDotPosition()
57 int pageCount = mIndicator.getPageCount(); in assertSymmetry()
59 int[] selectedX = mIndicator.getDotSelectedX(); in assertSymmetry()
65 int[] leftX = mIndicator.getDotSelectedLeftX(); in assertSymmetry()
66 int[] rightX = mIndicator.getDotSelectedRightX(); in assertSymmetry()
75 int pageCount = mIndicator.getPageCount(); in assertDistance()
[all …]
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
DElementLayoutActivity.java41 private TextView mIndicator; field in ElementLayoutActivity
52 mIndicator = new TextView(this); in onCreate()
53 mLayout.addView(mIndicator); in onCreate()
54 mIndicator.setText("***\n***"); in onCreate()
55 mIndicator.setBackgroundColor(BACKGROUND_COLOR); in onCreate()
152 mIndicator.setBackgroundColor(background); in onPreDraw()
/frameworks/support/samples/SupportEmojiDemos/src/com/example/android/support/text/emoji/
DConfig.java47 private boolean mIndicator; field in Config
60 mIndicator = mSharedPref.getBoolean(KEY_INDICATOR, false); in init()
84 mIndicator = indicator; in update()
88 mSharedPref.edit().putBoolean(KEY_INDICATOR, mIndicator).apply(); in update()
120 .setEmojiSpanIndicatorEnabled(mIndicator) in resetEmojiCompat()
149 return mCompatEnabled && mIndicator; in isIndicator()
DConfigLayout.java35 private Switch mIndicator; field in ConfigLayout
107 mIndicator = findViewById(R.id.indicator); in init()
108 mIndicator.setChecked(Config.get().isIndicator()); in init()
109 mIndicator.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() { in init()
125 mDownloadable.isChecked(), mIndicator.isChecked()); in fireListener()