OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:newHeight
(Results
1 - 25
of
112
) sorted by null
1
2
3
4
5
/development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/
OnSizeChangedListener.java
24
public void onSizeChanged(int
newHeight
);
ExpandableListItem.java
84
public void onSizeChanged(int
newHeight
) {
85
setExpandedHeight(
newHeight
);
ExpandingListView.java
217
int
newHeight
= newBottom - newTop;
219
int delta =
newHeight
- oldHeight;
409
int
newHeight
= newBottom - newTop;
411
int deltaHeight = oldHeight -
newHeight
;
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
EmbeddedContentContainer.java
39
protected void onSizeChanged(int newWidth, int
newHeight
, int oldWidth, int oldHeight) {
40
super.onSizeChanged(newWidth,
newHeight
, oldWidth, oldHeight);
42
mSizeChangeListener.onSizeChanged(newWidth,
newHeight
);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
ImageFilterDownsample.java
69
int
newHeight
= orig_h * p / 100;
72
if (newWidth <= 0 ||
newHeight
<= 0 || newWidth >= w ||
newHeight
>= h) {
75
Bitmap ret = Bitmap.createScaledBitmap(bitmap, newWidth,
newHeight
, true);
/frameworks/base/tests/ImfTest/tests/src/com/android/imftest/samples/
ImfBaseTestCase.java
125
int
newHeight
;
133
newHeight
= rootView.getHeight();
135
while (Math.abs(
newHeight
- origHeight) < IME_MIN_HEIGHT && SystemClock.uptimeMillis() < timeoutTime) {
136
newHeight
= rootView.getHeight();
139
return (Math.abs(origHeight -
newHeight
) >= IME_MIN_HEIGHT);
/cts/apps/CtsVerifier/include/colorchecker/
testingimage.h
36
int
newHeight
, int newWidth);
/packages/services/Telecomm/src/com/android/server/telecom/
ContactsAsyncHelper.java
170
int
newHeight
= (int) (orgHeight / ratio);
173
if (newWidth <= 0 ||
newHeight
<= 0) {
180
return Bitmap.createScaledBitmap(orgBitmap, newWidth,
newHeight
, true);
/external/clang/www/analyzer/scripts/
expandcollapse.js
143
var
newHeight
;
149
newHeight
= CLIP_HEIGHT;
154
newHeight
= cellInfo.height;
163
expandableDiv.style.height =
newHeight
+ "px";
168
if (state.height >
newHeight
) {
170
data.style.height = (
newHeight
- EXPANDER_HEIGHT) + "px";
188
window.scrollBy(0,
newHeight
- cellInfo.height);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
HardwareUiLayout.java
135
int
newHeight
= mChild.getMeasuredHeight();
136
if (
newHeight
!= mOldHeight) {
137
animateChild(mOldHeight,
newHeight
);
325
private void animateChild(int oldHeight, int
newHeight
) {
340
int toTop = fromTop - ((
newHeight
- oldHeight) / 2);
341
int toBottom = fromBottom + ((
newHeight
- oldHeight) / 2);
/frameworks/base/core/java/android/app/
WallpaperColors.java
405
int
newHeight
= (int) (height * scale);
411
if (
newHeight
== 0) {
412
newHeight
= 1;
415
return new Size(newWidth,
newHeight
);
/frameworks/base/core/java/com/android/internal/widget/
MessagingLinearLayout.java
136
int
newHeight
= Math.max(totalHeight, totalHeight + childHeight + lp.topMargin +
145
if (
newHeight
<= targetHeight && !measuredTooSmall) {
146
totalHeight =
newHeight
;
/packages/apps/Dialer/java/com/android/incallui/
ContactsAsyncHelper.java
253
int
newHeight
= (int) (orgHeight / ratio);
256
if (newWidth <= 0 ||
newHeight
<= 0) {
263
return Bitmap.createScaledBitmap(orgBitmap, newWidth,
newHeight
, true);
/packages/apps/Launcher3/src/com/android/launcher3/notification/
NotificationFooterLayout.java
203
final int
newHeight
= getResources().getDimensionPixelSize(
205
Animator collapseFooter = popup.reduceNotificationViewHeight(getHeight() -
newHeight
,
213
getLayoutParams().height =
newHeight
;
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
PhotoProcessor.java
226
final int
newHeight
= (int) (cropHeight * scaleFactor);
227
if (newWidth <= 0 ||
newHeight
<= 0) {
230
final Bitmap scaledBitmap = Bitmap.createBitmap(newWidth,
newHeight
,
/frameworks/base/core/java/android/content/res/
CompatibilityInfo.java
508
int newWidth,
newHeight
;
511
newHeight
= newLongSize;
514
newHeight
= newShortSize;
518
float sh = height/(float)
newHeight
;
526
outDm.heightPixels =
newHeight
;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
UserGridView.java
135
private void animateHeightChange(int oldHeight, int
newHeight
) {
138
if (oldHeight ==
newHeight
||
newHeight
== mTargetHeight) {
147
mTargetHeight =
newHeight
;
177
if (oldHeight <
newHeight
) {
/packages/apps/Launcher2/src/com/android/launcher2/
PagedViewCellLayout.java
200
int
newHeight
= heightSpecSize;
204
newHeight
= getPaddingTop() + getPaddingBottom() + (mCellCountY * mCellHeight) +
206
setMeasuredDimension(newWidth,
newHeight
);
216
MeasureSpec.makeMeasureSpec(
newHeight
- getPaddingTop() -
221
setMeasuredDimension(newWidth,
newHeight
);
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
ShortcutsItemView.java
186
final int
newHeight
= getResources().getDimensionPixelSize(R.dimen.bg_popup_item_height);
187
mHiddenShortcutsHeight = (
newHeight
- oldHeight) * mShortcutsLayout.getChildCount();
231
final int
newHeight
= getResources().getDimensionPixelSize(R.dimen.bg_popup_item_height);
234
view.getLayoutParams().height =
newHeight
;
266
int heightDiff =
newHeight
- oldHeight;
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
TransformationUtils.java
269
final int
newHeight
= Math.round(newRect.height());
271
Bitmap result = pool.get(newWidth,
newHeight
, toOrient.getConfig());
273
result = Bitmap.createBitmap(newWidth,
newHeight
, toOrient.getConfig());
/external/skia/include/core/
SkImageInfo.h
253
SkImageInfo makeWH(int newWidth, int
newHeight
) const {
254
return Make(newWidth,
newHeight
, fColorType, fAlphaType, fColorSpace);
/frameworks/native/libs/gui/
GLConsumer.cpp
952
uint32_t
newHeight
= static_cast<uint32_t>(mCurrentCrop.height());
954
if (newWidth * mDefaultHeight >
newHeight
* mDefaultWidth) {
955
newWidth =
newHeight
* mDefaultWidth / mDefaultHeight;
957
} else if (newWidth * mDefaultHeight <
newHeight
* mDefaultWidth) {
958
newHeight
= newWidth * mDefaultHeight / mDefaultWidth
[
all
...]
/packages/apps/Dialer/java/com/android/dialer/animation/
AnimUtils.java
217
* @param
newHeight
The new height of the view.
219
public static void changeDimensions(final View view, final int newWidth, final int
newHeight
) {
225
final int deltaHeight =
newHeight
- oldHeight;
/packages/apps/PhoneCommon/src/com/android/phone/common/animation/
AnimUtils.java
197
* @param
newHeight
The new height of the view.
199
public static void changeDimensions(final View view, final int newWidth, final int
newHeight
) {
205
final int deltaHeight =
newHeight
- oldHeight;
/external/deqp/framework/egl/
egluGLContextFactory.cpp
526
int
newHeight
= 0;
529
egl.querySurface(m_eglDisplay, m_eglSurface, EGL_HEIGHT, &
newHeight
);
533
newHeight
!= m_glRenderTarget.getHeight())
536
m_glRenderTarget.getWidth(), m_glRenderTarget.getHeight(), newWidth,
newHeight
);
538
m_glRenderTarget = tcu::RenderTarget(newWidth,
newHeight
,
Completed in 1245 milliseconds
1
2
3
4
5