Home
last modified time | relevance | path

Searched refs:directlyOn (Results 1 – 25 of 72) sorted by relevance

123

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowWifiInfo.java6 import static org.robolectric.shadow.api.Shadow.directlyOn;
29 directlyOn(realObject, WifiInfo.class).setInetAddress(address); in setInetAddress()
31 directlyOn( in setInetAddress()
41 directlyOn(realObject, WifiInfo.class).setMacAddress(newMacAddress); in setMacAddress()
43 directlyOn(realObject, WifiInfo.class, in setMacAddress()
50 directlyOn(realObject, WifiInfo.class, in setSSID()
54 directlyOn(realObject, WifiInfo.class, in setSSID()
57 directlyOn(realObject, WifiInfo.class).setSSID((WifiSsid) getWifiSsid(ssid)); in setSSID()
73 directlyOn(realObject, WifiInfo.class).setBSSID(bssid); in setBSSID()
75 directlyOn(realObject, WifiInfo.class, in setBSSID()
[all …]
DShadowIcon.java4 import static org.robolectric.shadow.api.Shadow.directlyOn;
24 return directlyOn(realIcon, Icon.class).getType(); in getType()
30 return directlyOn(realIcon, Icon.class).getResId(); in getResId()
36 return directlyOn(realIcon, Icon.class).getBitmap(); in getBitmap()
42 return directlyOn(realIcon, Icon.class).getUri(); in getUri()
48 return directlyOn(realIcon, Icon.class).getDataLength(); in getDataLength()
54 return directlyOn(realIcon, Icon.class).getDataOffset(); in getDataOffset()
60 return directlyOn(realIcon, Icon.class).getDataBytes(); in getDataBytes()
DShadowRenderNodeAnimator.java6 import static org.robolectric.shadow.api.Shadow.directlyOn;
39 directlyOn(realObject, RenderNodeAnimator.class, "moveToRunningState"); in moveToRunningState()
50 directlyOn(realObject, RenderNodeAnimator.class, "doStart"); in doStart()
58 directlyOn(realObject, RenderNodeAnimator.class).cancel(); in cancel()
65 directlyOn(realObject, RenderNodeAnimator.class, "onFinished"); in cancel()
75 directlyOn(realObject, RenderNodeAnimator.class).end(); in end()
84 directlyOn(realObject, RenderNodeAnimator.class, "onFinished"); in end()
113 directlyOn(realObject, RenderNodeAnimator.class, "onFinished");
DShadowAlertController.java4 import static org.robolectric.shadow.api.Shadow.directlyOn;
32 directlyOn(realAlertController, AlertController.class).setTitle(title); in setTitle()
42 directlyOn(realAlertController, AlertController.class).setCustomTitle(customTitleView); in setCustomTitle()
52 directlyOn(realAlertController, AlertController.class).setMessage(message); in setMessage()
62 directlyOn(realAlertController, AlertController.class).setView(view); in setView()
73 directlyOn(realAlertController, AlertController.class).setIcon(iconId); in setIcon()
DShadowTextView.java3 import static org.robolectric.shadow.api.Shadow.directlyOn;
67 directlyOn(realTextView, TextView.class).setTextAppearance(context, resid); in setTextAppearance()
74 return directlyOn(realTextView, TextView.class).onKeyDown(keyCode, event); in onKeyDown()
81 return directlyOn(realTextView, TextView.class).onKeyUp(keyCode, event); in onKeyUp()
110 directlyOn(realTextView, TextView.class).addTextChangedListener(watcher); in addTextChangedListener()
116 directlyOn(realTextView, TextView.class).removeTextChangedListener(watcher); in removeTextChangedListener()
153 directlyOn(realTextView, TextView.class).setOnEditorActionListener(l); in setOnEditorActionListener()
166directlyOn(realTextView, TextView.class).setCompoundDrawablesWithIntrinsicBounds(left, top, right,… in setCompoundDrawablesWithIntrinsicBounds()
DShadowWifiP2pGroup.java3 import static org.robolectric.shadow.api.Shadow.directlyOn;
16 directlyOn(realObject, WifiP2pGroup.class).setInterface(intf); in setInterface()
20 directlyOn(realObject, WifiP2pGroup.class).setInterface(passphrase); in setPassphrase()
24 directlyOn(realObject, WifiP2pGroup.class).setInterface(networkName); in setNetworkName()
DShadowWindow.java5 import static org.robolectric.shadow.api.Shadow.directlyOn;
39directlyOn(realWindow, Window.class, "setFlags", ClassParameter.from(int.class, flags), ClassParam… in setFlags()
45directlyOn(realWindow, Window.class, "setSoftInputMode", ClassParameter.from(int.class, softInputM… in setSoftInputMode()
65 …return (ProgressBar) directlyOn(realWindow, realWindow.getClass().getName(), "getHorizontalProgres… in getProgressBar()
69 …return (ProgressBar) directlyOn(realWindow, realWindow.getClass().getName(), "getCircularProgressB… in getIndeterminateProgressBar()
DShadowPopupMenu.java3 import static org.robolectric.shadow.api.Shadow.directlyOn;
25 directlyOn(realPopupMenu, PopupMenu.class).show(); in show()
31 directlyOn(realPopupMenu, PopupMenu.class).dismiss(); in dismiss()
37 directlyOn(realPopupMenu, PopupMenu.class).setOnMenuItemClickListener(listener); in setOnMenuItemClickListener()
DShadowResources.java8 import static org.robolectric.shadow.api.Shadow.directlyOn;
90 return directlyOn(realResources, Resources.class).obtainAttributes(set, attrs); in obtainAttributes()
101 return directlyOn(realResources, Resources.class).getQuantityString(id, quantity, formatArgs); in getQuantityString()
128 return directlyOn(realResources, Resources.class).getQuantityString(resId, quantity); in getQuantityString()
144 return directlyOn(realResources, Resources.class).openRawResource(id); in openRawResource()
170 return directlyOn(realResources, Resources.class).openRawResourceFd(id); in openRawResourceFd()
195 return directlyOn(realResources, Resources.class).obtainTypedArray(id); in obtainTypedArray()
207 return directlyOn(realResources, Resources.class, "loadXmlResourceParser", in loadXmlResourceParser()
220 return directlyOn(realResources, Resources.class, "loadXmlResourceParser", in loadXmlResourceParser()
231 Drawable drawable = directlyOn(realResources, Resources.class, "loadDrawable", in loadDrawable()
[all …]
DShadowDialog.java3 import static org.robolectric.shadow.api.Shadow.directlyOn;
64 directlyOn(realDialog, Dialog.class).show(); in show()
69 directlyOn(realDialog, Dialog.class).dismiss(); in dismiss()
80 directlyOn(realDialog, Dialog.class).setCanceledOnTouchOutside(flag); in setCanceledOnTouchOutside()
98 directlyOn(realDialog, Dialog.class).setOnCancelListener(listener); in setOnCancelListener()
DShadowMessage.java6 import static org.robolectric.shadow.api.Shadow.directlyOn;
51 directlyOn(realMessage, Message.class, "recycleUnchecked"); in recycleUnchecked()
65 directlyOn(realMessage, Message.class, "recycle"); in recycle()
99 return directlyOn(realMessage, Message.class, "isInUse"); in isInUse()
DShadowPhoneWindowFor22.java4 import static org.robolectric.shadow.api.Shadow.directlyOn;
17directlyOn(realWindow, realWindow.getClass().getName(), "setTitle", ReflectionHelpers.ClassParamet… in setTitle()
23directlyOn(realWindow, realWindow.getClass().getName(), "setBackgroundDrawable", ReflectionHelpers… in setBackgroundDrawable()
DShadowCompoundButton.java3 import static org.robolectric.shadow.api.Shadow.directlyOn;
22directlyOn(realObject, CompoundButton.class, "setButtonDrawable", from(int.class, buttonDrawableId… in setButtonDrawable()
28directlyOn(realObject, CompoundButton.class, "setButtonDrawable", from(Drawable.class, buttonDrawa… in setButtonDrawable()
DShadowDisplay.java4 import static org.robolectric.shadow.api.Shadow.directlyOn;
77 directlyOn(realObject, Display.class).getMetrics(outMetrics); in getMetrics()
98 directlyOn(realObject, Display.class).getRealMetrics(outMetrics); in getRealMetrics()
114 ? directlyOn(realObject, Display.class).getDisplayId() in getDisplayId()
127 ? directlyOn(realObject, Display.class).getRefreshRate() in getRefreshRate()
140 ? directlyOn(realObject, Display.class).getPixelFormat() in getPixelFormat()
DShadowPhoneWindow.java4 import static org.robolectric.shadow.api.Shadow.directlyOn;
21directlyOn(realWindow, realWindow.getClass().getName(), "setTitle", ClassParameter.from(CharSequen… in setTitle()
27directlyOn(realWindow, realWindow.getClass().getName(), "setBackgroundDrawable", ClassParameter.fr… in setBackgroundDrawable()
DShadowAbsSpinner.java3 import static org.robolectric.shadow.api.Shadow.directlyOn;
20directlyOn(realAbsSpinner, AbsSpinner.class, "setSelection", ClassParameter.from(int.class, positi… in setSelection()
26directlyOn(realAbsSpinner, AbsSpinner.class, "setSelection", ClassParameter.from(int.class, positi… in setSelection()
DShadowWindowManagerImpl.java4 import static org.robolectric.shadow.api.Shadow.directlyOn;
53 directlyOn( in addView()
64 directlyOn(realObject, WindowManagerImpl.class, "removeView", in removeView()
75 return directlyOn(realObject, WindowManagerImpl.class).getDefaultDisplay(); in getDefaultDisplay()
DShadowTypedArray.java10 import static org.robolectric.shadow.api.Shadow.directlyOn;
61 return directlyOn(realTypedArray, TypedArray.class, "loadStringValueAt", in loadStringValueAt()
68 return directlyOn(realTypedArray, TypedArray.class).getString(index); in getNonResourceString()
73 return directlyOn(realTypedArray, TypedArray.class).getString(index); in getNonConfigurationString()
81 return directlyOn(realTypedArray, TypedArray.class, "getPositionDescription"); in getPositionDescription()
DShadowGestureDetector.java4 import static org.robolectric.shadow.api.Shadow.directlyOn;
43 return directlyOn(realObject, GestureDetector.class).onTouchEvent(ev); in onTouchEvent()
48 directlyOn(realObject, GestureDetector.class).setOnDoubleTapListener(onDoubleTapListener); in setOnDoubleTapListener()
DShadowBaseAdapter.java3 import static org.robolectric.shadow.api.Shadow.directlyOn;
19 directlyOn(realBaseAdapter, BaseAdapter.class, "notifyDataSetChanged"); in notifyDataSetChanged()
DShadowGradientDrawable.java3 import static org.robolectric.shadow.api.Shadow.directlyOn;
21 directlyOn(realGradientDrawable, GradientDrawable.class).setColor(color); in setColor()
/external/robolectric-shadows/shadowapi/src/main/java/org/robolectric/shadow/api/
DShadow.java45 public static <T> T directlyOn(T shadowedObject, Class<T> clazz) { in directlyOn() method in Shadow
46 return SHADOW_IMPL.directlyOn(shadowedObject, clazz); in directlyOn()
50 …public static <R> R directlyOn(Object shadowedObject, String clazzName, String methodName, ClassPa… in directlyOn() method in Shadow
51 return SHADOW_IMPL.directlyOn(shadowedObject, clazzName, methodName, paramValues); in directlyOn()
55 …public static <R, T> R directlyOn(T shadowedObject, Class<T> clazz, String methodName, ClassParame… in directlyOn() method in Shadow
56 return SHADOW_IMPL.directlyOn(shadowedObject, clazz, methodName, paramValues); in directlyOn()
60 …public static <R, T> R directlyOn(Class<T> clazz, String methodName, ClassParameter... paramValues… in directlyOn() method in Shadow
61 return SHADOW_IMPL.directlyOn(clazz, methodName, paramValues); in directlyOn()
/external/robolectric-shadows/shadows/supportv4/src/main/java/org/robolectric/shadows/support/v4/
DShadowDrawerLayout.java3 import static org.robolectric.shadow.api.Shadow.directlyOn;
20 directlyOn(realDrawerLayout, DrawerLayout.class).setDrawerListener(drawerListener); in setDrawerListener()
30 directlyOn(realDrawerLayout, DrawerLayout.class).openDrawer(drawerView, false); in openDrawer()
36 directlyOn(realDrawerLayout, DrawerLayout.class).closeDrawer(drawerView, false); in closeDrawer()
/external/robolectric-shadows/shadowapi/src/main/java/org/robolectric/internal/
DIShadow.java13 <T> T directlyOn(T shadowedObject, Class<T> clazz); in directlyOn() method
16 …<R> R directlyOn(Object shadowedObject, String clazzName, String methodName, ReflectionHelpers.Cla… in directlyOn() method
18 …<R, T> R directlyOn(T shadowedObject, Class<T> clazz, String methodName, ReflectionHelpers.ClassPa… in directlyOn() method
20 …<R, T> R directlyOn(Class<T> clazz, String methodName, ReflectionHelpers.ClassParameter... paramVa… in directlyOn() method
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DShadowImpl.java31 @Override public <T> T directlyOn(T shadowedObject, Class<T> clazz) { in directlyOn() method in ShadowImpl
44 …public <R> R directlyOn(Object shadowedObject, String clazzName, String methodName, ReflectionHelp… in directlyOn() method in ShadowImpl
47 return directlyOn(shadowedObject, aClass, methodName, paramValues); in directlyOn()
54 …public <R, T> R directlyOn(T shadowedObject, Class<T> clazz, String methodName, ReflectionHelpers.… in directlyOn() method in ShadowImpl
60 …public <R, T> R directlyOn(Class<T> clazz, String methodName, ReflectionHelpers.ClassParameter... … in directlyOn() method in ShadowImpl

123