Home
last modified time | relevance | path

Searched refs:START (Results 1 – 25 of 113) sorted by relevance

12345

/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DDrawerLayoutTest.java63 onView(withId(R.id.drawer_layout)).perform(closeDrawer(GravityCompat.START)); in setUp()
71 assertFalse("Initial state", mDrawerLayout.isDrawerOpen(GravityCompat.START)); in testDrawerOpenCloseViaAPI()
74 onView(withId(R.id.drawer_layout)).perform(openDrawer(GravityCompat.START)); in testDrawerOpenCloseViaAPI()
75 assertTrue("Opened drawer #" + i, mDrawerLayout.isDrawerOpen(GravityCompat.START)); in testDrawerOpenCloseViaAPI()
77 onView(withId(R.id.drawer_layout)).perform(closeDrawer(GravityCompat.START)); in testDrawerOpenCloseViaAPI()
78 assertFalse("Closed drawer #" + i, mDrawerLayout.isDrawerOpen(GravityCompat.START)); in testDrawerOpenCloseViaAPI()
85 assertFalse("Initial state", mDrawerLayout.isDrawerOpen(GravityCompat.START)); in testDrawerOpenCloseNoAnimationViaAPI()
88 onView(withId(R.id.drawer_layout)).perform(openDrawer(GravityCompat.START, false)); in testDrawerOpenCloseNoAnimationViaAPI()
89 assertTrue("Opened drawer #" + i, mDrawerLayout.isDrawerOpen(GravityCompat.START)); in testDrawerOpenCloseNoAnimationViaAPI()
91 onView(withId(R.id.drawer_layout)).perform(closeDrawer(GravityCompat.START, false)); in testDrawerOpenCloseNoAnimationViaAPI()
[all …]
DDrawerLayoutDoubleActivity.java60 mDrawerLayout.setDrawerShadow(R.drawable.drawer_shadow, GravityCompat.START); in onContentViewSet()
65 mDrawerLayout.setDrawerTitle(GravityCompat.START, getString(R.string.drawer_title)); in onContentViewSet()
/frameworks/support/compat/tests/java/android/support/v4/view/
DGravityCompatTest.java37 assertEquals("Start constants", Gravity.START, GravityCompat.START); in testConstants()
57 GravityCompat.getAbsoluteGravity(GravityCompat.START, in testGetAbsoluteGravity()
68 GravityCompat.getAbsoluteGravity(GravityCompat.START, in testGetAbsoluteGravity()
78 GravityCompat.getAbsoluteGravity(GravityCompat.START, in testGetAbsoluteGravity()
150 GravityCompat.apply(GravityCompat.START | Gravity.TOP, 100, 50, in testApplyNoOffsetsLtr()
162 GravityCompat.apply(GravityCompat.START | Gravity.CENTER_VERTICAL, 100, 50, in testApplyNoOffsetsLtr()
174 GravityCompat.apply(GravityCompat.START | Gravity.BOTTOM, 100, 50, in testApplyNoOffsetsLtr()
253 GravityCompat.apply(GravityCompat.START | Gravity.TOP, 100, 50, in testApplyNoOffsetsRtl()
265 GravityCompat.apply(GravityCompat.START | Gravity.CENTER_VERTICAL, 100, 50, in testApplyNoOffsetsRtl()
277 GravityCompat.apply(GravityCompat.START | Gravity.BOTTOM, 100, 50, in testApplyNoOffsetsRtl()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DRankingReconsideration.java28 private static final int START = 0; field in RankingReconsideration
44 mState = START; in RankingReconsideration()
52 if (mState == START) { in run()
69 if (mState == START) { // can't cancel if running or done in cancel()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardParserTests.java39 START, enumConstant
69 inspectOrder(Order.START); in onVCardStarted()
98 interpreter.addExpectedOrder(Order.START) in testSimple()
116 interpreter.addExpectedOrder(Order.START) in testNest()
150 interpreter.addExpectedOrder(Order.START) in testIosMultiline()
182 interpreter.addExpectedOrder(Order.START) in testParseOne()
223 interpreter.addExpectedOrder(Order.START) in testParseOne()
/frameworks/base/core/java/android/text/
DSpannableStringInternal.java92 int spanStart = srcData[i * COLUMNS + START]; in copySpans()
105 int spanStart = srcData[i * COLUMNS + START]; in copySpans()
112 mSpanData[j * COLUMNS + START] = spanStart - start; in copySpans()
183 int ostart = data[i * COLUMNS + START]; in setSpan()
186 data[i * COLUMNS + START] = start; in setSpan()
208 mSpanData[mSpanCount * COLUMNS + START] = start; in setSpan()
224 int ostart = data[i * COLUMNS + START]; in removeSpan()
248 return data[i * COLUMNS + START]; in getSpanStart()
293 int spanStart = data[i * COLUMNS + START]; in getSpans()
374 int st = data[i * COLUMNS + START]; in nextSpanTransition()
[all …]
DDynamicLayout.java330 mInts.adjustValuesBelow(startline, START, after - before); in reflow()
347 ints[START] = reflowed.getLineStart(i) | in reflow()
612 return mInts.getValue(line, START) & START_MASK; in getLineStart()
753 private static final int START = 0; field in DynamicLayout
754 private static final int DIR = START;
755 private static final int TAB = START;
/frameworks/minikin/libs/minikin/
DWordBreaker.cpp60 START, enumerator
136 ScanState state = START; in next()
144 if (state == START && c == '@') { in next()
146 } else if (state == START && c == ':') { in next()
152 state = START; in next()
/frameworks/av/media/libmedia/
DIAudioRecord.cpp33 START, enumerator
51 status_t status = remote()->transact(START, data, &reply); in start()
77 case START: { in onTransact()
DIAudioTrack.cpp33 START, enumerator
71 status_t status = remote()->transact(START, data, &reply); in start()
161 case START: { in onTransact()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/helper/
DItemTouchHelperTest.java109 basicSwipeTest(START, START | END, -getActivity().getWindow().getDecorView().getWidth()); in swipeStart()
114 basicSwipeTest(END, START | END, getActivity().getWindow().getDecorView().getWidth()); in swipeEnd()
121 basicSwipeTest(START, START | END, getActivity().getWindow().getDecorView().getWidth()); in swipeStartInRTL()
128 basicSwipeTest(END, START | END, -getActivity().getWindow().getDecorView().getWidth()); in swipeEndInRTL()
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
DNavigationViewUsage.java57 mDrawerLayout.openDrawer(GravityCompat.START); in onCreate()
83 if (mDrawerLayout.isDrawerOpen(GravityCompat.START)) {
84 mDrawerLayout.closeDrawer(GravityCompat.START);
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DActionBarDrawerToggle.java238 if (mDrawerLayout.isDrawerOpen(GravityCompat.START)) { in syncState()
245 mDrawerLayout.isDrawerOpen(GravityCompat.START) ? in syncState()
284 int drawerLockMode = mDrawerLayout.getDrawerLockMode(GravityCompat.START); in toggle()
285 if (mDrawerLayout.isDrawerVisible(GravityCompat.START) in toggle()
287 mDrawerLayout.closeDrawer(GravityCompat.START); in toggle()
289 mDrawerLayout.openDrawer(GravityCompat.START); in toggle()
359 mDrawerLayout.isDrawerOpen(GravityCompat.START) ? in setDrawerIndicatorEnabled()
/frameworks/support/core-ui/java/android/support/v4/app/
DActionBarDrawerToggle.java301 if (mDrawerLayout.isDrawerOpen(GravityCompat.START)) { in syncState()
308 setActionBarUpIndicator(mSlider, mDrawerLayout.isDrawerOpen(GravityCompat.START) in syncState()
371 setActionBarUpIndicator(mSlider, mDrawerLayout.isDrawerOpen(GravityCompat.START) in setDrawerIndicatorEnabled()
415 if (mDrawerLayout.isDrawerVisible(GravityCompat.START)) { in onOptionsItemSelected()
416 mDrawerLayout.closeDrawer(GravityCompat.START); in onOptionsItemSelected()
418 mDrawerLayout.openDrawer(GravityCompat.START); in onOptionsItemSelected()
/frameworks/support/design/tests/src/android/support/design/widget/
DNavigationViewTest.java104 onView(withId(R.id.drawer_layout)).perform(closeDrawer(GravityCompat.START)); in setUp()
119 onView(withId(R.id.drawer_layout)).perform(openDrawer(GravityCompat.START)); in testBasics()
142 onView(withId(R.id.drawer_layout)).perform(openDrawer(GravityCompat.START)); in testWillNotDraw()
155 onView(withId(R.id.drawer_layout)).perform(openDrawer(GravityCompat.START)); in testTextAppearance()
183 onView(withId(R.id.drawer_layout)).perform(openDrawer(GravityCompat.START)); in testTextColor()
214 onView(withId(R.id.drawer_layout)).perform(openDrawer(GravityCompat.START)); in testBackground()
272 onView(withId(R.id.drawer_layout)).perform(openDrawer(GravityCompat.START)); in testIconTinting()
367 onView(withId(R.id.drawer_layout)).perform(openDrawer(GravityCompat.START)); in testHeaders()
405 onView(withId(R.id.drawer_layout)).perform(openDrawer(GravityCompat.START)); in testNavigationSelectionListener()
412 mDrawerLayout.isDrawerOpen(GravityCompat.START)); in testNavigationSelectionListener()
[all …]
/frameworks/base/drm/java/android/drm/
DDrmStore.java126 public static final int START = 0x00; field in DrmStore.Playback
144 case START: in isValid()
/frameworks/base/core/java/android/view/
DGravity.java115 public static final int START = RELATIVE_LAYOUT_DIRECTION | LEFT; field in Gravity
123 public static final int RELATIVE_HORIZONTAL_GRAVITY_MASK = START | END;
416 if ((result & Gravity.START) == Gravity.START) { in getAbsoluteGravity()
418 result &= ~START; in getAbsoluteGravity()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/
DDrawerLayoutUtil.java29 import static android.view.Gravity.START;
45 gravity = START; in openDrawer()
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/
DFadeAndShortSlide.java153 this(Gravity.START); in FadeAndShortSlide()
163 int edge = a.getInt(R.styleable.lbSlide_lb_slideEdge, Gravity.START); in FadeAndShortSlide()
197 case Gravity.START: in setSlideEdge()
203 case Gravity.START | Gravity.END: in setSlideEdge()
/frameworks/base/core/java/android/transition/
DSidePropagation.java124 if (mSide == Gravity.START) { in distance()
155 case Gravity.START: in getMaxDistance()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DOnboardingSupportFragment.java589 animators.add(createAnimator(mTitleView, false, Gravity.START, 0)); in onPageChangedInternal()
590 animators.add(fadeAnimator = createAnimator(mDescriptionView, false, Gravity.START, in onPageChangedInternal()
601 animators.add(createAnimator(mTitleView, true, Gravity.START, in onPageChangedInternal()
603 animators.add(createAnimator(mDescriptionView, true, Gravity.START, in onPageChangedInternal()
667 || (!isLtr && slideDirection == Gravity.START) in createAnimator()
DOnboardingFragment.java587 animators.add(createAnimator(mTitleView, false, Gravity.START, 0)); in onPageChangedInternal()
588 animators.add(fadeAnimator = createAnimator(mDescriptionView, false, Gravity.START, in onPageChangedInternal()
599 animators.add(createAnimator(mTitleView, true, Gravity.START, in onPageChangedInternal()
601 animators.add(createAnimator(mDescriptionView, true, Gravity.START, in onPageChangedInternal()
665 || (!isLtr && slideDirection == Gravity.START) in createAnimator()
/frameworks/support/compat/java/android/support/v4/view/
DGravityCompat.java103 public static final int START = RELATIVE_LAYOUT_DIRECTION | Gravity.LEFT; field in GravityCompat
111 public static final int RELATIVE_HORIZONTAL_GRAVITY_MASK = START | END;
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestGridLayoutCodeLtr.java41 import static android.widget.GridLayout.START;
80 Spec col2 = spec(1, START); in create()
DBiDiTestGridLayoutCodeRtl.java41 import static android.widget.GridLayout.START;
80 Spec col2 = spec(1, START); in create()

12345