Searched defs:size (Results 276 - 300 of 850) sorted by path

<<11121314151617181920>>

/frameworks/base/core/java/android/util/
H A DMemoryIntArray.java62 * @param size The size of the array in terms of integer slots. Cannot be
67 public MemoryIntArray(int size, boolean clientWritable) throws IOException { argument
68 if (size > MAX_SIZE) {
69 throw new IllegalArgumentException("Max size is " + MAX_SIZE);
74 mFd = ParcelFileDescriptor.fromFd(nativeCreate(name, size));
131 * Gets the array size.
135 public int size() throws IOException { method in class:MemoryIntArray
218 final int size = size();
231 nativeCreate(String name, int size) argument
[all...]
H A DSparseArray.java43 * need to be performed at any time the array needs to be grown or the the map size or
164 * <p>For indices outside of the range <code>0...size()-1</code>,
178 * @param size Number of mappings to remove
180 * <p>For indices outside of the range <code>0...size()-1</code>,
183 public void removeAtRange(int index, int size) { argument
184 final int end = Math.min(mSize, index + size);
254 public int size() { method in class:SparseArray
263 * Given an index in the range <code>0...size()-1</code>, returns
269 * smallest key and <code>keyAt(size()-1)</code> will return the largest
272 * <p>For indices outside of the range <code>0...size()
[all...]
H A DSparseBooleanArray.java150 public int size() { method in class:SparseBooleanArray
155 * Given an index in the range <code>0...size()-1</code>, returns
161 * smallest key and <code>keyAt(size()-1)</code> will return the largest
169 * Given an index in the range <code>0...size()-1</code>, returns
176 * smallest key and <code>valueAt(size()-1)</code> will return the value
282 if (size() <= 0) {
H A DSparseIntArray.java155 public int size() { method in class:SparseIntArray
160 * Given an index in the range <code>0...size()-1</code>, returns
166 * smallest key and <code>keyAt(size()-1)</code> will return the largest
174 * Given an index in the range <code>0...size()-1</code>, returns
181 * smallest key and <code>valueAt(size()-1)</code> will return the value
249 if (size() == 0) {
252 return Arrays.copyOf(mKeys, size());
262 if (size() <= 0) {
H A DSparseLongArray.java153 public int size() { method in class:SparseLongArray
158 * Given an index in the range <code>0...size()-1</code>, returns
164 * smallest key and <code>keyAt(size()-1)</code> will return the largest
172 * Given an index in the range <code>0...size()-1</code>, returns
179 * smallest key and <code>valueAt(size()-1)</code> will return the value
240 if (size() <= 0) {
/frameworks/base/core/java/android/util/apk/
H A DApkSignatureSchemeV2Verifier.java249 return signerCerts.toArray(new X509Certificate[signerCerts.size()][]);
385 return certs.toArray(new X509Certificate[certs.size()]);
423 int[] digestAlgorithms = new int[expectedDigests.size()];
454 // 1. Each segment of contents is split into consecutive chunks of 1 MB in size.
465 totalChunkCountLong += getChunkCount(input.size());
501 // this code is running and based on the size of input.
505 long inputRemaining = input.size();
533 "Unexpected output size of " + md.getAlgorithm() + " digest: "
786 * Relative <em>get</em> method for reading {@code size} number of bytes from the current
789 * <p>This method reads the next {@code size} byte
794 getByteBuffer(ByteBuffer source, int size) argument
979 long size(); method in interface:ApkSignatureSchemeV2Verifier.DataSource
988 feedIntoMessageDigests(MessageDigest[] mds, long offset, int size) argument
1010 MemoryMappedFileDataSource(FileDescriptor fd, long position, long size) argument
1017 public long size() { method in class:ApkSignatureSchemeV2Verifier.MemoryMappedFileDataSource
1022 feedIntoMessageDigests( MessageDigest[] mds, long offset, int size) argument
1092 public long size() { method in class:ApkSignatureSchemeV2Verifier.ByteBufferDataSource
1097 feedIntoMessageDigests( MessageDigest[] mds, long offset, int size) argument
[all...]
/frameworks/base/core/java/android/util/jar/
H A DStrictJarFile.java271 JarFileInputStream(InputStream is, long size, StrictJarVerifier.VerifierEntry e) { argument
275 count = size;
311 int size = r;
312 if (count < size) {
313 size = (int) count;
315 entry.write(buffer, byteOffset, size);
316 count -= size;
/frameworks/base/core/java/android/view/
H A DHandlerActionQueue.java95 public int size() { method in class:HandlerActionQueue
H A DMenu.java386 public int size(); method in interface:Menu
394 * when {@code index < 0 || >= size()}
H A DMotionEvent.java39 * information about the pressure, size and orientation of the contact area.
558 * <li>For a touch screen or touch pad, reports the approximate size of the contact area in
559 * relation to the maximum detectable size for the device. The value is normalized
560 * to a range from 0 (smallest detectable size) to 1 (largest detectable size),
562 * To obtain calibrated size information, use
569 * @see MotionEvent.PointerCoords#size
623 * represents the size of the approaching finger or tool used to make contact.
625 * represents the size of the approaching finger or tool used to make contact.
632 * The tool size ma
1649 obtain(long downTime, long eventTime, int action, float x, float y, float pressure, float size, int metaState, float xPrecision, float yPrecision, int deviceId, int edgeFlags) argument
1709 obtain(long downTime, long eventTime, int action, int pointerCount, float x, float y, float pressure, float size, int metaState, float xPrecision, float yPrecision, int deviceId, int edgeFlags) argument
2908 addBatch(long eventTime, float x, float y, float pressure, float size, int metaState) argument
3394 createArray(int size) argument
3438 public float size; field in class:MotionEvent.PointerCoords
3687 createArray(int size) argument
[all...]
H A DThreadedRenderer.java321 // Actual size of the drawing surface.
777 final int count = attachInfo.mPendingAnimatingRenderNodes.size();
992 private static native int nSyncAndDrawFrame(long nativeProxy, long[] frameInfo, int size); argument
H A DView.java217 * <td>Called to determine the size requirements for this view and all
223 * <td>Called when this view should assign a size and position to all
229 * <td>Called when the size of this view has changed.
355 * The size of a view is expressed with a width and a height. A view actually
370 * dimensions define the actual size of the view on screen, at drawing time and
447 * <li>EXACTLY: This is used by the parent to impose an exact size on the
448 * child. The child must use this size, and guarantee that all of its
449 * descendants will fit within this size.
450 * <li>AT_MOST: This is used by the parent to impose a maximum size on the
452 * within this size
19869 resolveSize(int size, int measureSpec) argument
19889 resolveSizeAndState(int size, int measureSpec, int childMeasuredState) argument
19920 getDefaultSize(int size, int measureSpec) argument
22130 makeMeasureSpec(@ntRangefrom = 0, to = (1 << MeasureSpec.MODE_SHIFT) - 1) int size, @MeasureSpecMode int mode) argument
22145 makeSafeMeasureSpec(int size, int mode) argument
[all...]
H A DViewGroup.java1083 final int focusableCount = views.size();
1109 || (focusableCount == views.size())) &&
2963 final int transientCount = mTransientIndices == null ? 0 : mTransientIndices.size();
3114 final int childrenForAccessibilityCount = childrenForAccessibility.size();
3219 final int transientCount = mTransientViews == null ? 0 : mTransientIndices.size();
3526 final int transientCount = mTransientIndices == null ? 0 : mTransientIndices.size();
3570 final int disappearingCount = disappearingChildren.size() - 1;
3737 final int disappearingCount = disappearingChildren.size();
4072 * manually or, more typically, they should just use the size that they had before they
4101 final int oldSize = mTransientIndices.size();
7109 sizeToString(int size) argument
[all...]
H A DViewStructure.java173 * @param size The size, in pixels, of the text.
178 public abstract void setTextStyle(float size, int fgColor, int bgColor, int style); argument
H A DViewTreeObserver.java855 if (listeners != null && listeners.size() > 0) {
873 if (listeners != null && listeners.size() > 0) {
889 if (listeners != null && listeners.size() > 0) {
907 if (listeners != null && listeners.size() > 0) {
910 int count = access.size();
924 return mOnPreDrawListeners != null && mOnPreDrawListeners.size() > 0;
939 if (listeners != null && listeners.size() > 0) {
942 int count = access.size();
961 if (listeners != null && listeners.size() > 0) {
964 int count = access.size();
1105 int size() { method in class:ViewTreeObserver.CopyOnWriteArray.Access
1141 int size() { method in class:ViewTreeObserver.CopyOnWriteArray
[all...]
/frameworks/base/core/java/android/view/animation/
H A DAnimation.java988 * Convert the information in the description of a size to an actual
994 * @param size The size of the object being animated
995 * @param parentSize The size of the parent of the object being animated
998 protected float resolveSize(int type, float value, int size, int parentSize) { argument
1003 return size * value;
1083 * Utility class to parse a string description of a size.
1100 * <li>An absolute size. This is represented by a number.</li>
1101 * <li>A size relative to the size o
[all...]
H A DScaleAnimation.java166 * edge. (This point remains fixed while the object changes size.)
169 * edge. (This point remains fixed while the object changes size.)
201 * size.) This value can either be an absolute number if pivotXType
209 * size.) This value can either be an absolute number if pivotYType
260 float resolveScale(float scale, int type, int data, int size, int psize) { argument
263 targetSize = TypedValue.complexToFraction(data, size, psize);
270 if (size == 0) {
274 return targetSize/(float)size;
/frameworks/base/core/java/android/webkit/
H A DWebSettings.java49 * <li>TEXT_AUTOSIZING boosts font size of paragraphs based on heuristics to make
73 * Enum for specifying the text size.
90 TextSize(int size) { argument
91 value = size;
108 ZoomDensity(int size) { argument
109 value = size;
474 * Sets the text size of the page. The default is {@link TextSize#NORMAL}.
476 * @param t the text size as a {@link TextSize} value
484 * Gets the text size of the page. If the text size wa
765 setMinimumFontSize(int size) argument
781 setMinimumLogicalFontSize(int size) argument
797 setDefaultFontSize(int size) argument
813 setDefaultFixedFontSize(int size) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DAdapterViewAnimator.java137 * The width and height of some child, used as a size reference in-case our
349 int modulo(int pos, int size) { argument
350 if (size > 0) {
351 return (size + (pos % size)) % size;
462 for (int i = 0; i < mPreviousViews.size(); i++) {
581 // to decide our own size. TODO: Do we want to update the size of the child that we're
582 // using for reference size
[all...]
H A DGridLayout.java723 int size = minorRange.size();
725 return size;
728 return min(size, count - min);
747 final int majorSpan = majorRange.size();
840 if (span.size() > count) {
1153 int gravityOffsetX = hAlign.getGravityOffset(c, cellWidth - boundsX.size(true));
1154 int gravityOffsetY = vAlign.getGravityOffset(c, cellHeight - boundsY.size(true));
1251 result = max(result, span.size());
1308 int size
1374 include(List<Arc> arcs, Interval key, MutableInt size, boolean ignoreIfAlreadyPresent) argument
1398 include(List<Arc> arcs, Interval key, MutableInt size) argument
1827 private int size(int[] locations) { method in class:GridLayout.Axis
1865 layout(int size) argument
2379 protected int size(boolean min) { method in class:GridLayout.Bounds
2388 getOffset(GridLayout gl, View c, Alignment a, int size, boolean horizontal) argument
2392 include(GridLayout gl, View c, Spec spec, Axis axis, int size) argument
2447 int size() { method in class:GridLayout.Interval
2542 Spec(boolean startDefined, int start, int size, Alignment alignment, float weight) argument
2623 spec(int start, int size, Alignment alignment, float weight) argument
2647 spec(int start, int size, float weight) argument
2668 spec(int start, int size, Alignment alignment) argument
2703 spec(int start, int size) argument
[all...]
H A DQuickContactBadge.java133 public void setMode(int size) { argument
H A DRemoteViews.java366 int count = mActions.size();
374 count = newActions.size();
618 if (list == null || list.size() == 0) {
621 int count = list.size();
1074 return (mBitmaps.size() - 1);
1080 if (id == -1 || id >= mBitmaps.size()) {
1088 int count = mBitmaps.size();
1097 int count = bitmapsToBeAdded.size();
1107 for (int i = 0; i < mBitmaps.size(); i++) {
1767 * Helper action to set text size o
1770 TextViewSizeAction(int viewId, int units, float size) argument
1801 float size; field in class:RemoteViews.TextViewSizeAction
2459 setTextViewTextSize(int viewId, int units, float size) argument
[all...]
H A DSpace.java72 * If mode is AT_MOST, return the child size instead of the parent size
75 private static int getDefaultSize2(int size, int measureSpec) { argument
76 int result = size;
82 result = size;
85 result = Math.min(size, specSize);
H A DTableLayout.java48 * and stretchable. In such a situation, the column will change its size to
380 final int count = collapsedColumns.size();
564 int size = MeasureSpec.getSize(widthMeasureSpec) - mPaddingLeft - mPaddingRight;
566 if ((totalWidth > size) && (mShrinkAllColumns || mShrinkableColumns.size() > 0)) {
569 mutateColumnsWidth(mShrinkableColumns, mShrinkAllColumns, size, totalWidth);
570 } else if ((totalWidth < size) && (mStretchAllColumns || mStretchableColumns.size() > 0)) {
573 mutateColumnsWidth(mStretchableColumns, mStretchAllColumns, size, totalWidth);
578 boolean allColumns, int size, in
577 mutateColumnsWidth(SparseBooleanArray columns, boolean allColumns, int size, int totalWidth) argument
[all...]
H A DTextView.java2594 * Sets the size of the padding between the compound drawables and
2795 * Sets the text color, size, style, hint color, and highlight color
2939 * @return the size (in pixels) of the default text size in this TextView.
2947 * @return the size (in scaled pixels) of thee default text size in this TextView.
2968 * Set the default text size to the given value, interpreted as "scaled
2969 * pixel" units. This size is adjusted based on the current density and
2970 * user font size preference.
2972 * @param size Th
2977 setTextSize(float size) argument
2990 setTextSize(int unit, float size) argument
3003 setRawTextSize(float size) argument
3029 setTextScaleX(float size) argument
[all...]

Completed in 3331 milliseconds

<<11121314151617181920>>