/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListItemsExpandOnSelection.java | 41 protected View createView(int position, ViewGroup parent, int desiredHeight) { 42 TextView result = new ExpandWhenSelectedView(parent.getContext(), desiredHeight); 43 result.setHeight(desiredHeight); 65 public ExpandWhenSelectedView(Context context, int desiredHeight) { 67 mDesiredHeight = desiredHeight;
|
ListHeterogeneous.java | 40 protected View createView(int position, ViewGroup parent, int desiredHeight) { 44 position, parent.getContext(), getValueAtPosition(position), desiredHeight); 47 position, parent.getContext(), getValueAtPosition(position), desiredHeight); 50 position, parent.getContext(), getValueAtPosition(position), desiredHeight);
|
ListInterleaveFocusables.java | 43 protected View createView(int position, ViewGroup parent, int desiredHeight) { 46 position, parent.getContext(), getValueAtPosition(position), desiredHeight); 48 return super.createView(position, parent, desiredHeight);
|
ListItemFocusableAboveUnfocusable.java | 40 protected View createView(int position, ViewGroup parent, int desiredHeight) { 43 position, parent.getContext(), getValueAtPosition(position), desiredHeight); 45 return super.createView(position, parent, desiredHeight);
|
ListHorizontalFocusWithinItemWins.java | 52 int desiredHeight) { 56 context, desiredHeight, Slot.Left, Slot.Right); 59 context, desiredHeight, Slot.Middle);
|
ListButtonsDiagonalAcrossItems.java | 51 int desiredHeight) { 55 parent.getContext(), desiredHeight, slot);
|
ListItemFocusablesClose.java | 50 protected View createView(int position, ViewGroup parent, int desiredHeight) { 52 position, parent.getContext(), desiredHeight);
|
ListItemFocusablesFarApart.java | 40 protected View createView(int position, ViewGroup parent, int desiredHeight) { 42 position, parent.getContext(), desiredHeight);
|
ListSimple.java | 45 protected View createView(int position, ViewGroup parent, int desiredHeight) { 46 View view = super.createView(position, parent, desiredHeight);
|
AdjacentListsWithAdjacentISVsInside.java | 69 final int desiredHeight = (int) (0.8 * getWindowManager().getDefaultDisplay().getHeight()); 72 mLeftListView.setAdapter(new AdjacentISVAdapter(desiredHeight)); 77 mRightListView.setAdapter(new AdjacentISVAdapter(desiredHeight));
|
ListItemISVAndButton.java | 42 protected View createView(int position, ViewGroup parent, int desiredHeight) { 51 desiredHeight - 240));
|
ListOfTouchables.java | 41 protected View createView(int position, ViewGroup parent, int desiredHeight) {
|
/cts/tests/src/android/widget/cts/util/ |
ListItemFactory.java | 35 * The filler is sized to take up any space left over within desiredHeight. 39 * @param desiredHeight The desired height of the entire view. 42 public static View twoButtonsSeparatedByFiller(int position, Context context, int desiredHeight) { 43 if (desiredHeight < 90) { 65 desiredHeight - 100)); 87 * @param desiredHeight The height of the LL. 91 public static View horizontalButtonSlots(Context context, int desiredHeight, Slot... slots) { 97 = new LinearLayout.LayoutParams(0, desiredHeight); 151 * @param desiredHeight The desired height of the button 154 public static View button(int position, Context context, String text, int desiredHeight) { [all...] |
ListScenario.java | 500 int desiredHeight = (int) (mScreenHeight * mItemScreenSizeFactor); 502 desiredHeight = (int) (mScreenHeight * mOverrideItemScreenSizeFactors.get(position)); 504 return desiredHeight; 534 * @param desiredHeight The height the view should be to respect the desired item 538 protected View createView(int position, ViewGroup parent, int desiredHeight) { 540 desiredHeight); 643 int desiredHeight = getHeightForPosition(position); 644 result = createView(position, parent, desiredHeight);
|
ExpandableListScenario.java | 240 int desiredHeight = getHeightForPosition(flPos); 241 return createView(packedPosition, flPos, parent, desiredHeight); 250 * @param desiredHeight The desired height. 253 protected View createView(long packedPosition, int flPos, ViewGroup parent, int desiredHeight) { 255 result.setHeight(desiredHeight);
|
/frameworks/base/core/tests/coretests/src/android/util/ |
ListItemFactory.java | 35 * The filler is sized to take up any space left over within desiredHeight. 39 * @param desiredHeight The desired height of the entire view. 42 public static View twoButtonsSeparatedByFiller(int position, Context context, int desiredHeight) { 43 if (desiredHeight < 90) { 65 desiredHeight - 100)); 87 * @param desiredHeight The height of the LL. 91 public static View horizontalButtonSlots(Context context, int desiredHeight, Slot... slots) { 97 = new LinearLayout.LayoutParams(0, desiredHeight); 152 * @param desiredHeight The desired height of the button 155 public static View button(int position, Context context, String text, int desiredHeight) { [all...] |
InternalSelectionView.java | 91 public void setDesiredHeight(int desiredHeight) { 92 mDesiredHeight = desiredHeight; 125 int desiredHeight = mDesiredHeight != null ? 132 return desiredHeight < specSize ? desiredHeight : specSize; 134 return desiredHeight;
|
GridScenario.java | 324 * @param desiredHeight The height the view should be to respect the desired item 328 protected View createView(int position, ViewGroup parent, int desiredHeight) { 330 result.setHeight(desiredHeight); 363 int desiredHeight = getDesiredItemHeight(); 365 desiredHeight = (int) (mScreenHeight * mOverrideItemScreenSizeFactors.get(position)); 367 return createView(position, parent, desiredHeight);
|
ListScenario.java | 501 int desiredHeight = (int) (mScreenHeight * mItemScreenSizeFactor); 503 desiredHeight = (int) (mScreenHeight * mOverrideItemScreenSizeFactors.get(position)); 505 return desiredHeight; 536 * @param desiredHeight The height the view should be to respect the desired item 540 protected View createView(int position, ViewGroup parent, int desiredHeight) { 542 desiredHeight); 645 int desiredHeight = getHeightForPosition(position); 646 result = createView(position, parent, desiredHeight);
|
ExpandableListScenario.java | 240 int desiredHeight = getHeightForPosition(flPos); 241 return createView(packedPosition, flPos, parent, desiredHeight); 250 * @param desiredHeight The desired height. 253 protected View createView(long packedPosition, int flPos, ViewGroup parent, int desiredHeight) { 255 result.setHeight(desiredHeight);
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
GridSimple.java | 49 protected View createView(int position, ViewGroup parent, int desiredHeight) { 50 View view = super.createView(position, parent, desiredHeight);
|
GridDelete.java | 104 int desiredHeight = getDesiredItemHeight(); 105 return createView(mData.get(position), parent, desiredHeight);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
InternalSelectionView.java | 89 public void setDesiredHeight(int desiredHeight) { 90 mDesiredHeight = desiredHeight; 123 int desiredHeight = mDesiredHeight != null ? 130 return desiredHeight < specSize ? desiredHeight : specSize; 132 return desiredHeight;
|
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
CandidateView.java | 144 final int desiredHeight = ((int)mPaint.getTextSize()) + mVerticalPadding 149 resolveSize(desiredHeight, heightMeasureSpec));
|
/external/webkit/WebCore/rendering/ |
RenderTextControlSingleLine.cpp | 219 int desiredHeight = textBlockHeight(); 223 if (desiredHeight != currentHeight) 225 innerTextRenderer->style()->setHeight(Length(desiredHeight, Fixed)); 227 innerBlockRenderer->style()->setHeight(Length(desiredHeight, Fixed));
|