/frameworks/support/design/src/android/support/design/internal/ |
H A D | ForegroundLinearLayout.java | 111 Rect padding = new Rect(); 112 mForeground.getPadding(padding); 143 * views in the frame layout. Any padding in the Drawable will be taken 145 * inside of the padding area. 166 Rect padding = new Rect(); 167 drawable.getPadding(padding);
|
/frameworks/av/media/libstagefright/codecs/aacenc/inc/ |
H A D | qc_data.h | 75 PADDING padding; member in struct:QC_INIT 133 PADDING padding; member in struct:__anon486
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | GuidedActionEditText.java | 34 * Workaround for b/26990627 forcing recompute the padding for the View when we turn on/off 39 public boolean getPadding(Rect padding) { argument 40 padding.set(0, 0, 0, 0);
|
H A D | ActionPresenterSelector.java | 102 final int padding = vh.view.getResources() 104 vh.view.setPaddingRelative(padding, 0, padding, 0);
|
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/ |
H A D | MainActivity.java | 146 Rect padding = new Rect(); 147 padding.left = loadIntText(mPaddingLeftView); 148 padding.top = loadIntText(mPaddingTopView); 149 padding.right = loadIntText(mPaddingRightView); 150 padding.bottom = loadIntText(mPaddingBottomView); 151 mWallpaperManager.setDisplayPadding(padding);
|
/frameworks/base/core/java/android/service/wallpaper/ |
H A D | WallpaperService.java | 706 final Rect padding = mIWallpaperEngine.mDisplayPadding; 707 w += padding.left + padding.right + mOutsets.left + mOutsets.right; 708 h += padding.top + padding.bottom + mOutsets.top + mOutsets.bottom; 709 mOverscanInsets.left += padding.left; 710 mOverscanInsets.top += padding.top; 711 mOverscanInsets.right += padding.right; 712 mOverscanInsets.bottom += padding.bottom; 713 mContentInsets.left += padding 908 doDisplayPaddingChanged(Rect padding) argument 1105 IWallpaperEngineWrapper(WallpaperService context, IWallpaperConnection conn, IBinder windowToken, int windowType, boolean isPreview, int reqWidth, int reqHeight, Rect padding) argument 1126 setDisplayPadding(Rect padding) argument 1257 attach(IWallpaperConnection conn, IBinder windowToken, int windowType, boolean isPreview, int reqWidth, int reqHeight, Rect padding) argument [all...] |
/frameworks/base/tools/aapt2/compile/ |
H A D | NinePatch.cpp | 58 * (no padding, stretching, or optical bounds). 64 * or one denoting padding, stretching, or optical bounds. 77 // The primary color is black and is used to denote a padding or stretching 219 static bool PopulateBounds(const std::vector<Range>& padding, argument 226 if (padding.size() > 1) { 228 err_stream << "too many padding sections on " << edge_name << " border"; 235 if (!padding.empty()) { 236 const Range& range = padding.front(); 240 // No padding was defined. Compute the padding fro [all...] |
/frameworks/support/design/lollipop/android/support/design/widget/ |
H A D | FloatingActionButtonLollipop.java | 164 void onPaddingUpdated(Rect padding) { argument 167 padding.left, padding.top, padding.right, padding.bottom);
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | LinearLayoutManagerWrapContentTest.java | 121 for (Rect padding : paddings) { 128 new WrapContentConfig(false, false, new Rect(padding)) 135 VERTICAL == orientation, new Rect(padding))
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | LayerDrawable.java | 73 * Padding mode used to nest each layer inside the padding of the previous 456 * @param left The left padding of the new layer. 457 * @param top The top padding of the new layer. 458 * @param right The right padding of the new layer. 459 * @param bottom The bottom padding of the new layer. 722 * {@link #setLayerInset(int, int, int, int, int)}) or padding (see 926 * Specifies how layer padding should affect the bounds of subsequent 929 * @param mode padding mode, one of: 932 * padding of the previous layer 947 * @return the current padding mod 1022 getPadding(Rect padding) argument 1226 computeNestedPadding(Rect padding) argument 1245 computeStackedPadding(Rect padding) argument [all...] |
H A D | InsetDrawable.java | 231 public boolean getPadding(Rect padding) { argument 232 final boolean pad = super.getPadding(padding); 234 padding.left += mTmpInsetRect.left; 235 padding.right += mTmpInsetRect.right; 236 padding.top += mTmpInsetRect.top; 237 padding.bottom += mTmpInsetRect.bottom;
|
H A D | ShapeDrawable.java | 140 * Sets padding for the shape. 142 * @param left padding for the left side (in pixels) 143 * @param top padding for the top (in pixels) 144 * @param right padding for the right side (in pixels) 145 * @param bottom padding for the bottom (in pixels) 160 * Sets padding for this shape, defined by a Rect object. Define the padding 163 public void setPadding(Rect padding) { argument 164 if (padding == null) { 170 mShapeState.mPadding.set(padding); 206 getPadding(Rect padding) argument [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | WatchListDecorLayout.java | 49 /** Track the amount the ListView has to scroll up to account for padding change difference. */ 190 // Account for padding too 248 Rect padding = new Rect(); 249 if (foreground.getPadding(padding)) { 250 mForegroundPaddingLeft = padding.left; 251 mForegroundPaddingTop = padding.top; 252 mForegroundPaddingRight = padding.right; 253 mForegroundPaddingBottom = padding.bottom;
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ListViewCompat.java | 88 final Rect padding = new Rect(); 90 sel.getPadding(padding); 93 mSelectionLeftPadding = padding.left; 94 mSelectionTopPadding = padding.top; 95 mSelectionRightPadding = padding.right; 96 mSelectionBottomPadding = padding.bottom; 225 // Adjust for selection padding. 248 * with this ListView's padding and divider heights included. If maxHeight is provided, the 289 // Include the padding of the list
|
/frameworks/base/core/java/android/app/ |
H A D | IWallpaperManager.aidl | 104 * Sets extra padding that we would like the wallpaper to have outside of the display. 106 void setDisplayPadding(in Rect padding, in String callingPackage);
|
/frameworks/base/core/java/android/text/method/ |
H A D | ScrollingMovementMethod.java | 103 int padding = widget.getTotalPaddingTop() + 109 (widget.getHeight() - padding));
|
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/ |
H A D | ViewBindingObject.java | 29 private int mNextFocusForward = R.id.padding; 162 mNextFocusDown = R.id.padding;
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_dec_defs.h | 126 int32 padding; member in struct:__anon591
|
H A D | pvmp3_decode_header.cpp | 178 info->padding = (temp << 22) >> 31; /* 1 */
|
/frameworks/av/media/libstagefright/codecs/mp3dec/test/ |
H A D | mp3reader.cpp | 99 unsigned padding = (header >> 9) & 1; local 123 *frame_size = (12000 * bitrate / sampling_rate + padding) * 4; 169 *frame_size = 144000 * bitrate / sampling_rate + padding; 173 *frame_size = tmp * bitrate / sampling_rate + padding;
|
/frameworks/base/libs/androidfw/ |
H A D | BackupData.cpp | 74 uint32_t padding = 0xbcbcbcbc; local 75 if (kIsDebug) ALOGI("writing %zd padding bytes for %d", paddingSize, n); 76 amt = write(m_fd, &padding, paddingSize); 157 // We don't write padding here, because they're allowed to call this several 372 uint32_t padding; local 373 amt = read(m_fd, &padding, paddingSize);
|
/frameworks/base/core/java/android/widget/ |
H A D | CompoundButton.java | 388 int padding = super.getCompoundPaddingLeft(); 392 padding += buttonDrawable.getIntrinsicWidth(); 395 return padding; 400 int padding = super.getCompoundPaddingRight(); 404 padding += buttonDrawable.getIntrinsicWidth(); 407 return padding;
|
H A D | FrameLayout.java | 48 * The size of the FrameLayout is the size of its largest child (plus padding), visible 63 @ViewDebug.ExportedProperty(category = "padding") 66 @ViewDebug.ExportedProperty(category = "padding") 69 @ViewDebug.ExportedProperty(category = "padding") 72 @ViewDebug.ExportedProperty(category = "padding") 121 Rect padding = new Rect(); 122 if (foreground.getPadding(padding)) { 123 mForegroundPaddingLeft = padding.left; 124 mForegroundPaddingTop = padding.top; 125 mForegroundPaddingRight = padding [all...] |
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/ |
H A D | DeviceDiscoveryService.java | 336 final int padding = DeviceChooserActivity.getPadding(getResources()); 337 textView.setPadding(padding, padding, padding, padding); 338 textView.setCompoundDrawablePadding(padding);
|
/frameworks/base/tools/aapt2/proto/ |
H A D | TableProtoSerializer.cpp | 306 const int padding = out_.ByteCount() % 4; local 307 if (padding > 0) { 309 out_.WriteRaw(&zero, padding); 345 const int padding = in_.CurrentPosition() % 4; local 346 if (padding > 0) { 348 in_.Skip(padding);
|