/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/ |
D | MainActivity.java | 22 import android.view.View; 35 startSimplePieExButton.setOnClickListener(new View.OnClickListener() { in onCreate() 37 public void onClick(View view) { in onCreate() 43 startDynamicXYExButton.setOnClickListener(new View.OnClickListener() { in onCreate() 45 public void onClick(View view) { in onCreate() 51 startSimpleXYExButton.setOnClickListener(new View.OnClickListener() { in onCreate() 53 public void onClick(View view) { in onCreate() 59 startBarPlotExButton.setOnClickListener(new View.OnClickListener() { in onCreate() 61 public void onClick(View view) { in onCreate() 67 startOrSensorExButton.setOnClickListener(new View.OnClickListener() { in onCreate() [all …]
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowViewGroup.java | 3 import android.view.View; 21 private List<View> children = new ArrayList<View>(); 27 public View findViewById(int id) { in findViewById() 32 for (View child : children) { in findViewById() 33 View found = child.findViewById(id); in findViewById() 43 public View findViewWithTag(Object obj) { in findViewWithTag() 48 for (View child : children) { in findViewWithTag() 49 View found = child.findViewWithTag(obj); in findViewWithTag() 59 public void addView(View child) { in addView() 64 public void addView(View child, int index) { in addView() [all …]
|
D | ShadowListView.java | 7 import android.view.View; 21 private List<View> headerViews = new ArrayList<View>(); 22 private List<View> footerViews = new ArrayList<View>(); 29 public View findViewById(int id) { in findViewById() 30 View child = super.findViewById(id); in findViewById() 41 private View findView(List<View> views, int viewId) { in findView() 42 View child = null; in findView() 43 for (View v : views) { in findView() 60 public boolean performItemClick(View view, int position, long id) { in performItemClick() 87 public void addHeaderView(View headerView) { in addHeaderView() [all …]
|
D | ShadowView.java | 15 import android.view.View; 16 import android.view.View.MeasureSpec; 41 @Implements(View.class) 44 protected View realView; 50 private View.OnClickListener onClickListener; 51 private View.OnLongClickListener onLongClickListener; 54 private int visibility = View.VISIBLE; 71 protected View.OnKeyListener onKeyListener; 73 private View.OnFocusChangeListener onFocusChangeListener; 75 private View.OnTouchListener onTouchListener; [all …]
|
D | ShadowRemoteViews.java | 6 import android.view.View; 47 public void doUpdate(View view) { in setTextViewText() 56 @Override void doUpdate(final View view) { in setOnClickPendingIntent() 57 view.setOnClickListener(new View.OnClickListener() { in setOnClickPendingIntent() 59 public void onClick(View v) { in setOnClickPendingIntent() 75 public void doUpdate(View view) { in setViewVisibility() 85 public void doUpdate(View view) { in setImageViewResource() 95 public void doUpdate(View view) { in setImageViewBitmap() 102 public void reapply(Context context, View v) { in reapply() 115 final void update(View parent) { in update() [all …]
|
D | ShadowAdapterView.java | 5 import android.view.View; 27 private View mEmptyView; 50 public void setEmptyView(View emptyView) { in setEmptyView() 56 public int getPositionForView(android.view.View view) { in getPositionForView() 58 view = (View) view.getParent(); in getPositionForView() 106 mEmptyView.setVisibility(View.VISIBLE); in updateEmptyStatus() 107 setVisibility(View.GONE); in updateEmptyStatus() 110 setVisibility(View.VISIBLE); in updateEmptyStatus() 122 mEmptyView.setVisibility(View.GONE); in updateEmptyStatus() 124 setVisibility(View.VISIBLE); in updateEmptyStatus() [all …]
|
D | ShadowPopupWindow.java | 6 import android.view.View; 19 private View contentView; 27 private View.OnTouchListener onTouchInterceptor; 33 public void __constructor__(View contentView) { in __constructor__() 38 public void __constructor__(View contentView, int width, int height, boolean focusable) { in __constructor__() 46 public void setContentView(View contentView) { in setContentView() 52 public View getContentView() { in getContentView() 139 public void setTouchInterceptor(android.view.View.OnTouchListener l) { in setTouchInterceptor() 144 public void showAsDropDown(View anchor) { in showAsDropDown() 152 public void showAsDropDown(View anchor, int xoff, int yoff) { in showAsDropDown()
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | AdapterViewBehavior.java | 4 import android.view.View; 43 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { in shouldIgnoreSetSelectionCallsWithInvalidPosition() 76 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { in testSetAdapter_ShouldSelectFirstItemAsynchronously() 98 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { in testSetAdapter_ShouldFireOnNothingSelectedWhenAdapterCountIsReducedToZero() 118 View emptyView = new View(adapterView.getContext()); in testSetEmptyView_ShouldHideAdapterViewIfAdapterIsNull() 121 assertThat(adapterView.getVisibility(), is(View.GONE)); in testSetEmptyView_ShouldHideAdapterViewIfAdapterIsNull() 122 assertThat(emptyView.getVisibility(), is(View.VISIBLE)); in testSetEmptyView_ShouldHideAdapterViewIfAdapterIsNull() 128 View emptyView = new View(adapterView.getContext()); in testSetEmptyView_ShouldHideAdapterViewIfAdapterViewIsEmpty() 131 assertThat(adapterView.getVisibility(), is(View.GONE)); in testSetEmptyView_ShouldHideAdapterViewIfAdapterViewIsEmpty() 132 assertThat(emptyView.getVisibility(), is(View.VISIBLE)); in testSetEmptyView_ShouldHideAdapterViewIfAdapterViewIsEmpty() [all …]
|
D | ViewMeasureSpecTest.java | 10 import android.view.View; 11 import android.view.View.MeasureSpec; 18 assertEquals(View.MeasureSpec.UNSPECIFIED, in testMode() 19 MeasureSpec.getMode(MeasureSpec.makeMeasureSpec(512, View.MeasureSpec.UNSPECIFIED))); in testMode() 20 assertEquals(View.MeasureSpec.EXACTLY, in testMode() 21 MeasureSpec.getMode(MeasureSpec.makeMeasureSpec(600, View.MeasureSpec.EXACTLY))); in testMode() 22 assertEquals(View.MeasureSpec.AT_MOST, in testMode() 23 MeasureSpec.getMode(MeasureSpec.makeMeasureSpec(320, View.MeasureSpec.AT_MOST))); in testMode() 29 MeasureSpec.getSize(MeasureSpec.makeMeasureSpec(512, View.MeasureSpec.UNSPECIFIED))); in testSize() 31 MeasureSpec.getSize(MeasureSpec.makeMeasureSpec(800, View.MeasureSpec.EXACTLY))); in testSize() [all …]
|
D | ListViewTest.java | 25 import android.view.View; 58 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { in testSetSelection_ShouldFireOnItemSelectedListener() 76 listView.addHeaderView(new View(null)); in addHeaderView_ShouldThrowIfAdapterIsAlreadySet() 83 listView.addHeaderView(new View(null), null, false); in addHeaderView_ShouldThrowIfAdapterIsAlreadySet() 92 View view0 = new View(null); in addHeaderView_ShouldRecordHeaders() 94 View view1 = new View(null); in addHeaderView_ShouldRecordHeaders() 96 View view2 = new View(null); in addHeaderView_ShouldRecordHeaders() 98 View view3 = new View(null); in addHeaderView_ShouldRecordHeaders() 118 View view = new View(null); in addHeaderView_shouldAttachTheViewToTheList() 130 listView.addFooterView(new View(null)); in addFooterView_ShouldThrowIfAdapterIsAlreadySet() [all …]
|
D | ViewTest.java | 9 import android.view.View.MeasureSpec; 28 private View view; 32 view = new View(new Activity()); in setUp() 55 view.setOnFocusChangeListener(new View.OnFocusChangeListener() { in shouldFocus() 57 public void onFocusChange(View v, boolean hasFocus) { in shouldFocus() 94 grandParent.setVisibility(View.GONE); in shouldKnowIfThisOrAncestorsAreVisible() 104 View child = root.getChildAt(i); in shouldInflateMergeRootedLayoutAndNotCreateReferentialLoops() 133 grandParent.setVisibility(View.GONE); in checkedClick_shouldThrowIfViewIsNotVisible() 211 new View(null); in shouldSupportAllConstructors() 212 new View(null, null); in shouldSupportAllConstructors() [all …]
|
D | ViewInnerTextTest.java | 5 import android.view.View; 29 top.addView(new View(activity)); in testInnerText() 49 top.addView(textView("blah", View.VISIBLE)); in shouldOnlyIncludeViewTextViewsText() 50 top.addView(textView("blarg", View.GONE)); in shouldOnlyIncludeViewTextViewsText() 51 top.addView(textView("arrg", View.INVISIBLE)); in shouldOnlyIncludeViewTextViewsText() 59 top.addView(textView("blarg", View.GONE)); in shouldNotPrefixBogusSpaces() 60 top.addView(textView("arrg", View.INVISIBLE)); in shouldNotPrefixBogusSpaces() 61 top.addView(textView("blah", View.VISIBLE)); in shouldNotPrefixBogusSpaces() 67 return textView(text, View.VISIBLE); in textView()
|
D | ViewAnimatorTest.java | 4 import android.view.View; 25 View v = new View(null); in testHappyPath() 34 View v1 = new View(null); in testAnimatorHandlesCyclingViews() 35 View v2 = new View(null); in testAnimatorHandlesCyclingViews()
|
D | ViewGroupTest.java | 4 import android.view.View; 33 private View child1; 34 private View child2; 36 private View child3a; 37 private View child3b; 47 child1 = new View(context); in setUp() 48 child2 = new View(context); in setUp() 50 child3a = new View(context); in setUp() 51 child3b = new View(context); in setUp() 94 assertThat(root.getChildAt(1), sameInstance((View) child3)); in testRemoveChildAt() [all …]
|
/external/llvm/tools/llvm-cov/ |
D | SourceCoverageView.h | 29 std::unique_ptr<SourceCoverageView> View; member 32 std::unique_ptr<SourceCoverageView> View) in ExpansionView() 33 : Region(Region), View(std::move(View)) {} in ExpansionView() 35 : Region(std::move(RHS.Region)), View(std::move(RHS.View)) {} in ExpansionView() 38 View = std::move(RHS.View); 55 std::unique_ptr<SourceCoverageView> View; member 58 std::unique_ptr<SourceCoverageView> View) in InstantiationView() 59 : FunctionName(FunctionName), Line(Line), View(std::move(View)) {} in InstantiationView() 62 View(std::move(RHS.View)) {} in InstantiationView() 66 View = std::move(RHS.View); [all …]
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
D | ViewLoader.java | 9 import android.view.View; 80 public View inflateView(Context context, String key) { in inflateView() 84 public View inflateView(Context context, String key, View parent) { in inflateView() 88 public View inflateView(Context context, int resourceId, View parent) { in inflateView() 92 …private View inflateView(Context context, String layoutName, Map<String, String> attributes, View … in inflateView() 170 public View inflate(Context context, View parent) throws Exception { in inflate() 171 View view = create(context, (ViewGroup) parent); in inflate() 181 …private void invokeOnFinishInflate(View view) throws NoSuchMethodException, IllegalAccessException… in invokeOnFinishInflate() 182 Method onFinishInflate = View.class.getDeclaredMethod("onFinishInflate"); in invokeOnFinishInflate() 187 private View create(Context context, ViewGroup parent) throws Exception { in create() [all …]
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | DifficultyMenuActivity.java | 11 import android.view.View; 16 private View mBabyButton; 17 private View mKidsButton; 18 private View mAdultsButton; 19 private View mBackground; 20 private View mBabyText; 21 private View mKidsText; 22 private View mAdultsText; 27 private View.OnClickListener sBabyButtonListener = new View.OnClickListener() { 28 public void onClick(View v) { [all …]
|
D | ExtrasMenuActivity.java | 15 import android.view.View; 20 private View mLinearModeButton; 21 private View mLevelSelectButton; 22 private View mControlsButton; 23 private View mBackground; 24 private View mLevelSelectLocked; 25 private View mLinearModeLocked; 41 private View.OnClickListener sLinearModeButtonListener = new View.OnClickListener() { 42 public void onClick(View v) { 55 private View.OnClickListener sLevelSelectButtonListener = new View.OnClickListener() { [all …]
|
D | MainMenuActivity.java | 34 import android.view.View; 41 private View mStartButton; 42 private View mOptionsButton; 43 private View mExtrasButton; 44 private View mBackground; 45 private View mTicker; 59 private View.OnClickListener sContinueButtonListener = new View.OnClickListener() { 60 public void onClick(View v) { 74 private View.OnClickListener sOptionButtonListener = new View.OnClickListener() { 75 public void onClick(View v) { [all …]
|
D | KeyboardConfigDialogPreference.java | 29 import android.view.View; 42 private View mLeftBorder; 43 private View mRightBorder; 44 private View mJumpBorder; 45 private View mAttackBorder; 57 private class ConfigClickListener implements View.OnClickListener { 63 public void onClick(View v) { in onClick() 92 protected void onBindDialogView(View view) { in onBindDialogView() 154 View border = getConfigViewById(mListeningId); in selectId() 162 View border = getConfigViewById(id); in selectId() [all …]
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/ |
D | AndroidTranslatorTest.java | 8 import android.view.View; 82 View view = new View(null); in testDirectlyOn() 99 View.resolveSize(0, 0); in testDirectlyOn_Statics() 103 directlyOn(View.class); in testDirectlyOn_Statics() 104 View.resolveSize(0, 0); in testDirectlyOn_Statics() 111 View.resolveSize(0, 0); in testDirectlyOn_Statics() 116 View view1 = new View(null); in testDirectlyOn_InstanceChecking() 117 View view2 = new View(null); in testDirectlyOn_InstanceChecking() 137 directlyOn(View.class); in testDirectlyOn_Statics_InstanceChecking() 148 directlyOn(View.class); in testDirectlyOn_CallTwiceChecking() [all …]
|
/external/droiddriver/src/io/appium/droiddriver/instrumentation/ |
D | InstrumentationDriver.java | 22 import android.view.View; 38 public class InstrumentationDriver extends BaseDroidDriver<View, ViewElement> { 39 private final DroidDriverContext<View, ViewElement> context; 44 context = new DroidDriverContext<View, ViewElement>(instrumentation, this); in InstrumentationDriver() 60 protected ViewElement newUiElement(View rawElement, ViewElement parent) { in newUiElement() 64 private static final Callable<View> FIND_ROOT_VIEW = new Callable<View>() { 66 public View call() { 67 List<View> views = RootFinder.getRootViews(); 70 for (View view : views) { 81 private View findRootView() { in findRootView()
|
D | ViewElement.java | 21 import android.view.View; 48 public class ViewElement extends BaseUiElement<View, ViewElement> { 50 private final View view; 54 List<View> childViews; 56 private AttributesSnapshot(View view) { in AttributesSnapshot() 116 if (view.getId() != View.NO_ID && view.getResources() != null) { in getResourceId() 171 childViews = new ArrayList<View>(childCount); in setChildViews() 173 View child = group.getChildAt(i); in setChildViews() 205 private final DroidDriverContext<View, ViewElement> context; 206 private final View view; [all …]
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/view/ |
D | TestWindowManager.java | 4 import android.view.View; 16 private List<View> views = new ArrayList<View>(); 19 public void addView(View view, android.view.ViewGroup.LayoutParams layoutParams) { in addView() 24 public void removeView(View view) { in removeView() 29 public void updateViewLayout(View arg0, android.view.ViewGroup.LayoutParams arg1) { in updateViewLayout() 38 public void removeViewImmediate(View arg0) { in removeViewImmediate() 41 public List<View> getViews() { in getViews()
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/ |
D | TemporaryBindingsTest.java | 3 import android.view.View; 18 …assertThat(shadowOf(new View(null)).getClass().getSimpleName(), equalTo(ShadowView.class.getSimple… in overridingShadowBindingsShouldNotAffectBindingsInLaterTests() 22 assertThat(Robolectric.shadowOf_(new View(null)).getClass().getSimpleName(), in overridingShadowBindingsShouldNotAffectBindingsInLaterTests() 28 …assertThat(shadowOf(new View(null)).getClass().getSimpleName(), equalTo(ShadowView.class.getSimple… in overridingShadowBindingsShouldNotAffectBindingsInLaterTestsAgain() 32 assertThat(Robolectric.shadowOf_(new View(null)).getClass().getSimpleName(), in overridingShadowBindingsShouldNotAffectBindingsInLaterTestsAgain() 36 @Implements(View.class)
|