Home
last modified time | relevance | path

Searched refs:Nullable (Results 1 – 25 of 588) sorted by relevance

12345678910>>...24

/frameworks/base/core/java/android/os/
DBundle.java19 import android.annotation.Nullable;
341 public void putByte(@Nullable String key, byte value) { in putByte()
353 public void putChar(@Nullable String key, char value) { in putChar()
365 public void putShort(@Nullable String key, short value) { in putShort()
377 public void putFloat(@Nullable String key, float value) { in putFloat()
389 public void putCharSequence(@Nullable String key, @Nullable CharSequence value) { in putCharSequence()
400 public void putParcelable(@Nullable String key, @Nullable Parcelable value) { in putParcelable()
413 public void putSize(@Nullable String key, @Nullable Size value) { in putSize()
425 public void putSizeF(@Nullable String key, @Nullable SizeF value) { in putSizeF()
438 public void putParcelableArray(@Nullable String key, @Nullable Parcelable[] value) { in putParcelableArray()
[all …]
DBaseBundle.java19 import android.annotation.Nullable;
104 BaseBundle(@Nullable ClassLoader loader, int capacity) { in BaseBundle()
351 @Nullable
405 public void putBoolean(@Nullable String key, boolean value) { in putBoolean()
417 void putByte(@Nullable String key, byte value) { in putByte()
429 void putChar(@Nullable String key, char value) { in putChar()
441 void putShort(@Nullable String key, short value) { in putShort()
453 public void putInt(@Nullable String key, int value) { in putInt()
465 public void putLong(@Nullable String key, long value) { in putLong()
477 void putFloat(@Nullable String key, float value) { in putFloat()
[all …]
/frameworks/support/v4/java/android/support/v4/widget/
DTextViewCompat.java24 import android.support.annotation.Nullable;
39 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, in setCompoundDrawablesRelative()
40 @Nullable Drawable bottom); in setCompoundDrawablesRelative()
42 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, in setCompoundDrawablesRelativeWithIntrinsicBounds()
43 @Nullable Drawable bottom); in setCompoundDrawablesRelativeWithIntrinsicBounds()
55 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, in setCompoundDrawablesRelative()
56 @Nullable Drawable bottom) { in setCompoundDrawablesRelative()
62 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, in setCompoundDrawablesRelativeWithIntrinsicBounds()
63 @Nullable Drawable bottom) { in setCompoundDrawablesRelativeWithIntrinsicBounds()
105 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, in setCompoundDrawablesRelative()
[all …]
/frameworks/base/core/java/android/content/
DContext.java26 import android.annotation.Nullable;
523 @Nullable
540 @Nullable
976 @Nullable
977 public abstract File getExternalFilesDir(@Nullable String type); in getExternalFilesDir()
1221 @Nullable
1417 @Nullable DatabaseErrorHandler errorHandler); in openOrCreateDatabase()
1590 @Nullable Bundle options); in startActivity()
1606 public void startActivityAsUser(@RequiresPermission Intent intent, @Nullable Bundle options, in startActivityAsUser()
1625 @NonNull String who, Intent intent, int requestCode, @Nullable Bundle options) { in startActivityForResult()
[all …]
DContentProviderClient.java20 import android.annotation.Nullable;
124 public @Nullable Cursor query(@NonNull Uri url, @Nullable String[] projection, in query()
125 @Nullable String selection, @Nullable String[] selectionArgs, in query()
126 @Nullable String sortOrder) throws RemoteException { in query()
131 public @Nullable Cursor query(@NonNull Uri url, @Nullable String[] projection, in query()
132 @Nullable String selection, @Nullable String[] selectionArgs, in query()
133 @Nullable String sortOrder, @Nullable CancellationSignal cancellationSignal) in query()
168 public @Nullable String getType(@NonNull Uri url) throws RemoteException { in getType()
185 public @Nullable String[] getStreamTypes(@NonNull Uri url, @NonNull String mimeTypeFilter) in getStreamTypes()
204 public final @Nullable Uri canonicalize(@NonNull Uri url) throws RemoteException { in canonicalize()
[all …]
DContentProvider.java26 import android.annotation.Nullable;
396 String callingPkg, String method, @Nullable String arg, @Nullable Bundle extras) { in call()
692 public final @Nullable Context getContext() { in getContext()
720 public final @Nullable String getCallingPackage() { in getCallingPackage()
769 protected final void setReadPermission(@Nullable String permission) { in setReadPermission()
780 public final @Nullable String getReadPermission() { in getReadPermission()
791 protected final void setWritePermission(@Nullable String permission) { in setWritePermission()
802 public final @Nullable String getWritePermission() { in getWritePermission()
813 protected final void setPathPermissions(@Nullable PathPermission[] permissions) { in setPathPermissions()
824 public final @Nullable PathPermission[] getPathPermissions() { in getPathPermissions()
[all …]
DSharedPreferences.java19 import android.annotation.Nullable;
80 Editor putString(String key, @Nullable String value); in putString()
93 Editor putStringSet(String key, @Nullable Set<String> values); in putStringSet()
256 @Nullable
257 String getString(String key, @Nullable String defValue); in getString()
275 @Nullable
276 Set<String> getStringSet(String key, @Nullable Set<String> defValues); in getStringSet()
/frameworks/base/core/java/com/android/internal/util/
DArrayUtils.java20 import android.annotation.Nullable;
132 public static boolean isEmpty(@Nullable Collection<?> array) { in isEmpty()
139 public static <T> boolean isEmpty(@Nullable T[] array) { in isEmpty()
146 public static boolean isEmpty(@Nullable int[] array) { in isEmpty()
153 public static boolean isEmpty(@Nullable long[] array) { in isEmpty()
160 public static boolean isEmpty(@Nullable byte[] array) { in isEmpty()
167 public static boolean isEmpty(@Nullable boolean[] array) { in isEmpty()
177 public static <T> boolean contains(@Nullable T[] array, T value) { in contains()
185 public static <T> int indexOf(@Nullable T[] array, T value) { in indexOf()
196 public static <T> boolean containsAll(@Nullable T[] array, T[] check) { in containsAll()
[all …]
/frameworks/base/media/java/android/media/
DMediaDescription.java3 import android.annotation.Nullable;
76 public @Nullable String getMediaId() { in getMediaId()
85 public @Nullable CharSequence getTitle() { in getTitle()
94 public @Nullable CharSequence getSubtitle() { in getSubtitle()
103 public @Nullable CharSequence getDescription() { in getDescription()
112 public @Nullable Bitmap getIconBitmap() { in getIconBitmap()
121 public @Nullable Uri getIconUri() { in getIconUri()
130 public @Nullable Bundle getExtras() { in getExtras()
139 public @Nullable Uri getMediaUri() { in getMediaUri()
203 public Builder setMediaId(@Nullable String mediaId) { in setMediaId()
[all …]
DMediaCodec.java21 import android.annotation.Nullable;
1849 @Nullable MediaFormat format, in configure()
1850 @Nullable Surface surface, @Nullable MediaCrypto crypto, in configure()
1956 private native final void native_setCallback(@Nullable Callback cb); in native_setCallback()
1959 @Nullable String[] keys, @Nullable Object[] values, in native_configure()
1960 @Nullable Surface surface, @Nullable MediaCrypto crypto, @ConfigureFlag int flags); in native_configure()
2061 CodecException(int errorCode, int actionCode, @Nullable String detailMessage) { in CodecException()
2140 public CryptoException(int errorCode, @Nullable String detailMessage) {
2761 public void setImage(@Nullable Image image) { in setImage()
2766 public void setByteBuffer(@Nullable ByteBuffer buffer) { in setByteBuffer()
[all …]
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpDeviceRecord.java19 import android.annotation.Nullable;
25 public final @Nullable String deviceKey;
28 public final @Nullable int[] operationsSupported;
29 public final @Nullable int[] eventsSupported;
31 MtpDeviceRecord(int deviceId, String name, @Nullable String deviceKey, boolean opened, in MtpDeviceRecord()
32 MtpRoot[] roots, @Nullable int[] operationsSupported, in MtpDeviceRecord()
33 @Nullable int[] eventsSupported) { in MtpDeviceRecord()
46 static boolean isSupported(@Nullable int[] supportedList, int code) { in isSupported()
58 static boolean isPartialReadSupported(@Nullable int[] supportedList, long fileSize) { in isPartialReadSupported()
70 static boolean isWritingSupported(@Nullable int[] supportedList) { in isWritingSupported()
/frameworks/support/v4/jellybean-mr2/android/support/v4/widget/
DTextViewCompatJbMr2.java22 import android.support.annotation.Nullable;
28 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, in setCompoundDrawablesRelative()
29 @Nullable Drawable bottom) { in setCompoundDrawablesRelative()
34 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, in setCompoundDrawablesRelativeWithIntrinsicBounds()
35 @Nullable Drawable bottom) { in setCompoundDrawablesRelativeWithIntrinsicBounds()
/frameworks/support/v4/jellybean-mr1/android/support/v4/widget/
DTextViewCompatJbMr1.java21 import android.support.annotation.Nullable;
28 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, in setCompoundDrawablesRelative()
29 @Nullable Drawable bottom) { in setCompoundDrawablesRelative()
35 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, in setCompoundDrawablesRelativeWithIntrinsicBounds()
36 @Nullable Drawable bottom) { in setCompoundDrawablesRelativeWithIntrinsicBounds()
/frameworks/support/v4/java/android/support/v4/media/
DMediaDescriptionCompat.java24 import android.support.annotation.Nullable;
113 @Nullable
123 @Nullable
133 @Nullable
143 @Nullable
153 @Nullable
163 @Nullable
173 @Nullable
183 @Nullable
352 public Builder setMediaId(@Nullable String mediaId) { in setMediaId()
[all …]
/frameworks/base/core/java/android/text/util/
DRfc822Token.java19 import android.annotation.Nullable;
26 @Nullable
33 public Rfc822Token(@Nullable String name, @Nullable String address, @Nullable String comment) { in Rfc822Token()
42 @Nullable
50 @Nullable
58 @Nullable
66 public void setName(@Nullable String name) { in setName()
73 public void setAddress(@Nullable String address) { in setAddress()
80 public void setComment(@Nullable String comment) { in setComment()
/frameworks/base/core/java/android/hardware/camera2/
DCameraCaptureSession.java20 import android.annotation.Nullable;
290 @Nullable CaptureCallback listener, @Nullable Handler handler) in capture()
352 @Nullable CaptureCallback listener, @Nullable Handler handler) in captureBurst()
419 @Nullable CaptureCallback listener, @Nullable Handler handler) in setRepeatingRequest()
491 @Nullable CaptureCallback listener, @Nullable Handler handler) in setRepeatingBurst()
581 @Nullable
/frameworks/base/core/java/android/content/res/
DResourcesKey.java20 import android.annotation.Nullable;
28 @Nullable
31 @Nullable
34 @Nullable
37 @Nullable
50 public ResourcesKey(@Nullable String resDir, in ResourcesKey()
51 @Nullable String[] splitResDirs, in ResourcesKey()
52 @Nullable String[] overlayDirs, in ResourcesKey()
53 @Nullable String[] libDirs, in ResourcesKey()
55 @Nullable Configuration overrideConfig, in ResourcesKey()
[all …]
DThemedResourceCache.java20 import android.annotation.Nullable;
47 public void put(long key, @Nullable Theme theme, @NonNull T entry) { in put()
61 public void put(long key, @Nullable Theme theme, @NonNull T entry, boolean usesTheme) { in put()
86 @Nullable
87 public T get(long key, @Nullable Theme theme) { in get()
143 @Nullable
144 private LongSparseArray<WeakReference<T>> getThemedLocked(@Nullable Theme t, boolean create) { in getThemedLocked()
180 @Nullable
214 private boolean pruneEntriesLocked(@Nullable LongSparseArray<WeakReference<T>> entries, in pruneEntriesLocked()
230 private boolean pruneEntryLocked(@Nullable T entry, @Config int configChanges) { in pruneEntryLocked()
/frameworks/support/v4/java/android/support/v4/content/res/
DResourcesCompat.java28 import android.support.annotation.Nullable;
55 @Nullable
58 @Nullable Theme theme) throws NotFoundException { in getDrawable()
88 @Nullable
91 int density, @Nullable Theme theme) throws NotFoundException { in getDrawableForDensity()
120 public static int getColor(@NonNull Resources res, @ColorRes int id, @Nullable Theme theme) in getColor()
148 @Nullable
151 @Nullable Theme theme) throws NotFoundException { in getColorStateList()
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouteProvider.java25 import android.support.annotation.Nullable;
121 public final void setCallback(@Nullable Callback callback) { in setCallback()
134 @Nullable
190 public void onDiscoveryRequestChanged(@Nullable MediaRouteDiscoveryRequest request) { in onDiscoveryRequestChanged()
205 @Nullable
221 public final void setDescriptor(@Nullable MediaRouteProviderDescriptor descriptor) { in setDescriptor()
252 @Nullable
380 public boolean onControlRequest(Intent intent, @Nullable ControlRequestCallback callback) { in onControlRequest()
396 @Nullable MediaRouteProviderDescriptor descriptor) { in onDescriptorChanged()
/frameworks/base/core/java/android/bluetooth/le/
DScanFilter.java19 import android.annotation.Nullable;
47 @Nullable
50 @Nullable
53 @Nullable
55 @Nullable
58 @Nullable
60 @Nullable
62 @Nullable
66 @Nullable
68 @Nullable
[all …]
/frameworks/support/v4/donut/android/support/v4/view/
DTintableBackgroundView.java21 import android.support.annotation.Nullable;
40 void setSupportBackgroundTintList(@Nullable ColorStateList tint); in setSupportBackgroundTintList()
47 @Nullable
59 void setSupportBackgroundTintMode(@Nullable PorterDuff.Mode tintMode); in setSupportBackgroundTintMode()
68 @Nullable
/frameworks/support/v4/donut/android/support/v4/widget/
DTintableCompoundButton.java22 import android.support.annotation.Nullable;
40 public void setSupportButtonTintList(@Nullable ColorStateList tint); in setSupportButtonTintList()
47 @Nullable
61 public void setSupportButtonTintMode(@Nullable PorterDuff.Mode tintMode); in setSupportButtonTintMode()
68 @Nullable
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DActionBarInterface.java4 import android.support.annotation.Nullable;
35 @Nullable
38 public void setTitle(@Nullable CharSequence title); in setTitle()
40 public void setSubtitle(@Nullable CharSequence subtitle); in setSubtitle()
46 public void setLogo(@Nullable Drawable logo); in setLogo()
/frameworks/base/core/java/android/app/
DPendingIntent.java21 import android.annotation.Nullable;
334 @NonNull Intent intent, @Flags int flags, @Nullable Bundle options) { in getActivity()
474 @NonNull Intent[] intents, @Flags int flags, @Nullable Bundle options) { in getActivities()
679 public void send(Context context, int code, @Nullable Intent intent) in send()
700 public void send(int code, @Nullable OnFinished onFinished, @Nullable Handler handler) in send()
738 public void send(Context context, int code, @Nullable Intent intent, in send()
739 @Nullable OnFinished onFinished, @Nullable Handler handler) throws CanceledException { in send()
781 public void send(Context context, int code, @Nullable Intent intent, in send()
782 @Nullable OnFinished onFinished, @Nullable Handler handler, in send()
783 @Nullable String requiredPermission) in send()
[all …]

12345678910>>...24