HomeSort by relevance Sort by last modified time
    Searched full:desiredsize (Results 1 - 20 of 20) sorted by null

  /cts/tests/tests/widget/src/android/widget/cts/
VideoViewTest.java 245 final int desiredSize = 100;
246 int resolvedSize = mVideoView.resolveAdjustedSize(desiredSize, MeasureSpec.UNSPECIFIED);
247 assertEquals(desiredSize, resolvedSize);
250 resolvedSize = mVideoView.resolveAdjustedSize(desiredSize, MeasureSpec.AT_MOST);
251 assertEquals(Math.min(desiredSize, specSize), resolvedSize);
253 resolvedSize = mVideoView.resolveAdjustedSize(desiredSize, MeasureSpec.EXACTLY);
  /external/chromium_org/third_party/WebKit/Source/web/
WebImageSkia.cpp 50 WebImage WebImage::fromData(const WebData& data, const WebSize& desiredSize)
62 // Pick the frame closest to |desiredSize|'s area without being smaller,
69 if (WebSize(frameSize) == desiredSize) {
75 if (frameArea < (desiredSize.width * desiredSize.height))
  /external/chromium_org/ash/system/tray/
tray_item_view.cc 79 gfx::Size TrayItemView::DesiredSize() {
88 gfx::Size size = DesiredSize();
tray_item_view.h 60 virtual gfx::Size DesiredSize();
  /external/chromium_org/third_party/WebKit/public/platform/
WebImage.h 68 // then the frame whose size is desiredSize is returned. Otherwise,
70 WEBKIT_EXPORT static WebImage fromData(const WebData&, const WebSize& desiredSize);
  /dalvik/dexgen/src/com/android/dexgen/util/
ByteArrayAnnotatedOutput.java 541 * @param desiredSize {@code >= 0;} the desired minimum total size of the array
543 private void ensureCapacity(int desiredSize) {
544 if (data.length < desiredSize) {
545 byte[] newData = new byte[desiredSize * 2 + 1000];
  /dalvik/dx/src/com/android/dx/util/
ByteArrayAnnotatedOutput.java 537 * @param desiredSize {@code >= 0;} the desired minimum total size of the array
539 private void ensureCapacity(int desiredSize) {
540 if (data.length < desiredSize) {
541 byte[] newData = new byte[desiredSize * 2 + 1000];
  /external/dexmaker/src/dx/java/com/android/dx/util/
ByteArrayAnnotatedOutput.java 534 * @param desiredSize {@code >= 0;} the desired minimum total size of the array
536 private void ensureCapacity(int desiredSize) {
537 if (data.length < desiredSize) {
538 byte[] newData = new byte[desiredSize * 2 + 1000];
  /external/smali/dexlib/src/main/java/org/jf/dexlib/Util/
ByteArrayAnnotatedOutput.java 573 * @param desiredSize &gt;= 0; the desired minimum total size of the array
575 private void ensureCapacity(int desiredSize) {
576 if (data.length < desiredSize) {
577 byte[] newData = new byte[desiredSize * 2 + 1000];
ByteArrayOutput.java 480 * @param desiredSize &gt;= 0; the desired minimum total size of the array
482 private void ensureCapacity(int desiredSize) {
483 if (data.length < desiredSize) {
484 byte[] newData = new byte[desiredSize * 2 + 1000];
  /external/chromium/chrome/browser/ui/cocoa/
profile_menu_button.mm 140 NSSize desiredSize = [textFieldCell_ cellSize];
143 textRect.size.height = std::min(desiredSize.height, NSHeight(bounds));
  /frameworks/base/core/java/android/widget/
ImageView.java 878 private int resolveAdjustedSize(int desiredSize, int maxSize,
880 int result = desiredSize;
888 result = Math.min(desiredSize, maxSize);
894 result = Math.min(Math.min(desiredSize, specSize), maxSize);
    [all...]
VideoView.java 211 public int resolveAdjustedSize(int desiredSize, int measureSpec) {
212 return getDefaultSize(desiredSize, measureSpec);
    [all...]
  /external/smack/src/org/jivesoftware/smack/util/
Cache.java 416 int desiredSize = (int) (maxCacheSize * .90);
417 for (int i=map.size(); i>desiredSize; i--) {
  /external/chromium_org/chrome/browser/ui/cocoa/bookmarks/
bookmark_bar_controller_unittest.mm 97 - (id)initTextCell:(NSString*)string desiredSize:(NSSize)size {
838 desiredSize:NSMakeSize(widths[i], 30)];
    [all...]
bookmark_bar_controller.mm     [all...]
  /external/chromium/chrome/browser/ui/cocoa/bookmarks/
bookmark_bar_controller.mm     [all...]
bookmark_bar_controller_unittest.mm 78 - (id)initTextCell:(NSString*)string desiredSize:(NSSize)size {
875 desiredSize:NSMakeSize(widths[i], 30)];
    [all...]
  /external/chromium/chrome/browser/ui/cocoa/tabs/
tab_strip_controller.mm     [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/canvas/
WebGLRenderingContext.cpp 165 IntSize desiredSize = evictedContext->m_drawingBuffer->adjustSize(evictedContext->clampedCanvasSize());
168 if (!desiredSize.isEmpty()) {
    [all...]

Completed in 1245 milliseconds