/frameworks/support/v7/palette/tests/java/android/support/v7/graphics/ |
H A D | ConsistencyTest.java | 42 Palette newPalette = Palette.from(bitmap).generate();
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
H A D | TabLayoutTest.java | 68 final LayoutInflater inflater = LayoutInflater.from(mActivityTestRule.getActivity()); 99 LayoutInflater.from(mActivityTestRule.getActivity()); 112 final LayoutInflater inflater = LayoutInflater.from(mActivityTestRule.getActivity()); 132 final LayoutInflater inflater = LayoutInflater.from(mActivityTestRule.getActivity()); 152 final LayoutInflater inflater = LayoutInflater.from(mActivityTestRule.getActivity()); 177 final LayoutInflater inflater = LayoutInflater.from(mActivityTestRule.getActivity()); 205 final LayoutInflater inflater = LayoutInflater.from(mActivityTestRule.getActivity());
|
/frameworks/base/core/java/android/accessibilityservice/ |
H A D | GestureDescription.java | 86 * Read a stroke from the gesture 92 public StrokeDescription getStroke(@IntRange(from = 0) int index) { 221 * @param startTime The time, in milliseconds, from the time the gesture starts to the 227 @IntRange(from = 0) long startTime, 228 @IntRange(from = 0) long duration) { 236 * @param startTime The time, in milliseconds, from the time the gesture starts to the 245 @IntRange(from = 0) long startTime, 246 @IntRange(from = 0) long duration, 325 * @param startTime The time, in milliseconds, from the time the gesture starts to the 326 * time this stroke should start. Must not be negative. This time is from [all...] |
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/ |
H A D | AdapterHelperTest.java | 163 public void offsetPositionsForMove(int from, int to) { 165 if (from < to) { 166 start = from; 171 end = from; 178 if (holder.mPosition == from) { 179 holder.offsetPosition(to - from, false); 883 int from = nextInt(random, mTestAdapter.mItems.size()); 887 } while (to == from); 888 mv(from, to); 1014 private void mv(int from, in argument 1076 move(int from, int to) argument [all...] |
/frameworks/support/emoji/core/src/android/support/text/emoji/ |
H A D | EmojiProcessor.java | 147 CharSequence process(@NonNull final CharSequence charSequence, @IntRange(from = 0) int start, 148 @IntRange(from = 0) int end, @IntRange(from = 0) int maxEmojiCount, 257 * Handles onKeyDown commands from a {@link KeyListener} and if {@code keyCode} is one of 259 * {@link EmojiSpan} from an {@link Editable}. Returns {@code true} if an {@link EmojiSpan} is 329 * Handles deleteSurroundingText commands from {@link InputConnection} and tries to delete an 330 * {@link EmojiSpan} from an {@link Editable}. Returns {@code true} if an {@link EmojiSpan} is 345 @NonNull final Editable editable, @IntRange(from = 0) final int beforeLength, 346 @IntRange(from = 0) final int afterLength, final boolean inCodePoints) { 611 * starting from { 619 findIndexBackward(final CharSequence cs, final int from, final int numCodePoints) argument 674 findIndexForward(final CharSequence cs, final int from, final int numCodePoints) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | RelativeLayout.java | 200 * Used to indicate left/right/top/bottom should be inferred from constraints 841 // This is the default case. For RTL we start from the right and for LTR we start 842 // from the left. This will give LEFT/TOP for LTR and RIGHT/TOP for RTL. 1186 * To learn more about layout parameters and how they differ from typical view attributes, 1217 @ViewDebug.IntToString(from = ABOVE, to = "above"), 1218 @ViewDebug.IntToString(from = ALIGN_BASELINE, to = "alignBaseline"), 1219 @ViewDebug.IntToString(from = ALIGN_BOTTOM, to = "alignBottom"), 1220 @ViewDebug.IntToString(from = ALIGN_LEFT, to = "alignLeft"), 1221 @ViewDebug.IntToString(from = ALIGN_PARENT_BOTTOM, to = "alignParentBottom"), 1222 @ViewDebug.IntToString(from [all...] |
H A D | SimpleExpandableListAdapter.java | 32 * that defines the views used to display a group, and a mapping from keys in 64 * @param groupFrom A list of keys that will be fetched from the Map 80 * @param childFrom A list of keys that will be fetched from the Map 109 * @param groupFrom A list of keys that will be fetched from the Map 128 * @param childFrom A list of keys that will be fetched from the Map 158 * @param groupFrom A list of keys that will be fetched from the Map 177 * @param childFrom A list of keys that will be fetched from the Map 243 private void bindView(View view, Map<String, ?> data, String[] from, int[] to) { argument 249 v.setText((String)data.get(from[i]));
|
/frameworks/base/core/java/android/os/ |
H A D | BaseBundle.java | 30 * A mapping from String keys to values of various types. In most cases, you 89 * The ClassLoader used when unparcelling data from mParcelledData. 153 * Constructs a Bundle containing a copy of the mappings from the given 345 * Removes all elements from the mapping of this Bundle. 352 void copyInternal(BaseBundle from, boolean deep) { argument 353 synchronized (from) { 354 if (from.mParcelledData != null) { 355 if (from.isEmptyParcel()) { 359 mParcelledData.appendFrom(from.mParcelledData, 0, 360 from 418 deepcopyArrayList(ArrayList from) argument [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
H A D | WifiAwareNativeApi.java | 48 * Translates Wi-Fi Aware requests from the framework to the HAL (HIDL). 413 * @param messageId Arbitary integer from host (not sent to HAL - useful for 662 * Responds to a data request from a peer. Security is provided by either PMK or Passphrase (not 668 * @param ndpId The NDP (Aware data path) ID. Obtained from the request callback. 669 * @param interfaceName The interface on which the data path will be setup. Obtained from the 779 * @param from The input byte[] to convert from. 780 * @param to An optional ArrayList<> to fill in from 'from'. 784 private ArrayList<Byte> convertNativeByteArrayToArrayList(byte[] from, ArrayLis argument 800 copyArray(byte[] from, byte[] to) argument [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3StreamSplitter.cpp | 82 // from input, and attached to the outputs. In this case, the input queue's 321 SP_LOGE("%s: Cannot acquireBuffer from GraphicBufferProducer %p: %s (%d)", 328 // the previous buffer will be removed from the output queue. Decrement 346 // Acquire and detach the buffer from the input 350 SP_LOGE("%s: Acquiring buffer from input failed (%d)", __FUNCTION__, res); 361 SP_LOGV("acquired buffer %" PRId64 " from input at slot %d", 366 SP_LOGE("%s: detaching buffer from input failed (%d)", __FUNCTION__, res); 395 const sp<IGraphicBufferProducer>& from) { 399 removeSlotForOutputLocked(from, mBuffers[id]->getBuffer()); 443 const sp<IGraphicBufferProducer>& from) { 394 decrementBufRefCountLocked(uint64_t id, const sp<IGraphicBufferProducer>& from) argument 442 onBufferReleasedByOutput( const sp<IGraphicBufferProducer>& from) argument 450 onBufferReleasedByOutputLocked( const sp<IGraphicBufferProducer>& from) argument [all...] |
/frameworks/base/core/java/com/android/internal/inputmethod/ |
H A D | LocaleUtils.java | 51 @IntRange(from=1, to=3) 116 @IntRange(from=-1, to=1) 138 * one best-match item from {@code source} to {@code dest}. For example, if 141 * French locale from {@code source} to {@code dest}. Here the best matching English locale 142 * will be searched from {@code source} based on matching score. For the score design, see 146 * @param extractor Type converter from the source items to {@link Locale} object.
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | BaseMenuPresenter.java | 57 mSystemInflater = LayoutInflater.from(context); 65 mInflater = LayoutInflater.from(mContext); 136 * @param parent Parent to filter from 166 * with data from the item parameter.
|
/frameworks/base/core/tests/coretests/apks/install_jni_lib/ |
H A D | Android.mk | 29 # from installing library to /system/lib
|
/frameworks/base/data/keyboards/ |
H A D | keyboards.mk | 15 # Warning: this is actually a product definition, to be inherited from
|
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/ |
H A D | UsageLogActivity.java | 127 convertView = LayoutInflater.from(UsageLogActivity.this) 131 convertView = LayoutInflater.from(UsageLogActivity.this)
|
/frameworks/opt/chips/sample/ |
H A D | Android.mk | 17 # Include res dir from chips
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
H A D | TemplateLayout.java | 42 * inflating this layout from XML, the {@code android:layout} and {@code suwContainer} attributes 111 * Get a {@link Mixin} from this template registered earlier in 137 final LayoutInflater inflater = LayoutInflater.from(getContext()); 186 inflater = LayoutInflater.from( 203 * views retrieved from findViewById, or other view operations that need to be done in code.
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/ |
H A D | GlifLayoutTest.java | 60 LayoutInflater inflater = LayoutInflater.from(mContext); 69 LayoutInflater inflater = LayoutInflater.from(mContext);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
H A D | VoicemailNotificationSettingsUtil.java | 91 * Migrate voicemail settings from {@link #OLD_VIBRATE_WHEN_KEY} or 94 * TODO: Add helper which migrates settings from old version to new version. 99 TelephonyManager telephonyManager = TelephonyManager.from(context); 131 * Migrate voicemail settings from OLD_VOICEMAIL_NOTIFICATION_RINGTONE_SHARED_PREFS_KEY. 133 * TODO: Add helper which migrates settings from old version to new version. 138 TelephonyManager telephonyManager = TelephonyManager.from(context);
|
/frameworks/rs/script_api/ |
H A D | rs_quaternion.spec | 71 summary: Get a rotation matrix from a quaternion 73 Computes a rotation matrix from the normalized quaternion. 132 Creates a quaternion from its four components or from another quaternion. 237 arg: rs_quaternion* q, "Result quaternion from the interpolation."
|
/frameworks/support/dynamic-animation/src/android/support/animation/ |
H A D | SpringForce.java | 135 @FloatRange(from = 0.0, fromInclusive = false) float stiffness) { 169 public SpringForce setDampingRatio(@FloatRange(from = 0.0) float dampingRatio) {
|
/frameworks/support/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
H A D | BottomSheetDynamicContent.java | 91 mBehavior = BottomSheetBehavior.from(list); 137 return new ViewHolder(LayoutInflater.from(parent.getContext()), parent);
|
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
H A D | BottomSheetDynamicContent.java | 91 mBehavior = BottomSheetBehavior.from(list); 137 return new ViewHolder(LayoutInflater.from(parent.getContext()), parent);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | ActionPresenterSelector.java | 61 View v = LayoutInflater.from(parent.getContext()) 83 View v = LayoutInflater.from(parent.getContext())
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
H A D | BaseMenuPresenter.java | 62 mSystemInflater = LayoutInflater.from(context); 70 mInflater = LayoutInflater.from(mContext); 142 * @param parent Parent to filter from 173 * with data from the item parameter.
|