/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
H A D | SortedList.java | 10 * Unless required by applicable law or agreed to in writing, software 30 * such that it can be bound to a {@link RecyclerView.Adapter 34 * binary search to retrieve items. If the sorting criteria of your items may change, make sure you 35 * call appropriate methods while editing them to avoid data inconsistencies. 55 * A reference to the previous set of data that is kept during a mutation operation (addAll or 99 * @param initialCapacity The initial capacity to hold items. 118 * Adds the given item to the list. If this is a new item, SortedList calls 123 * {@link Callback#areItemsTheSame(Object, Object)} to check if two items are the same item 124 * and uses {@link Callback#areContentsTheSame(Object, Object)} to decide whether it should 126 * reference to th 395 findSameItem(T item, T[] items, int from, int to) argument [all...] |
/frameworks/av/media/libstagefright/codecs/mp3dec/src/asm/ |
H A D | pvmp3_dct_9_gcc.s | 10 @ Unless required by applicable law or agreed to in writing, software
|
H A D | pvmp3_polyphase_filter_window_gcc.s | 10 @ Unless required by applicable law or agreed to in writing, software
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/ |
H A D | Utilities.java | 10 * Unless required by applicable law or agreed to in writing, software 141 * Scales the {@param value} to be proportionally between the {@param min} and 146 public static float mapRange(@FloatRange(from=0.0,to=1.0) float value, float min, float max) { 151 * Scales the {@param value} proportionally from {@param min} and {@param max} to 0 and 1. 256 * Used for debugging, converts DP to PX.
|
/frameworks/native/include/binder/ |
H A D | Parcel.h | 10 * Unless required by applicable law or agreed to in writing, software 130 // Take a UTF8 encoded string, convert to UTF16, write it to the parcel. 189 // descriptors are dup'ed, so it is safe to delete the native_handle 196 // The Parcel does not take ownership of the given fd unless you ask it to. 205 // The Parcel does not take ownership of the given fd unless you ask it to. 221 // Writes a blob to the parcel. 225 // processes without further copying whereas mutable blobs always need to be copied. 229 // Write an existing immutable blob file descriptor to the parcel. 230 // This allows the client to sen 907 operator <<(TextOutput& to, const Parcel& parcel) argument [all...] |
/frameworks/native/libs/binder/include/binder/ |
H A D | Parcel.h | 10 * Unless required by applicable law or agreed to in writing, software 130 // Take a UTF8 encoded string, convert to UTF16, write it to the parcel. 189 // descriptors are dup'ed, so it is safe to delete the native_handle 196 // The Parcel does not take ownership of the given fd unless you ask it to. 205 // The Parcel does not take ownership of the given fd unless you ask it to. 221 // Writes a blob to the parcel. 225 // processes without further copying whereas mutable blobs always need to be copied. 229 // Write an existing immutable blob file descriptor to the parcel. 230 // This allows the client to sen 907 operator <<(TextOutput& to, const Parcel& parcel) argument [all...] |
/frameworks/native/opengl/tools/glgen/stubs/jsr239/ |
H A D | GLCHeader.cpp | 10 ** Unless required by applicable law or agreed to in writing, software 48 /* special calls implemented in Android's GLES wrapper used to more
|
/frameworks/support/textclassifier/src/main/java/androidx/textclassifier/ |
H A D | TextLinks.java | 10 * Unless required by applicable law or agreed to in writing, software 50 /** Links were successfully applied to the text. */ 52 /** No links exist to apply to text. Links count is zero. */ 54 /** No links applied to text. The links were filtered out. */ 56 /** The specified text does not match the text used to generate the links. */ 70 /** Do not replace {@link ClickableSpan}s that exist where the {@link TextLinkSpan} needs to 71 * be applied to. Do not apply the TextLinkSpan. **/ 73 /** Replace any {@link ClickableSpan}s that exist where the {@link TextLinkSpan} needs to be 74 * applied to [all...] |
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
H A D | BaseCardView.java | 10 * Unless required by applicable law or agreed to in writing, software 39 * A card style layout that responds to certain state changes. It arranges its 46 * marked as belonging to one of three regions: main, info, or extra. The main 47 * region is always visible, while the info and extra regions can be set to 90 * area, causing the total card height to change. The extra area animates in 131 * Distance of top of info view to bottom of MainView, it will shift up when extra view appears. 210 * or if it should be delayed. The default behavior is to delay this 211 * animation. This is a one-shot override. If set to false, after the card 213 * automatically reset to true. This is useful when you want to chang [all...] |
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
H A D | BaseStaggeredGridLayoutManagerTest.java | 10 * Unless required by applicable law or agreed to in writing, software 144 * enqueues an empty runnable to main thread so that we can be assured it did run 146 * @param count Number of times to run 498 // gradle does not yet let us customize manifest for tests which is necessary to test RTL. 518 // use a runnable to ensure RV layout is finished 535 // use a runnable to ensure RV layout is finished 564 // use a runnable to ensure RV layout is finished 889 protected void moveInUIThread(int from, int to) { argument 891 super.moveInUIThread(from, to); 893 mFullSpanItems.add(to); [all...] |
H A D | StaggeredGridLayoutManagerTest.java | 10 * Unless required by applicable law or agreed to in writing, software 112 // No actual binding needed, but we need to override this to prevent default 361 // Good to have colors for debugging 412 // Good to have colors for debugging 417 //noinspection deprecation used to support kitkat tests 505 // Good to have colors for debugging 510 //noinspection deprecation used to support kitkat tests 584 // Further scroll up in order to make the unfocusable rows visible. This process should 619 // Good to hav 1200 copyOfRange(int[] original, int from, int to) argument [all...] |
/frameworks/native/libs/binder/ |
H A D | Parcel.cpp | 10 * Unless required by applicable law or agreed to in writing, software 79 // XXX This can be made public if we want to provide 95 // Maximum size of a blob to transfer in-place. 133 // If we own an ashmem fd, keep track of how much memory it refers to. 231 obj.binder = 0; /* Don't pass uninitialized stack data to a remote process */ 265 obj.binder = 0; /* Don't pass uninitialized stack data to a remote process */ 276 // XXX How to deal? In order to flatten the given binder, 277 // we need to probe it for information, which requires a primary 283 ALOGE("Unable to unflatte 2467 print(TextOutput& to, uint32_t ) const argument [all...] |
/frameworks/native/cmds/installd/ |
H A D | dexopt.cpp | 10 * Unless required by applicable law or agreed to in writing, software 43 #include <log/log.h> // TODO: Move everything to base/logging. 66 // "true," usage might still be conditional to other constraints, e.g., system 84 // Alias for std::unique_ptr<> that uses the C function free() to delete objects. 107 // Nothing to clear. That's ok. 120 // (the app will write again to the profile). 125 // eventually cleared by the app itself due to checksum mismatch. 129 // If the app attempts to acquire a lock while we've held one here, 242 // Get the relative path to the input file. 309 // If the runtime was requested to us 2367 unlink_and_rename(const char* from, const char* to) argument 2387 PLOG(ERROR) << "Could not rename " << from << " to " << to; local [all...] |
/frameworks/base/core/java/android/os/ |
H A D | LocaleList.java | 10 * Unless required by applicable law or agreed to in writing, software 35 * LocaleList is an immutable list of Locales, typically used to keep an ordered list of user 52 * @param index The position to retrieve. 81 * @param locale The {@link Locale} to search for. 145 * Helper to write LocaleList to a protocol buffer output stream. Assumes the parent 148 * @param protoOutputStream Stream to write the locale to. 174 * <p>For empty lists of {@link Locale} items it is better to use {@link #getEmptyLocaleList()}, 210 * Constructs a locale list, with the topLocale moved to th [all...] |
/frameworks/base/core/java/android/text/format/ |
H A D | DateFormat.java | 10 * Unless required by applicable law or agreed to in writing, software 40 * <p>Most callers should avoid supplying their own format strings to this 53 * {@code acdEHhLKkLMmsyz}. Up to API level 17, only {@code adEhkMmszy} were supported. 78 * @deprecated Use a literal {@code 'a'} instead; 'A' was always equivalent to 'a'. 107 * and Unicode) or {@code 'k'} (for compatibility with Android releases up to and including 165 * @param context the context to use for the content resolver 175 * @param context the context to use for the content resolver 176 * @param userHandle the user handle of the user to query. 194 * @param locale the locale to check 227 * locale. A skeleton is similar to, an [all...] |
/frameworks/base/core/java/android/view/textclassifier/ |
H A D | TextLinks.java | 10 * Unless required by applicable law or agreed to in writing, software 58 * Return status of an attempt to apply TextLinks to text. 66 /** Links were successfully applied to the text. */ 69 /** No links exist to apply to text. Links count is zero. */ 72 /** No links applied to text. The links were filtered out. */ 75 /** The specified text does not match the text used to generate the links. */ 84 * Do not replace {@link ClickableSpan}s that exist where the {@link TextLinkSpan} needs to 85 * be applied to [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | SmartSelectSprite.java | 10 * Unless required by applicable law or agreed to in writing, software 93 * A rounded rectangle with a configurable corner radius and the ability to expand outside of 103 * touch point). For example, in left-to-right text, a selection spanning two lines with the 158 * In order to achieve the "rounded rectangle hits the wall" effect, we draw an expanding 186 void setRoundRatio(@FloatRange(from = 0.0, to = 1.0) final float roundRatio) { 225 * A collection of {@link RoundedRectangleShape}s that abstracts them to a single shape whose 349 * Performs the Smart Select animation on the view bound to this SmartSelectSprite. 355 * order to get the correct visual behavior, these rectangles 356 * should be sorted according to {@link #RECTANGLE_COMPARATOR}. 541 * A variant of {@link RectF#contains(float, float)} that also allows the point to resid [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | AnimatedImageDrawable.java | 10 * Unless required by applicable law or agreed to in writing, software 60 * <p>Created by {@link ImageDecoder#decodeDrawable}. A user needs to call 61 * {@link #start} to start the animation.</p> 104 * Pass this to {@link #setRepeatCount} to repeat infinitely. 112 * @deprecated Replaced with REPEAT_INFINITE to match other APIs. 120 * Specify the number of times to repeat the animation. 123 * to {@link #REPEAT_INFINITE}, the animation will repeat as long as it is 139 throw new IllegalArgumentException("invalid value passed to setRepeatCount" 151 * @deprecated Replaced with setRepeatCount to matc [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageInstallerSession.java | 10 * Unless required by applicable law or agreed to in writing, software 240 * Path to the validated base APK for this session, which may point at an 242 * point at the existing base APK (when adding splits to an existing app). 267 // Installers can't stage directories, so it's fine to ignore 343 * Checks if the permissions still need to be confirmed. 348 * @return {@code true} iff we need to ask to confirm the permissions? 374 // Device owners and affiliated profile owners are allowed to silently install packages, so 425 // attempt to bind to th 1045 maybeRenameFile(File from, File to) argument [all...] |
/frameworks/support/compat/src/main/java/androidx/core/os/ |
H A D | LocaleListHelper.java | 10 * Unless required by applicable law or agreed to in writing, software 36 * LocaleListHelper is an immutable list of Locales, typically used to keep an ordered list of user 56 * @param index The position to retrieve. 91 * @param locale The {@link Locale} to search for. 163 * <p>For empty lists of {@link Locale} items it is better to use {@link #getEmptyLocaleList()}, 202 * Constructs a locale list, with the topLocale moved to the front if it already is 203 * in otherLocales, or added to the front if it isn't. 265 * @param list The language tags to be included as a single {@link String} separated by commas. 311 @IntRange(from = 0, to = 1) 326 // If we can't guess a script, we don't know enough about the locales' language to fin [all...] |
/frameworks/support/viewpager/src/main/java/androidx/viewpager/widget/ |
H A D | PagerTitleStrip.java | 10 * Unless required by applicable law or agreed to in writing, software 44 * and previous pages of a {@link ViewPager}. It is intended to be used as a 47 * android:layout_gravity to TOP or BOTTOM to pin it to the top or bottom 49 * {@link PagerAdapter#getPageTitle(int)} in the adapter supplied to 189 public void setNonPrimaryAlpha(@FloatRange(from = 0.0, to = 1.0) float alpha) { 211 * Set the default text size to a given unit and value. 214 * <p>Example: to set the text size to 1 [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ViewGroup.java | 10 * Unless required by applicable law or agreed to in writing, software 92 * a simple {@link android.widget.FrameLayout} along with the ability to stack 126 * Views which have been hidden or removed which need to be animated on 134 * Listener used to propagate events indicating when children are added 150 * A Transformation used when drawing children, to 156 * Used to track the current invalidation region. 161 * A Transformation used to calculate a correct 167 // Used only to generate ENTER/EXIT events for pre-Nougat aps. 204 // continue sending hover events to them as long as the pointer remains over 241 * NOTE: If you change the flags below make sure to reflec [all...] |
/frameworks/av/media/libstagefright/colorconversion/ |
H A D | ColorConverter.cpp | 10 * Unless required by applicable law or agreed to in writing, software 48 OMX_COLOR_FORMATTYPE from, OMX_COLOR_FORMATTYPE to) 50 mDstFormat(to), 499 * the conversion to RGB using RenderEngine fallback. 502 * BT2020 to Full range is below for reference: 575 // There should be at most 2 more pixels to process. Note that we don't 576 // need to consider odd case as the buffer is always aligned to even. 680 // need to consider odd case as the buffer is always aligned to eve 47 ColorConverter( OMX_COLOR_FORMATTYPE from, OMX_COLOR_FORMATTYPE to) argument [all...] |
/frameworks/base/core/java/android/database/ |
H A D | DatabaseUtils.java | 10 * Unless required by applicable law or agreed to in writing, software 75 * a parcel, to be used when returning an exception from a transaction. 77 * @param reply Parcel to write to 78 * @param e The Exception to be written. 111 Log.e(TAG, "Writing exception to parcel", e); 118 Log.e(TAG, "Writing exception to parcel", e); 124 * a parcel, to be used after receiving the result of a transaction. This 125 * will throw the exception for you if it had been written to the Parcel, 127 * @param reply Parcel to rea [all...] |
/frameworks/base/core/java/android/provider/ |
H A D | MediaStore.java | 10 * Unless required by applicable law or agreed to in writing, software 67 * The method name used by the media scanner and mtp to tell the media provider to 75 * The method name used by the media scanner service to reload all localized ringtone titles due 76 * to a locale change. 83 * Name of the (optional) Uri parameter that determines whether to skip deleting 84 * the file pointed to by the _data column, when deleting the database entry. 86 * delete will be skipped. Note especially that setting this to true, or omitting 95 * The activity should be able to play, browse, or manipulate music files stored on the device. 118 * An intent to perfor 1730 moveItem(ContentResolver res, long playlistId, int from, int to) argument [all...] |