/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | NinePatchDrawable.java | 93 public NinePatchDrawable(Bitmap bitmap, byte[] chunk, Rect padding, String srcName) { argument 94 this(new NinePatchState(new NinePatch(bitmap, chunk, srcName), padding), null); 102 Rect padding, String srcName) { 103 this(new NinePatchState(new NinePatch(bitmap, chunk, srcName), padding), res); 114 Rect padding, Rect opticalInsets, String srcName) { 115 this(new NinePatchState(new NinePatch(bitmap, chunk, srcName), padding, opticalInsets), 273 public boolean getPadding(Rect padding) { argument 277 padding.set(scaledPadding.right, scaledPadding.top, 280 padding.set(scaledPadding); 282 return (padding 101 NinePatchDrawable(Resources res, Bitmap bitmap, byte[] chunk, Rect padding, String srcName) argument 113 NinePatchDrawable(Resources res, Bitmap bitmap, byte[] chunk, Rect padding, Rect opticalInsets, String srcName) argument 611 NinePatchState(@onNull NinePatch ninePatch, @Nullable Rect padding) argument 615 NinePatchState(@onNull NinePatch ninePatch, @Nullable Rect padding, @Nullable Rect opticalInsets) argument 620 NinePatchState(@onNull NinePatch ninePatch, @Nullable Rect padding, @Nullable Rect opticalInsets, boolean dither, boolean autoMirror) argument [all...] |
H A D | RotateDrawable.java | 345 public boolean getPadding(Rect padding) { argument 346 return mState.mDrawable.getPadding(padding);
|
H A D | ShapeDrawable.java | 134 * Sets padding for the shape. 136 * @param left padding for the left side (in pixels) 137 * @param top padding for the top (in pixels) 138 * @param right padding for the right side (in pixels) 139 * @param bottom padding for the bottom (in pixels) 154 * Sets padding for this shape, defined by a Rect object. Define the padding 157 public void setPadding(Rect padding) { argument 158 if (padding == null) { 164 mShapeState.mPadding.set(padding); 200 getPadding(Rect padding) argument [all...] |
H A D | Drawable.java | 77 * widget would need to return padding that correctly places the label 839 * possible.) This value should INCLUDE any padding. 853 * possible.) This value should INCLUDE any padding. 864 * Return in padding the insets suggested by this Drawable for placing 868 * @return true if this drawable actually has a padding, else false. When false is returned, 869 * the padding is always set to 0. 871 public boolean getPadding(@NonNull Rect padding) { argument 872 padding.set(0, 0, 0, 0);
|
H A D | LayerDrawable.java | 62 * Padding mode used to nest each layer inside the padding of the previous 327 * @param left The left padding of the new layer. 328 * @param top The top padding of the new layer. 329 * @param right The right padding of the new layer. 330 * @param bottom The bottom padding of the new layer. 467 * Specifies how layer padding should affect the bounds of subsequent 470 * @param mode padding mode, one of: 473 * padding of the previous layer 488 * @return the current padding mode 529 public boolean getPadding(Rect padding) { argument 539 computeNestedPadding(Rect padding) argument 558 computeStackedPadding(Rect padding) argument [all...] |
H A D | DrawableContainer.java | 99 public boolean getPadding(Rect padding) { argument 103 padding.set(r); 107 result = mCurrDrawable.getPadding(padding); 109 result = super.getPadding(padding); 113 final int left = padding.left; 114 final int right = padding.right; 115 padding.left = right; 116 padding.right = left; 903 * A boolean value indicating whether to use the maximum padding value 904 * of all frames in the set (false), or to use the padding valu [all...] |
H A D | GradientDrawable.java | 189 public boolean getPadding(Rect padding) { argument 191 padding.set(mPadding); 194 return super.getPadding(padding); 1190 } else if (name.equals("padding")) {
|
/frameworks/base/tools/aapt/ |
H A D | ZipFile.cpp | 533 * Add an entry by copying it from another zip file. If "padding" is 540 int padding, ZipEntry** ppEntry) 567 if (padding != 0) { 568 result = pEntry->addPadding(padding); 539 add(const ZipFile* pSourceZip, const ZipEntry* pSourceEntry, int padding, ZipEntry** ppEntry) argument
|
/frameworks/av/media/libstagefright/ |
H A D | OggExtractor.cpp | 887 size_t padding = 0; local 889 padding = 1; 892 padding = 2; 896 size_t outLen = 3 * size / 4 - padding; 921 if (i < n - padding) {
|
H A D | OMXCodec.cpp | 1733 int32_t padding = 0; local 1734 if (!meta->findInt32(kKeyEncoderPadding, &padding)) { 1735 padding = 0; 1738 if (delay + padding) { 1747 mSkipCutBuffer = new SkipCutBuffer(delay * frameSize, padding * frameSize);
|
H A D | MPEG4Extractor.cpp | 1015 // padding negative. Clamp to zero. 2340 int32_t delay, padding; local 2342 " %*x %x %x %*x", &delay, &padding) == 2) { 2344 mLastTrack->meta->setInt32(kKeyEncoderPadding, padding);
|
/frameworks/av/media/libstagefright/httplive/ |
H A D | PlaylistFetcher.cpp | 301 uint8_t padding = 0; local 303 padding = buffer->data()[buffer->size() - 1]; 306 if (padding > 16) { 310 for (size_t i = buffer->size() - padding; i < padding; i++) { 311 if (buffer->data()[i] != padding) { 316 buffer->setRange(buffer->offset(), buffer->size() - padding); 1033 ALOGE("Incorrect padding bytes after decryption.");
|
/frameworks/base/core/java/android/app/ |
H A D | WallpaperManager.java | 955 * Specify extra padding that the wallpaper should have outside of the display. 956 * That is, the given padding supplies additional pixels the wallpaper should extend 958 * @param padding The number of pixels the wallpaper should extend beyond the display, 963 public void setDisplayPadding(Rect padding) { argument 968 sGlobals.mService.setDisplayPadding(padding);
|
/frameworks/base/core/java/android/widget/ |
H A D | LinearLayout.java | 299 * Set padding displayed on both ends of dividers. 301 * @param padding Padding value in pixels that will be applied to each end 307 public void setDividerPadding(int padding) { argument 308 mDividerPadding = padding; 312 * Get the padding size used to inset dividers in pixels 819 // Add in our padding 902 // Add in our padding 1201 // Add in our padding 1309 // Add in our padding 1504 // mTotalLength contains the padding alread [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | BitmapFactory.cpp | 211 static jobject doDecode(JNIEnv* env, SkStreamRewindable* stream, jobject padding, jobject options) { argument 420 if (padding) { 422 GraphicsJNI::set_jrect(env, padding, 426 GraphicsJNI::set_jrect(env, padding, -1, -1, -1, -1); 468 jobject padding, jobject options) { 477 bitmap = doDecode(env, bufferedStream, padding, options); 483 jobject padding, jobject bitmapFactoryOptions) { 523 return doDecode(env, stream, padding, bitmapFactoryOptions); 527 jobject padding, jobject options) { 534 return doDecode(env, stream, padding, option 467 nativeDecodeStream(JNIEnv* env, jobject clazz, jobject is, jbyteArray storage, jobject padding, jobject options) argument 482 nativeDecodeFileDescriptor(JNIEnv* env, jobject clazz, jobject fileDescriptor, jobject padding, jobject bitmapFactoryOptions) argument 526 nativeDecodeAsset(JNIEnv* env, jobject clazz, jlong native_asset, jobject padding, jobject options) argument [all...] |
/frameworks/base/libs/androidfw/ |
H A D | BackupHelpers.cpp | 193 int padding = 0xabababab; local 194 amt = write(fd, &padding, paddingLen); 196 ALOGW("write_snapshot_file error writing %d bytes of filename padding %s",
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
H A D | WallpaperManagerService.java | 219 final Rect padding = new Rect(0, 0, 0, 0); field in class:WallpaperManagerService.WallpaperData 305 mEngine.setDisplayPadding(mWallpaper.padding); 307 Slog.w(TAG, "Failed to set wallpaper padding", e); 747 public void setDisplayPadding(Rect padding) { argument 755 if (padding.left < 0 || padding.top < 0 || padding.right < 0 || padding.bottom < 0) { 756 throw new IllegalArgumentException("padding must be positive: " + padding); [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | PlaybackOverlayFragment.java | 575 private static void setBottomPadding(View view, int padding) { argument 577 view.getPaddingRight(), padding);
|
H A D | PlaybackOverlaySupportFragment.java | 577 private static void setBottomPadding(View view, int padding) { argument 579 view.getPaddingRight(), padding);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | LinearLayoutCompat.java | 245 * Set padding displayed on both ends of dividers. 247 * @param padding Padding value in pixels that will be applied to each end 253 public void setDividerPadding(int padding) { argument 254 mDividerPadding = padding; 258 * Get the padding size used to inset dividers in pixels 754 // Add in our padding 838 // Add in our padding 1138 // Add in our padding 1246 // Add in our padding 1441 // mTotalLength contains the padding alread [all...] |
/frameworks/base/core/java/android/service/wallpaper/ |
H A D | WallpaperService.java | 698 final Rect padding = mIWallpaperEngine.mDisplayPadding; 699 w += padding.left + padding.right; 700 h += padding.top + padding.bottom; 701 mOverscanInsets.left += padding.left; 702 mOverscanInsets.top += padding.top; 703 mOverscanInsets.right += padding.right; 704 mOverscanInsets.bottom += padding.bottom; 705 mContentInsets.left += padding 891 doDisplayPaddingChanged(Rect padding) argument 1088 IWallpaperEngineWrapper(WallpaperService context, IWallpaperConnection conn, IBinder windowToken, int windowType, boolean isPreview, int reqWidth, int reqHeight, Rect padding) argument 1109 setDisplayPadding(Rect padding) argument 1239 attach(IWallpaperConnection conn, IBinder windowToken, int windowType, boolean isPreview, int reqWidth, int reqHeight, Rect padding) argument [all...] |
/frameworks/compile/mclinker/lib/Target/ |
H A D | GNULDBackend.cpp | 2279 // To do so will add more padding in file, but can save one page 2302 // any padding between). If .got is the last section in PT_RELRO and 2304 // add padding in front of .got instead. 2339 uint64_t padding = abiPageSize() + local 2342 offset += padding;
|
/frameworks/base/core/java/android/view/ |
H A D | ViewGroup.java | 229 // When set, ViewGroup excludes the padding area from the invalidate rectangle 245 // If set, this ViewGroup has padding; if unset there is no padding and we don't need 423 * We clip to padding when FLAG_CLIP_TO_PADDING and FLAG_PADDING_NOT_NULL 3444 * Sets whether this ViewGroup will clip its children to its padding, if 3445 * padding is present. 3447 * By default, children are clipped to the padding of their parent 3448 * Viewgroup. This clipping behavior is only enabled if padding is non-zero. 3450 * @param clipToPadding true to clip children to the padding of the 3462 * Returns whether this ViewGroup will clip its children to its padding, i 5557 getChildMeasureSpec(int spec, int padding, int childDimension) argument [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | RecyclerView.java | 883 * will be nested; a padding added by an earlier decoration will mean further 914 * will be nested; a padding added by an earlier decoration will mean further 2446 // TODO If padding is not 0 and chilChildrenToPadding is false, to draw glows properly, we 2451 final int padding = mClipToPadding ? getPaddingBottom() : 0; 2453 c.translate(-getHeight() + padding, 0); 2468 final int padding = mClipToPadding ? getPaddingTop() : 0; 2470 c.translate(-padding, -width); 4900 * Check if the RecyclerView is configured to clip child views to its padding. 4902 * @return true if this RecyclerView clips children to its padding, false otherwise 5570 * Return the left padding o 5871 getChildMeasureSpec(int parentSize, int padding, int childDimension, boolean canScroll) argument [all...] |