OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:referenceView
(Results
1 - 2
of
2
) sorted by null
/packages/apps/Camera2/src/com/android/camera/widget/
SettingsCling.java
56
* @param
referenceView
a view that cling uses as a position reference
58
public void updatePosition(View
referenceView
) {
59
if (
referenceView
== null) {
63
float referenceRight =
referenceView
.getX() +
referenceView
.getMeasuredWidth();
66
float referenceTop =
referenceView
.getY();
69
setTranslationY(referenceTop +
referenceView
.getMeasuredHeight());
70
float triangleStartX = getMeasuredWidth() -
referenceView
.getMeasuredWidth() / 2;
82
float triangleStartX = getMeasuredWidth() -
referenceView
.getMeasuredWidth() / 2;
/frameworks/base/core/java/android/widget/
GridView.java
473
final View
referenceView
= mReferenceView;
476
fillDown(rowStart + numColumns,
referenceView
.getBottom() + verticalSpacing);
478
fillUp(rowStart - numColumns,
referenceView
.getTop() - verticalSpacing);
483
final int offset = bottomSelectionPixel -
referenceView
.getBottom();
485
fillUp(rowStart - 1,
referenceView
.getTop() - verticalSpacing);
487
fillDown(rowEnd + numColumns,
referenceView
.getBottom() + verticalSpacing);
568
final View
referenceView
= mReferenceView;
570
if (
referenceView
== null) {
580
above = fillUp(motionRowStart - numColumns,
referenceView
.getTop() - verticalSpacing);
582
below = fillDown(motionRowStart + numColumns,
referenceView
.getBottom() + verticalSpacing)
[
all
...]
Completed in 234 milliseconds