Home
last modified time | relevance | path

Searched refs:Object (Results 1 – 25 of 1050) sorted by relevance

12345678910>>...42

/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DArrayUtilsTest.java26 final Object A = new Object(); in testContains()
27 final Object B = new Object(); in testContains()
28 final Object C = new Object(); in testContains()
29 final Object D = new Object(); in testContains()
31 assertTrue(ArrayUtils.contains(new Object[] { A, B, C }, A)); in testContains()
32 assertTrue(ArrayUtils.contains(new Object[] { A, B, C }, B)); in testContains()
33 assertTrue(ArrayUtils.contains(new Object[] { A, B, C }, C)); in testContains()
34 assertTrue(ArrayUtils.contains(new Object[] { A, null, C }, null)); in testContains()
36 assertFalse(ArrayUtils.contains(new Object[] { A, B, C }, null)); in testContains()
37 assertFalse(ArrayUtils.contains(new Object[] { }, null)); in testContains()
[all …]
/frameworks/support/v4/java/android/support/v4/view/accessibility/
DAccessibilityRecordCompat.java34 public Object obtain(); in obtain()
35 public Object obtain(Object record); in obtain()
36 public void setSource(Object record, View source); in setSource()
37 public void setSource(Object record, View root, int virtualDescendantId); in setSource()
38 public AccessibilityNodeInfoCompat getSource(Object record); in getSource()
39 public int getWindowId(Object record); in getWindowId()
40 public boolean isChecked(Object record); in isChecked()
41 public void setChecked(Object record, boolean isChecked); in setChecked()
42 public boolean isEnabled(Object record); in isEnabled()
43 public void setEnabled(Object record, boolean isEnabled); in setEnabled()
[all …]
DAccessibilityNodeInfoCompat.java36 public Object obtain(); in obtain()
37 public Object obtain(View source); in obtain()
38 public Object obtain(Object info); in obtain()
39 public Object obtain(View root, int virtualDescendantId); in obtain()
40 public void setSource(Object info, View source); in setSource()
41 public void setSource(Object info, View root, int virtualDescendantId); in setSource()
42 public Object findFocus(Object info, int focus); in findFocus()
43 public Object focusSearch(Object info, int direction); in focusSearch()
44 public int getWindowId(Object info); in getWindowId()
45 public int getChildCount(Object info); in getChildCount()
[all …]
DAccessibilityNodeProviderCompat.java33 public Object newAccessibilityNodeProviderBridge(AccessibilityNodeProviderCompat compat); in newAccessibilityNodeProviderBridge()
38 public Object newAccessibilityNodeProviderBridge(AccessibilityNodeProviderCompat compat) { in newAccessibilityNodeProviderBridge()
45 public Object newAccessibilityNodeProviderBridge( in newAccessibilityNodeProviderBridge()
56 public List<Object> findAccessibilityNodeInfosByText( in newAccessibilityNodeProviderBridge()
60 List<Object> infos = new ArrayList<Object>(); in newAccessibilityNodeProviderBridge()
70 public Object createAccessibilityNodeInfo( in newAccessibilityNodeProviderBridge()
86 private final Object mProvider;
109 public AccessibilityNodeProviderCompat(Object provider) {
116 public Object getProvider() {
/frameworks/support/v4/ics/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompatIcs.java30 public static Object obtain() { in obtain()
34 public static Object obtain(View source) { in obtain()
38 public static Object obtain(Object info) { in obtain()
42 public static void addAction(Object info, int action) { in addAction()
46 public static void addChild(Object info, View child) { in addChild()
51 public static List<Object> findAccessibilityNodeInfosByText(Object info, String text) { in findAccessibilityNodeInfosByText()
52 Object result = ((AccessibilityNodeInfo) info).findAccessibilityNodeInfosByText(text); in findAccessibilityNodeInfosByText()
53 return (List<Object>) result; in findAccessibilityNodeInfosByText()
56 public static int getActions(Object info) { in getActions()
60 public static void getBoundsInParent(Object info, Rect outBounds) { in getBoundsInParent()
[all …]
DAccessibilityRecordCompatIcs.java30 public static Object obtain() { in obtain()
34 public static Object obtain(Object record) { in obtain()
38 public static int getAddedCount(Object record) { in getAddedCount()
42 public static CharSequence getBeforeText(Object record) { in getBeforeText()
46 public static CharSequence getClassName(Object record) { in getClassName()
50 public static CharSequence getContentDescription(Object record) { in getContentDescription()
54 public static int getCurrentItemIndex(Object record) { in getCurrentItemIndex()
58 public static int getFromIndex(Object record) { in getFromIndex()
62 public static int getItemCount(Object record) { in getItemCount()
66 public static Parcelable getParcelableData(Object record) { in getParcelableData()
[all …]
/frameworks/support/v4/java/android/support/v4/widget/
DEdgeEffectCompat.java32 private Object mEdgeEffect;
45 public Object newEdgeEffect(Context context); in newEdgeEffect()
46 public void setSize(Object edgeEffect, int width, int height); in setSize()
47 public boolean isFinished(Object edgeEffect); in isFinished()
48 public void finish(Object edgeEffect); in finish()
49 public boolean onPull(Object edgeEffect, float deltaDistance); in onPull()
50 public boolean onRelease(Object edgeEffect); in onRelease()
51 public boolean onAbsorb(Object edgeEffect, int velocity); in onAbsorb()
52 public boolean draw(Object edgeEffect, Canvas canvas); in draw()
59 public Object newEdgeEffect(Context context) { in newEdgeEffect()
[all …]
DScrollerCompat.java32 Object mScroller;
35 Object createScroller(Context context, Interpolator interpolator); in createScroller()
36 boolean isFinished(Object scroller); in isFinished()
37 int getCurrX(Object scroller); in getCurrX()
38 int getCurrY(Object scroller); in getCurrY()
39 float getCurrVelocity(Object scroller); in getCurrVelocity()
40 boolean computeScrollOffset(Object scroller); in computeScrollOffset()
41 void startScroll(Object scroller, int startX, int startY, int dx, int dy); in startScroll()
42 void startScroll(Object scroller, int startX, int startY, int dx, int dy, int duration); in startScroll()
43 void fling(Object scroller, int startX, int startY, int velX, int velY, in fling()
[all …]
/frameworks/support/v7/mediarouter/jellybean/android/support/v7/media/
DMediaRouterJellybean.java41 public static Object getMediaRouter(Context context) { in getMediaRouter()
46 public static List getRoutes(Object routerObj) { in getRoutes()
57 public static List getCategories(Object routerObj) { in getCategories()
67 public static Object getSelectedRoute(Object routerObj, int type) { in getSelectedRoute()
71 public static void selectRoute(Object routerObj, int types, Object routeObj) { in selectRoute()
76 public static void addCallback(Object routerObj, int types, Object callbackObj) { in addCallback()
81 public static void removeCallback(Object routerObj, Object callbackObj) { in removeCallback()
86 public static Object createRouteCategory(Object routerObj, in createRouteCategory()
91 public static Object createUserRoute(Object routerObj, Object categoryObj) { in createUserRoute()
96 public static void addUserRoute(Object routerObj, Object routeObj) { in addUserRoute()
[all …]
/frameworks/support/v4/java/android/support/v4/view/
DAccessibilityDelegateCompat.java34 public Object newAccessiblityDelegateDefaultImpl(); in newAccessiblityDelegateDefaultImpl()
35 public Object newAccessiblityDelegateBridge(AccessibilityDelegateCompat listener); in newAccessiblityDelegateBridge()
36 public boolean dispatchPopulateAccessibilityEvent(Object delegate, View host, in dispatchPopulateAccessibilityEvent()
38 public void onInitializeAccessibilityEvent(Object delegate, View host, in onInitializeAccessibilityEvent()
40 public void onInitializeAccessibilityNodeInfo(Object delegate, View host, in onInitializeAccessibilityNodeInfo()
42 public void onPopulateAccessibilityEvent(Object delegate, View host, in onPopulateAccessibilityEvent()
44 public boolean onRequestSendAccessibilityEvent(Object delegate, ViewGroup host, View child, in onRequestSendAccessibilityEvent()
46 public void sendAccessibilityEvent(Object delegate, View host, int eventType); in sendAccessibilityEvent()
47 public void sendAccessibilityEventUnchecked(Object delegate, View host, in sendAccessibilityEventUnchecked()
49 public AccessibilityNodeProviderCompat getAccessibilityNodeProvider(Object delegate, in getAccessibilityNodeProvider()
[all …]
/frameworks/base/core/tests/coretests/src/android/text/
DSpannableTest.java31 Object emptySpan = new Object(); in testGetSpans()
33 Object unemptySpan = new Object(); in testGetSpans()
36 Object[] spans; in testGetSpans()
41 spans = spannable.getSpans(0, 1, Object.class); in testGetSpans()
42 MoreAsserts.assertEquals(new Object[]{emptySpan}, spans); in testGetSpans()
43 spans = spannable.getSpans(0, 2, Object.class); in testGetSpans()
44 MoreAsserts.assertEquals(new Object[]{emptySpan, unemptySpan}, spans); in testGetSpans()
45 spans = spannable.getSpans(1, 2, Object.class); in testGetSpans()
46 MoreAsserts.assertEquals(new Object[]{emptySpan, unemptySpan}, spans); in testGetSpans()
47 spans = spannable.getSpans(2, 2, Object.class); in testGetSpans()
[all …]
DSpannedTest.java46 Object o = new Object(); in testAppend()
54 assertEquals(1, ssb.getSpans(0, 4, Object.class).length); in testAppend()
59 assertEquals(0, ssb.getSpans(0, 4, Object.class).length); in testAppend()
60 assertEquals(1, ssb.getSpans(4, 8, Object.class).length); in testAppend()
106 s.setSpan(new Object(), 0, 1, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE | in checkPriority()
108 s.setSpan(new Object(), 0, 1, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE | in checkPriority()
110 s.setSpan(new Object(), 0, 1, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE | in checkPriority()
112 s.setSpan(new Object(), 0, 1, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE | in checkPriority()
114 s.setSpan(new Object(), 0, 1, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE | in checkPriority()
116 s.setSpan(new Object(), 0, 1, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE | in checkPriority()
[all …]
/frameworks/support/v4/jellybean/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompatJellyBean.java28 public static void addChild(Object info, View child, int virtualDescendantId) { in addChild()
32 public static void setSource(Object info, View root, int virtualDescendantId) { in setSource()
36 public static boolean isVisibleToUser(Object info) { in isVisibleToUser()
40 public static void setVisibleToUser(Object info, boolean visibleToUser) { in setVisibleToUser()
44 public static boolean performAction(Object info, int action, Bundle arguments) { in performAction()
48 public static void setMovementGranularities(Object info, int granularities) { in setMovementGranularities()
52 public static int getMovementGranularities(Object info) { in getMovementGranularities()
56 public static Object obtain(View root, int virtualDescendantId) { in obtain()
60 public static Object findFocus(Object info, int focus) { in findFocus()
64 public static Object focusSearch(Object info, int direction) { in focusSearch()
[all …]
/frameworks/base/tests/CoreTests/android/core/
DHeapTest.java45 private WeakReference<Object> newRef() { in newRef()
46 return new WeakReference<Object>(new Object()); in newRef()
49 private static void makeRefs(Object objects[], SoftReference<Object> refs[]) { in makeRefs()
51 objects[i] = (Object) new byte[8 * 1024]; in makeRefs()
52 refs[i] = new SoftReference<Object>(objects[i]); in makeRefs()
60 Object o = refs[i].get(); in checkRefs()
71 private static void clearRefs(Object objects[], int skip) { in clearRefs()
77 private static void clearRefs(Object objects[]) { in clearRefs()
98 Object objects[] = new Object[NUM_REFS]; in testGcSoftRefs()
99 SoftReference<Object> refs[] = new SoftReference[objects.length]; in testGcSoftRefs()
[all …]
/frameworks/base/test-runner/src/android/test/
DMoreAsserts.java44 public static void assertAssignableFrom(Class<?> expected, Object actual) { in assertAssignableFrom()
65 String message, Object unexpected, Object actual) { in assertNotEqual()
75 public static void assertNotEqual(Object unexpected, Object actual) { in assertNotEqual()
165 String message, Object[] expected, Object[] actual) { in assertEquals()
170 Object exp = expected[i]; in assertEquals()
171 Object act = actual[i]; in assertEquals()
185 public static void assertEquals(Object[] expected, Object[] actual) { in assertEquals()
191 String message, Set<? extends Object> expected, Set<? extends Object> actual) { in assertEquals()
192 Set<Object> onlyInExpected = new HashSet<Object>(expected); in assertEquals()
194 Set<Object> onlyInActual = new HashSet<Object>(actual); in assertEquals()
[all …]
/frameworks/support/v4/gingerbread/android/support/v4/widget/
DScrollerCompatGingerbread.java25 public static Object createScroller(Context context, Interpolator interpolator) { in createScroller()
30 public static boolean isFinished(Object scroller) { in isFinished()
34 public static int getCurrX(Object scroller) { in getCurrX()
38 public static int getCurrY(Object scroller) { in getCurrY()
42 public static boolean computeScrollOffset(Object scroller) { in computeScrollOffset()
46 public static void startScroll(Object scroller, int startX, int startY, int dx, int dy) { in startScroll()
50 public static void startScroll(Object scroller, int startX, int startY, int dx, int dy, in startScroll()
55 public static void fling(Object scroller, int startX, int startY, int velX, int velY, in fling()
60 public static void fling(Object scroller, int startX, int startY, int velX, int velY, in fling()
66 public static void abortAnimation(Object scroller) { in abortAnimation()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCommandsInterface.java120 void registerForRadioStateChanged(Handler h, int what, Object obj); in registerForRadioStateChanged()
123 void registerForVoiceRadioTechChanged(Handler h, int what, Object obj); in registerForVoiceRadioTechChanged()
132 void registerForOn(Handler h, int what, Object obj); in registerForOn()
141 void registerForAvailable(Handler h, int what, Object obj); in registerForAvailable()
150 void registerForNotAvailable(Handler h, int what, Object obj); in registerForNotAvailable()
159 void registerForOffOrNotAvailable(Handler h, int what, Object obj); in registerForOffOrNotAvailable()
165 void registerForIccStatusChanged(Handler h, int what, Object obj); in registerForIccStatusChanged()
168 void registerForCallStateChanged(Handler h, int what, Object obj); in registerForCallStateChanged()
170 void registerForVoiceNetworkStateChanged(Handler h, int what, Object obj); in registerForVoiceNetworkStateChanged()
172 void registerForDataNetworkStateChanged(Handler h, int what, Object obj); in registerForDataNetworkStateChanged()
[all …]
DBaseCommands.java34 protected Object mStateMonitor = new Object();
108 public void registerForRadioStateChanged(Handler h, int what, Object obj) { in registerForRadioStateChanged()
125 public void registerForOn(Handler h, int what, Object obj) { in registerForOn()
145 public void registerForAvailable(Handler h, int what, Object obj) { in registerForAvailable()
165 public void registerForNotAvailable(Handler h, int what, Object obj) { in registerForNotAvailable()
185 public void registerForOffOrNotAvailable(Handler h, int what, Object obj) { in registerForOffOrNotAvailable()
204 public void registerForCallStateChanged(Handler h, int what, Object obj) { in registerForCallStateChanged()
216 public void registerForVoiceNetworkStateChanged(Handler h, int what, Object obj) { in registerForVoiceNetworkStateChanged()
228 public void registerForDataNetworkStateChanged(Handler h, int what, Object obj) { in registerForDataNetworkStateChanged()
240 public void registerForVoiceRadioTechChanged(Handler h, int what, Object obj) { in registerForVoiceRadioTechChanged()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DHandlerCaller.java77 public void removeMessages(int what, Object obj) { in removeMessages()
89 public Message obtainMessageBO(int what, boolean arg1, Object arg2) { in obtainMessageBO()
93 public Message obtainMessageBOO(int what, boolean arg1, Object arg2, Object arg3) { in obtainMessageBOO()
100 public Message obtainMessageO(int what, Object arg1) { in obtainMessageO()
112 public Message obtainMessageIO(int what, int arg1, Object arg2) { in obtainMessageIO()
116 public Message obtainMessageIIO(int what, int arg1, int arg2, Object arg3) { in obtainMessageIIO()
121 Object arg3, Object arg4) { in obtainMessageIIOO()
128 public Message obtainMessageIOO(int what, int arg1, Object arg2, Object arg3) { in obtainMessageIOO()
135 public Message obtainMessageOO(int what, Object arg1, Object arg2) { in obtainMessageOO()
142 public Message obtainMessageOOO(int what, Object arg1, Object arg2, Object arg3) { in obtainMessageOOO()
[all …]
/frameworks/base/core/java/android/text/
DSpannableStringInternal.java33 mSpans = new Object[initial]; in SpannableStringInternal()
38 Object[] spans = sp.getSpans(start, end, Object.class); in SpannableStringInternal()
73 /* package */ void setSpan(Object what, int start, int end, int flags) { in setSpan()
100 Object[] spans = mSpans; in setSpan()
119 Object[] newtags = new Object[newsize]; in setSpan()
139 /* package */ void removeSpan(Object what) { in removeSpan()
141 Object[] spans = mSpans; in removeSpan()
163 public int getSpanStart(Object what) { in getSpanStart()
165 Object[] spans = mSpans; in getSpanStart()
177 public int getSpanEnd(Object what) { in getSpanEnd()
[all …]
/frameworks/base/core/java/android/database/
DMatrixCursor.java29 private Object[] data;
48 this.data = new Object[columnCount * initialCapacity]; in MatrixCursor()
64 private Object get(int column) { in get()
102 public void addRow(Object[] columnValues) { in addRow()
134 Object[] localData = data; in addRow()
135 for (Object columnValue : columnValues) { in addRow()
163 Object[] localData = data; in addRow()
172 Object[] oldData = this.data; in ensureCapacity()
177 this.data = new Object[newSize]; in ensureCapacity()
204 public RowBuilder add(Object columnValue) { in add()
[all …]
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DMethodListener.java39 public void onInvokeV(String signature, boolean isNative, Object caller); in onInvokeV()
46 public int onInvokeI(String signature, boolean isNative, Object caller); in onInvokeI()
53 public long onInvokeL(String signature, boolean isNative, Object caller); in onInvokeL()
60 public float onInvokeF(String signature, boolean isNative, Object caller); in onInvokeF()
67 public double onInvokeD(String signature, boolean isNative, Object caller); in onInvokeD()
74 public Object onInvokeA(String signature, boolean isNative, Object caller); in onInvokeA()
/frameworks/support/v4/ics/android/support/v4/widget/
DEdgeEffectCompatIcs.java29 public static Object newEdgeEffect(Context context) { in newEdgeEffect()
33 public static void setSize(Object edgeEffect, int width, int height) { in setSize()
37 public static boolean isFinished(Object edgeEffect) { in isFinished()
41 public static void finish(Object edgeEffect) { in finish()
45 public static boolean onPull(Object edgeEffect, float deltaDistance) { in onPull()
50 public static boolean onRelease(Object edgeEffect) { in onRelease()
56 public static boolean onAbsorb(Object edgeEffect, int velocity) { in onAbsorb()
61 public static boolean draw(Object edgeEffect, Canvas canvas) { in draw()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DKeyValueMap.java27 public class KeyValueMap extends HashMap<String, Object> {
29 public void setKeyValues(Object... keyValues) { in setKeyValues()
40 Object value = keyValues[i+1]; in setKeyValues()
45 public static KeyValueMap fromKeyValues(Object... keyValues) { in fromKeyValues()
52 Object result = get(key); in getString()
57 Object result = get(key); in getInt()
62 Object result = get(key); in getFloat()
69 for (Map.Entry<String, Object> entry : entrySet()) { in toString()
71 Object value = entry.getValue(); in toString()
/frameworks/base/core/java/android/animation/
DKeyframe.java137 public static Keyframe ofObject(float fraction, Object value) { in ofObject()
173 public abstract Object getValue(); in getValue()
180 public abstract void setValue(Object value); in setValue()
244 Object mValue;
246 ObjectKeyframe(float fraction, Object value) { in ObjectKeyframe()
250 mValueType = mHasValue ? value.getClass() : Object.class; in ObjectKeyframe()
253 public Object getValue() { in getValue()
257 public void setValue(Object value) { in setValue()
296 public Object getValue() { in getValue()
300 public void setValue(Object value) { in setValue()
[all …]

12345678910>>...42