Home
last modified time | relevance | path

Searched refs:NonNull (Results 1 – 25 of 632) sorted by relevance

12345678910>>...26

/frameworks/base/media/java/android/media/
DMediaDrm.java27 import android.annotation.NonNull;
161 public static final boolean isCryptoSchemeSupported(@NonNull UUID uuid) { in isCryptoSchemeSupported()
174 @NonNull UUID uuid, @NonNull String mimeType) { in isCryptoSchemeSupported()
178 private static final byte[] getByteArrayFromUUID(@NonNull UUID uuid) { in getByteArrayFromUUID()
192 @NonNull byte[] uuid, @Nullable String mimeType); in isCryptoSchemeSupportedNative()
202 public MediaDrm(@NonNull UUID uuid) throws UnsupportedSchemeException { in MediaDrm()
257 @NonNull
302 @NonNull MediaDrm md, @NonNull byte[] sessionId, long expirationTime);
346 @NonNull MediaDrm md, @NonNull byte[] sessionId,
347 @NonNull List<KeyStatus> keyInformation,
[all …]
DMediaCrypto.java19 import android.annotation.NonNull;
38 public static final boolean isCryptoSchemeSupported(@NonNull UUID uuid) { in isCryptoSchemeSupported()
42 @NonNull
43 private static final byte[] getByteArrayFromUUID(@NonNull UUID uuid) { in getByteArrayFromUUID()
56 private static final native boolean isCryptoSchemeSupportedNative(@NonNull byte[] uuid); in isCryptoSchemeSupportedNative()
64 public MediaCrypto(@NonNull UUID uuid, @NonNull byte[] initData) throws MediaCryptoException { in MediaCrypto()
73 public final native boolean requiresSecureDecoderComponent(@NonNull String mime); in requiresSecureDecoderComponent()
86 public final native void setMediaDrmSession(@NonNull byte[] sessionId) in setMediaDrmSession()
97 private native final void native_setup(@NonNull byte[] uuid, @NonNull byte[] initData) in native_setup()
/frameworks/support/transition/src/android/support/transition/
DTransition.java23 import android.support.annotation.NonNull;
93 @NonNull
94 public Transition addListener(@NonNull TransitionListener listener) { in addListener()
125 @NonNull
126 public Transition addTarget(@NonNull View target) { in addTarget()
149 @NonNull
183 public abstract void captureEndValues(@NonNull TransitionValues transitionValues); in captureEndValues()
213 public abstract void captureStartValues(@NonNull TransitionValues transitionValues); in captureStartValues()
262 public Animator createAnimator(@NonNull ViewGroup sceneRoot, in createAnimator()
287 @NonNull
[all …]
DTransitionSet.java21 import android.support.annotation.NonNull;
86 @NonNull
105 @NonNull
106 public TransitionSet addTransition(@NonNull Transition transition) { in addTransition()
117 @NonNull
118 public TransitionSet removeTransition(@NonNull Transition transition) { in removeTransition()
124 public void captureEndValues(@NonNull TransitionValues transitionValues) { in captureEndValues()
129 public void captureStartValues(@NonNull TransitionValues transitionValues) { in captureStartValues()
135 public Animator createAnimator(@NonNull ViewGroup sceneRoot, in createAnimator()
136 @NonNull TransitionValues startValues, @NonNull TransitionValues endValues) { in createAnimator()
/frameworks/base/core/java/android/hardware/camera2/
DCameraCaptureSession.java19 import android.annotation.NonNull;
79 @NonNull
140 public abstract void prepare(@NonNull Surface surface) throws CameraAccessException; in prepare()
182 public abstract void prepare(int maxCount, @NonNull Surface surface) in prepare()
221 public abstract void tearDown(@NonNull Surface surface) throws CameraAccessException; in tearDown()
337 public abstract int capture(@NonNull CaptureRequest request, in capture()
399 public abstract int captureBurst(@NonNull List<CaptureRequest> requests, in captureBurst()
466 public abstract int setRepeatingRequest(@NonNull CaptureRequest request, in setRepeatingRequest()
538 public abstract int setRepeatingBurst(@NonNull List<CaptureRequest> requests, in setRepeatingBurst()
677 public abstract void onConfigured(@NonNull CameraCaptureSession session); in onConfigured()
[all …]
DCameraDevice.java19 import android.annotation.NonNull;
161 @NonNull
430 public abstract void createCaptureSession(@NonNull List<Surface> outputs, in createCaptureSession()
431 @NonNull CameraCaptureSession.StateCallback callback, @Nullable Handler handler) in createCaptureSession()
616 public abstract void createReprocessableCaptureSession(@NonNull InputConfiguration inputConfig, in createReprocessableCaptureSession()
617 @NonNull List<Surface> outputs, @NonNull CameraCaptureSession.StateCallback callback, in createReprocessableCaptureSession()
631 @NonNull InputConfiguration inputConfig, in createReprocessableCaptureSessionByConfigurations()
632 @NonNull List<OutputConfiguration> outputs, in createReprocessableCaptureSessionByConfigurations()
633 @NonNull CameraCaptureSession.StateCallback callback, in createReprocessableCaptureSessionByConfigurations()
716 public abstract void createConstrainedHighSpeedCaptureSession(@NonNull List<Surface> outputs, in createConstrainedHighSpeedCaptureSession()
[all …]
/frameworks/base/core/java/android/content/pm/
DShortcutServiceInternal.java19 import android.annotation.NonNull;
38 void onShortcutChanged(@NonNull String packageName, @UserIdInt int userId); in onShortcutChanged()
43 @NonNull String callingPackage, long changedSince, in getShortcuts()
49 isPinnedByCaller(int launcherUserId, @NonNull String callingPackage, in isPinnedByCaller()
50 @NonNull String packageName, @NonNull String id, int userId); in isPinnedByCaller()
53 @NonNull String callingPackage, @NonNull String packageName, in pinShortcuts()
54 @NonNull List<String> shortcutIds, int userId); in pinShortcuts()
57 int launcherUserId, @NonNull String callingPackage, in createShortcutIntents()
58 @NonNull String packageName, @NonNull String shortcutId, int userId); in createShortcutIntents()
60 public abstract void addListener(@NonNull ShortcutChangeListener listener); in addListener()
[all …]
/frameworks/base/keystore/java/android/security/keystore/
DKeyGenParameterSpec.java20 import android.annotation.NonNull;
344 @NonNull
381 @NonNull
390 @NonNull
399 @NonNull
408 @NonNull
460 @NonNull
474 @NonNull
487 @NonNull
499 @NonNull
[all …]
/frameworks/support/compat/java/android/support/v4/content/res/
DConfigurationHelper.java21 import android.support.annotation.NonNull;
45 int getScreenHeightDp(@NonNull Resources resources); in getScreenHeightDp()
46 int getScreenWidthDp(@NonNull Resources resources); in getScreenWidthDp()
47 int getSmallestScreenWidthDp(@NonNull Resources resources); in getSmallestScreenWidthDp()
48 int getDensityDpi(@NonNull Resources resources); in getDensityDpi()
56 public int getScreenHeightDp(@NonNull Resources resources) { in getScreenHeightDp()
61 public int getScreenWidthDp(@NonNull Resources resources) { in getScreenWidthDp()
66 public int getSmallestScreenWidthDp(@NonNull Resources resources) { in getSmallestScreenWidthDp()
71 public int getDensityDpi(@NonNull Resources resources) { in getDensityDpi()
81 public int getScreenHeightDp(@NonNull Resources resources) { in getScreenHeightDp()
[all …]
/frameworks/support/v13/java/android/support/v13/view/inputmethod/
DInputContentInfoCompat.java21 import android.support.annotation.NonNull;
32 @NonNull
35 @NonNull
51 @NonNull
53 @NonNull
58 public BaseInputContentInfoCompatImpl(@NonNull Uri contentUri, in BaseInputContentInfoCompatImpl()
59 @NonNull ClipDescription description, @Nullable Uri linkUri) { in BaseInputContentInfoCompatImpl()
65 @NonNull
71 @NonNull
102 @NonNull
[all …]
DInputConnectionCompat.java23 import android.support.annotation.NonNull;
38 boolean commitContent(@NonNull InputConnection inputConnection, in commitContent()
39 @NonNull InputContentInfoCompat inputContentInfo, int flags, @Nullable Bundle opts); in commitContent()
41 @NonNull
42 InputConnection createWrapper(@NonNull InputConnection ic, in createWrapper()
43 @NonNull EditorInfo editorInfo, @NonNull OnCommitContentListener callback); in createWrapper()
64 public boolean commitContent(@NonNull InputConnection inputConnection, in commitContent()
65 @NonNull InputContentInfoCompat inputContentInfo, int flags, in commitContent()
77 @NonNull
79 public InputConnection createWrapper(@NonNull InputConnection ic, in createWrapper()
[all …]
DEditorInfoCompat.java20 import android.support.annotation.NonNull;
33 void setContentMimeTypes(@NonNull EditorInfo editorInfo, in setContentMimeTypes()
35 @NonNull
36 String[] getContentMimeTypes(@NonNull EditorInfo editorInfo); in getContentMimeTypes()
46 public void setContentMimeTypes(@NonNull EditorInfo editorInfo, in setContentMimeTypes()
54 @NonNull
56 public String[] getContentMimeTypes(@NonNull EditorInfo editorInfo) { in getContentMimeTypes()
67 public void setContentMimeTypes(@NonNull EditorInfo editorInfo, in setContentMimeTypes()
72 @NonNull
74 public String[] getContentMimeTypes(@NonNull EditorInfo editorInfo) { in getContentMimeTypes()
[all …]
/frameworks/base/core/java/android/service/carrier/
DCarrierMessagingService.java19 import android.annotation.NonNull;
126 public void onFilterSms(@NonNull MessagePdu pdu, @NonNull String format, int destPort, in onFilterSms()
127 int subId, @NonNull ResultCallback<Boolean> callback) { in onFilterSms()
154 public void onReceiveTextSms(@NonNull MessagePdu pdu, @NonNull String format, in onReceiveTextSms()
155 int destPort, int subId, @NonNull final ResultCallback<Integer> callback) { in onReceiveTextSms()
176 @NonNull String text, int subId, @NonNull String destAddress, in onSendTextSms()
177 @NonNull ResultCallback<SendSmsResult> callback) { in onSendTextSms()
196 @NonNull String text, int subId, @NonNull String destAddress, in onSendTextSms()
197 int sendSmsFlag, @NonNull ResultCallback<SendSmsResult> callback) { in onSendTextSms()
213 public void onSendDataSms(@NonNull byte[] data, int subId, in onSendDataSms()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DFrameworkActionBarWrapper.java32 import android.annotation.NonNull;
58 @NonNull protected ActionBar mActionBar;
59 @NonNull protected ActionBarCallback mCallback;
60 @NonNull protected BridgeContext mContext;
68 @NonNull
69 public static FrameworkActionBarWrapper getActionBarWrapper(@NonNull BridgeContext context, in getActionBarWrapper()
70 @NonNull ActionBarCallback callback, @NonNull View decorContent) { in getActionBarWrapper()
83 FrameworkActionBarWrapper(@NonNull BridgeContext context, @NonNull ActionBarCallback callback, in FrameworkActionBarWrapper()
84 @NonNull ActionBar actionBar) { in FrameworkActionBarWrapper()
147 @NonNull
[all …]
/frameworks/base/keystore/java/android/security/
DKeyPairGeneratorSpec.java20 import android.annotation.NonNull;
187 @NonNull
196 @NonNull
205 @NonNull
214 @NonNull
223 @NonNull
303 public Builder(@NonNull Context context) { in Builder()
315 @NonNull
316 public Builder setAlias(@NonNull String alias) { in setAlias()
329 @NonNull
[all …]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/
DRecyclerViewUtil.java26 import android.annotation.NonNull;
56 public static void setAdapter(@NonNull View recyclerView, @NonNull BridgeContext context, in setAdapter()
57 @NonNull LayoutlibCallback layoutlibCallback, int adapterLayout) { in setAdapter()
72 private static void setLayoutManager(@NonNull View recyclerView, @NonNull BridgeContext context, in setLayoutManager()
73 @NonNull LayoutlibCallback callback) throws ReflectionException { in setLayoutManager()
85 private static Object createLayoutManager(@NonNull Context context, in createLayoutManager()
86 @NonNull LayoutlibCallback callback) in createLayoutManager()
102 private static Object createAdapter(@NonNull LayoutlibCallback layoutlibCallback) in createAdapter()
116 private static void setProperty(@NonNull Object object, @NonNull String propertyClassName, in setProperty()
117 @NonNull Object propertyValue, @NonNull String propertySetter) in setProperty()
[all …]
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/mdnsFilter/
DVendorConfig.java19 import android.annotation.NonNull;
57 public final @NonNull String name;
60 public final @NonNull String packageName;
63 public final @NonNull List<String> mDNSNames;
68 private VendorConfig(@NonNull String name, @NonNull String packageName, in VendorConfig()
69 @NonNull List<String> mDNSNames) { in VendorConfig()
86 public static @Nullable VendorConfig getConfig(@NonNull Context context, @NonNull String name) in getConfig()
107 public static @NonNull Collection<VendorConfig> getAllConfigs(@NonNull Context context) in getAllConfigs()
128 private static @NonNull String readText(XmlPullParser parser) in readText()
151 private static @NonNull String readSimpleTag(@NonNull Context context, in readSimpleTag()
[all …]
/frameworks/base/graphics/java/android/graphics/
DCanvas.java21 import android.annotation.NonNull;
129 public Canvas(@NonNull Bitmap bitmap) { in Canvas()
656 public void getMatrix(@NonNull Matrix ctm) { in getMatrix()
671 public final @NonNull Matrix getMatrix() { in getMatrix()
685 public boolean clipRect(@NonNull RectF rect, @NonNull Region.Op op) { in clipRect()
698 public boolean clipRect(@NonNull Rect rect, @NonNull Region.Op op) { in clipRect()
710 public boolean clipRect(@NonNull RectF rect) { in clipRect()
722 public boolean clipRect(@NonNull Rect rect) { in clipRect()
743 @NonNull Region.Op op) { in clipRect()
790 public boolean clipPath(@NonNull Path path, @NonNull Region.Op op) { in clipPath()
[all …]
/frameworks/support/compat/java/android/support/v4/widget/
DTextViewCompat.java22 import android.support.annotation.NonNull;
37 void setCompoundDrawablesRelative(@NonNull TextView textView, in setCompoundDrawablesRelative()
40 void setCompoundDrawablesRelativeWithIntrinsicBounds(@NonNull TextView textView, in setCompoundDrawablesRelativeWithIntrinsicBounds()
43 void setCompoundDrawablesRelativeWithIntrinsicBounds(@NonNull TextView textView, in setCompoundDrawablesRelativeWithIntrinsicBounds()
48 void setTextAppearance(@NonNull TextView textView, @StyleRes int resId); in setTextAppearance()
49 Drawable[] getCompoundDrawablesRelative(@NonNull TextView textView); in getCompoundDrawablesRelative()
54 public void setCompoundDrawablesRelative(@NonNull TextView textView, in setCompoundDrawablesRelative()
61 public void setCompoundDrawablesRelativeWithIntrinsicBounds(@NonNull TextView textView, in setCompoundDrawablesRelativeWithIntrinsicBounds()
68 public void setCompoundDrawablesRelativeWithIntrinsicBounds(@NonNull TextView textView, in setCompoundDrawablesRelativeWithIntrinsicBounds()
90 public Drawable[] getCompoundDrawablesRelative(@NonNull TextView textView) { in getCompoundDrawablesRelative()
[all …]
/frameworks/base/core/java/android/print/
DPrinterInfo.java21 import android.annotation.NonNull;
70 private final @NonNull PrinterId mId;
84 private final @NonNull String mName;
92 private PrinterInfo(@NonNull PrinterId printerId, @NonNull String name, @Status int status, in PrinterInfo()
112 public @NonNull PrinterId getId() { in getId()
127 public @Nullable Drawable loadIcon(@NonNull Context context) { in loadIcon()
169 public @NonNull String getName() { in getName()
223 private static @NonNull PrinterId checkPrinterId(PrinterId printerId) { in checkPrinterId()
251 private static @NonNull String checkName(String name) { in checkName()
389 private @NonNull PrinterId mPrinterId;
[all …]
/frameworks/support/core-ui/java/android/support/v4/widget/
DFocusStrategy.java20 import android.support.annotation.NonNull;
36 public static <L, T> T findNextFocusInRelativeDirection(@NonNull L focusables, in findNextFocusInRelativeDirection()
37 @NonNull CollectionAdapter<L, T> collectionAdapter, @NonNull BoundsAdapter<T> adapter, in findNextFocusInRelativeDirection()
140 public static <L, T> T findNextFocusInAbsoluteDirection(@NonNull L focusables, in findNextFocusInAbsoluteDirection()
141 @NonNull CollectionAdapter<L, T> collectionAdapter, @NonNull BoundsAdapter<T> adapter, in findNextFocusInAbsoluteDirection()
142 @Nullable T focused, @NonNull Rect focusedRect, int direction) { in findNextFocusInAbsoluteDirection()
199 @FocusRealDirection int direction, @NonNull Rect source, in isBetterCandidate()
200 @NonNull Rect candidate, @NonNull Rect currentBest) { in isBetterCandidate()
242 @NonNull Rect source, @NonNull Rect rect1, @NonNull Rect rect2) { in beamBeats()
295 private static boolean isCandidate(@NonNull Rect srcRect, @NonNull Rect destRect, in isCandidate()
[all …]
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawable.java27 import android.annotation.NonNull;
197 public abstract void draw(@NonNull Canvas canvas); in draw()
225 public void setBounds(@NonNull Rect bounds) { in setBounds()
237 public final void copyBounds(@NonNull Rect bounds) { in copyBounds()
249 @NonNull
269 @NonNull
288 @NonNull
369 void invalidateDrawable(@NonNull Drawable who); in invalidateDrawable()
383 void scheduleDrawable(@NonNull Drawable who, @NonNull Runnable what, long when); in scheduleDrawable()
395 void unscheduleDrawable(@NonNull Drawable who, @NonNull Runnable what); in unscheduleDrawable()
[all …]
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/
DNsdResolveQueue.java19 import android.annotation.NonNull;
59 final @NonNull NsdManager nsdManager;
60 final @NonNull NsdServiceInfo serviceInfo;
61 final @NonNull NsdManager.ResolveListener listener;
63 private NsdResolveRequest(@NonNull NsdManager nsdManager, in NsdResolveRequest()
64 @NonNull NsdServiceInfo serviceInfo, @NonNull NsdManager.ResolveListener listener) { in NsdResolveRequest()
78 public void resolve(@NonNull NsdManager nsdManager, @NonNull NsdServiceInfo serviceInfo, in resolve()
79 @NonNull NsdManager.ResolveListener listener) { in resolve()
95 private final @NonNull NsdManager.ResolveListener mListener;
97 private ListenerWrapper(@NonNull NsdManager.ResolveListener listener) { in ListenerWrapper()
/frameworks/base/core/java/com/android/internal/inputmethod/
DLocaleUtils.java22 import android.annotation.NonNull;
51 private static byte calculateMatchingSubScore(@NonNull final ULocale supported, in calculateMatchingSubScore()
52 @NonNull final ULocale desired) { in calculateMatchingSubScore()
92 private static boolean calculateMatchingScore(@NonNull final ULocale supported, in calculateMatchingScore()
93 @NonNull final LocaleList desired, @NonNull byte[] out) { in calculateMatchingScore()
119 @NonNull public final byte[] mScore; // matching score of the i-th system languages.
121 ScoreEntry(@NonNull byte[] score, int index) { in ScoreEntry()
126 private void set(@NonNull byte[] score, int index) { in set()
136 public void updateIfBetter(@NonNull byte[] score, int index) { in updateIfBetter()
158 private static int compare(@NonNull byte[] left, @NonNull byte[] right) { in compare()
[all …]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DLoggingItemAnimator.java16 import android.support.annotation.NonNull;
61 @NonNull
63 public ItemHolderInfo recordPreLayoutInformation(@NonNull RecyclerView.State state, in recordPreLayoutInformation()
64 @NonNull RecyclerView.ViewHolder viewHolder, in recordPreLayoutInformation()
65 @AdapterChanges int changeFlags, @NonNull List<Object> payloads) { in recordPreLayoutInformation()
71 @NonNull
73 public ItemHolderInfo recordPostLayoutInformation(@NonNull RecyclerView.State state, in recordPostLayoutInformation()
74 @NonNull RecyclerView.ViewHolder viewHolder) { in recordPostLayoutInformation()
82 public boolean animateDisappearance(@NonNull RecyclerView.ViewHolder viewHolder, in animateDisappearance()
83 @NonNull ItemHolderInfo preLayoutInfo, ItemHolderInfo postLayoutInfo) { in animateDisappearance()
[all …]

12345678910>>...26