/cts/tests/tests/graphics/src/android/graphics/cts/ |
PathMeasureTest.java | 126 PathMeasure measure = new PathMeasure(circle, false); local 127 assertTrue(measure.isClosed()); 128 measure.setPath(circle, true); 129 assertTrue(measure.isClosed()); 134 measure.setPath(line, false); 135 assertFalse(measure.isClosed()); 136 measure.setPath(line, true); 137 assertTrue(measure.isClosed());
|
/frameworks/base/core/java/com/android/internal/widget/ |
WeightedLinearLayout.java | 67 boolean measure = false; 78 measure = true; 81 measure = true; 87 if (measure) {
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
ListViewTest.java | 51 listView.measure(measureSpec, measureSpec); 58 listView.measure(measureSpec, measureSpec); 83 listView.measure(measureSpec, measureSpec); 89 listView.measure(measureSpec, measureSpec);
|
TextViewPerformanceTest.java | 50 mLabelView.measure(View.MeasureSpec.AT_MOST | 320, View.MeasureSpec.AT_MOST | 240); 61 mTextView.measure(View.MeasureSpec.AT_MOST | 320, View.MeasureSpec.AT_MOST | 240);
|
/frameworks/support/v4/java/android/support/v4/view/ |
PagerTitleStrip.java | 159 // Measure everything 165 mPrevText.measure(childWidthSpec, childHeightSpec); 166 mCurrText.measure(childWidthSpec, childHeightSpec); 167 mNextText.measure(childWidthSpec, childHeightSpec); 254 throw new IllegalStateException("Must measure with an exact width"); 271 mPrevText.measure(childWidthSpec, childHeightSpec); 272 mCurrText.measure(childWidthSpec, childHeightSpec); 273 mNextText.measure(childWidthSpec, childHeightSpec);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
Icon.java | 43 .measure(widthSpec, heightSpec);
|
MeasureHelper.java | 45 public void measure(int widthSpec, int heightSpec) { method in class:MeasureHelper
|
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/ |
GLViewMock.java | 73 // call children's measure. 76 item.measure(widthSpec, heightSpec);
|
GLViewTest.java | 282 a.measure(100, 200); 293 a.measure(100, 200); 299 a.measure(100, 200); 324 item.measure(0, 0);
|
/packages/apps/Browser/src/com/android/browser/ |
BookmarkItem.java | 171 child.measure(childWidthMeasureSpec, childHeightMeasureSpec); 193 child.measure(childWidthMeasureSpec, childHeightMeasureSpec);
|
/packages/apps/Camera/src/com/android/camera/ui/ |
IndicatorControlWheelContainer.java | 118 // Measure all children. 120 mShutterButton.measure(freeSpec, freeSpec); 121 mIndicatorControlWheel.measure(freeSpec, freeSpec); 123 // Measure myself. Add some buffer for highlight arc.
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
ContactDetailFragmentCarousel.java | 128 child.measure(MeasureSpec.makeMeasureSpec( 134 child.measure(MeasureSpec.makeMeasureSpec(screenWidth, MeasureSpec.EXACTLY),
|
/cts/tests/tests/holo/src/android/holo/cts/ |
ReferenceViewGroup.java | 59 child.measure(width, height);
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
FixedGridLayout.java | 65 child.measure(cellWidthSpec, cellHeightSpec);
|
/development/samples/ApiDemos/tests/src/com/example/android/apis/view/ |
Focus2AndroidTest.java | 76 // manually measure it, and lay it out 77 mRoot.measure(500, 500);
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
StorageVolumePreferenceCategory.java | 346 private void measure() { method in class:StorageVolumePreferenceCategory 348 mMeasurement.measure(); 353 measure(); method 357 measure(); method 361 measure(); method
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
ContactListItemView.java | 351 // Go over all visible text views and measure actual width of each of them. 355 mNameTextView.measure( 362 mPhoneticNameTextView.measure( 393 mDataView.measure(MeasureSpec.makeMeasureSpec(dataWidth, MeasureSpec.EXACTLY), 403 mLabelView.measure(MeasureSpec.makeMeasureSpec(labelWidth, mode), 410 mSnippetView.measure( 418 mPresenceIcon.measure(mPresenceIconSize, mPresenceIconSize); 431 mStatusView.measure(MeasureSpec.makeMeasureSpec(statusWidth, MeasureSpec.EXACTLY), 443 mCallButton.measure(MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED), 460 mHeaderTextView.measure( [all...] |
ContactListPinnedHeaderView.java | 102 mHeaderTextView.measure( 106 mCountTextView.measure(
|
/development/samples/FixedGridLayout/src/com/example/android/fixedgridlayout/ |
FixedGridLayout.java | 78 child.measure(cellWidthSpec, cellHeightSpec);
|
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/ |
FitCenterFrameLayout.java | 48 getChildAt(i).measure(childWidthSpec, childHeightSpec);
|
/frameworks/base/tools/preload/ |
MemoryUsage.java | 213 MemoryUsage measured = measure(); 221 private MemoryUsage measure() { method in class:MemoryUsage.MeasureWithTimeout
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
ComposingView.java | 158 measure(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); method 178 measure(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); method
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
ActionMenuView.java | 262 // If this is one of our views, expand and measure at the larger size. 302 child.measure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY), heightSpec); 315 * Measure a child view to fit within cell-based formatting. The child's width 320 * @param child Child to measure 340 child.measure(childWidthSpec, childHeightSpec); 354 child.measure(MeasureSpec.makeMeasureSpec(targetWidth, MeasureSpec.EXACTLY),
|
/frameworks/base/core/java/android/widget/ |
SlidingDrawer.java | 269 mContent.measure(MeasureSpec.makeMeasureSpec(widthSpecSize, MeasureSpec.EXACTLY), 273 mContent.measure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY), 638 content.measure(MeasureSpec.makeMeasureSpec(mRight - mLeft, MeasureSpec.EXACTLY), 645 content.measure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY), [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
RenderDrawable.java | 84 // measure 89 content.measure(w_spec, h_spec);
|