/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);
|
/external/skia/gm/ |
etc1bitmap.cpp | 47 int newHeight = (blockHeight - 1) << 2; 49 size_t newDataSz = etc1_get_encoded_data_size(newWidth, newHeight) + ETC_PKM_HEADER_SIZE; 54 etc1_pkm_format_header(newData, newWidth, newHeight); 67 *height = newHeight;
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/presentation/ |
ButtonPropertyEditorPresentationImpl.java | 167 private static void setBounds(Control control, int newX, int newY, int newWidth, int newHeight) { 171 if (newY + newHeight < 0) { 190 control.setData("oldHeight", newHeight); 195 if (oldWidth == newWidth && oldHeight == newHeight) { 201 control.setBounds(newX, newY, newWidth, newHeight);
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
ContactsAsyncHelper.java | 169 int newHeight = (int) (orgHeight / ratio); 172 if (newWidth <= 0 || newHeight <= 0) { 179 return Bitmap.createScaledBitmap(orgBitmap, newWidth, newHeight, true);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
StackScrollAlgorithm.java | 153 float newHeight = state.height; 154 float newNotificationEnd = newYTranslation + newHeight; 473 float newHeight = bottomStackStart - childViewState.yTranslation; 474 if (newHeight < minHeight) { 475 newHeight = minHeight; 478 childViewState.height = (int) newHeight; 502 int newHeight = childHeight; 504 newHeight = (int) Math.max(Math.min(transitioningPositionStart + offset - 507 childViewState.height = newHeight; 509 childViewState.yTranslation = transitioningPositionStart + offset - newHeight [all...] |
StackScrollState.java | 140 int newHeight = state.height; 143 if (height != newHeight) { 144 view.setActualHeight(newHeight, false /* notifyListeners */);
|
/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);
|
/development/ndk/platforms/android-17/samples/Teapot/src/com/sample/helper/ |
NDKHelper.java | 57 private Bitmap scaleBitmap(Bitmap bitmapToScale, float newWidth, float newHeight) 68 matrix.postScale(newWidth / width, newHeight / height);
|
/development/ndk/platforms/android-18/samples/MoreTeapots/src/com/sample/helper/ |
NDKHelper.java | 57 private Bitmap scaleBitmap(Bitmap bitmapToScale, float newWidth, float newHeight) 68 matrix.postScale(newWidth / width, newHeight / height);
|
/external/mesa3d/src/mesa/main/ |
framebuffer.c | 347 GLuint newWidth, newHeight; 353 ctx->Driver.GetBufferSize( buffer, &newWidth, &newHeight ); 356 if (buffer->Width != newWidth || buffer->Height != newHeight) { 358 ctx->Driver.ResizeBuffers(ctx, buffer, newWidth, newHeight ); 364 GLuint newWidth, newHeight; 370 ctx->Driver.GetBufferSize( buffer, &newWidth, &newHeight ); 373 if (buffer->Width != newWidth || buffer->Height != newHeight) { 375 ctx->Driver.ResizeBuffers(ctx, buffer, newWidth, newHeight );
|
/frameworks/base/core/java/com/android/internal/widget/ |
MessagingLinearLayout.java | 135 int newHeight = Math.max(totalHeight, totalHeight + childHeight + lp.topMargin + 139 if (newHeight <= targetHeight) { 140 totalHeight = newHeight;
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
ContactsAsyncHelper.java | 184 int newHeight = (int) (orgHeight / ratio); 187 if (newWidth <= 0 || newHeight <= 0) { 194 return Bitmap.createScaledBitmap(orgBitmap, newWidth, newHeight, true);
|
/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 | 494 int newWidth, newHeight; 497 newHeight = newLongSize; 500 newHeight = newShortSize; 504 float sh = height/(float)newHeight; 512 outDm.heightPixels = 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);
|
/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/opencv3/modules/videoio/src/ |
cap_giganetix.cpp | 449 UINT32 newWidth, newHeight; 452 imageInfo->GetSize(newWidth, newHeight); 475 m_raw_image = cvCreateImageHeader (cvSize((int)newWidth, (int)newHeight),IPL_DEPTH_8U,1); 492 m_raw_image = cvCreateImageHeader (cvSize((int)newWidth, (int)newHeight), IPL_DEPTH_32F, 3);
|
/frameworks/native/services/surfaceflinger/ |
DisplayDevice.cpp | 480 void DisplayDevice::setDisplaySize(const int newWidth, const int newHeight) { 488 mDisplaySurface->resizeBuffers(newWidth, newHeight); 497 LOG_FATAL_IF(mDisplayHeight != newHeight, 498 "Unable to set new height to %d", newHeight);
|
/external/skia/include/core/ |
SkImageInfo.h | 243 SkImageInfo makeWH(int newWidth, int newHeight) const { 244 return SkImageInfo::Make(newWidth, newHeight, fColorType, fAlphaType, fProfileType);
|